diff options
author | 2020-01-31 02:01:48 +0100 | |
---|---|---|
committer | 2020-01-30 20:01:48 -0500 | |
commit | 059243f68ec0c2e327a3105a9480f50e5e0b4abf (patch) | |
tree | cbf132320ebc93ae4c58d60fd3a5ed834c2e8862 /src/devices/cpu/uml.cpp | |
parent | 06ecc1ca0d96a7d9cc66aab6a5aa8b8f0265fa09 (diff) |
fixed some clang-tidy warnings (nw) (#6236)
* fixed some modernize-redundant-void-arg clang-tidy warnings (nw)
* fixed some modernize-use-bool-literals clang-tidy warnings (nw)
* fixed some modernize-use-emplace clang-tidy warnings (nw)
* fixed some performance-move-const-arg clang-tidy warnings (nw)
* fixed some readability-redundant-control-flow clang-tidy warnings (nw)
* fixed some readability-redundant-string-cstr clang-tidy warnings (nw)
* fixed some performance-unnecessary-value-param clang-tidy warnings (nw)
Diffstat (limited to 'src/devices/cpu/uml.cpp')
-rw-r--r-- | src/devices/cpu/uml.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/uml.cpp b/src/devices/cpu/uml.cpp index df52f5f1235..5c38c40b6dc 100644 --- a/src/devices/cpu/uml.cpp +++ b/src/devices/cpu/uml.cpp @@ -307,7 +307,7 @@ void uml::instruction::configure(opcode_t op, u8 size, condition_t condition) // parameter //------------------------------------------------- -void uml::instruction::configure(opcode_t op, u8 size, parameter p0, condition_t condition) +void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, condition_t condition) { // fill in the instruction m_opcode = opcode_t(u8(op)); @@ -327,7 +327,7 @@ void uml::instruction::configure(opcode_t op, u8 size, parameter p0, condition_t // parameters //------------------------------------------------- -void uml::instruction::configure(opcode_t op, u8 size, parameter p0, parameter p1, condition_t condition) +void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, condition_t condition) { // fill in the instruction m_opcode = opcode_t(u8(op)); @@ -348,7 +348,7 @@ void uml::instruction::configure(opcode_t op, u8 size, parameter p0, parameter p // parameters //------------------------------------------------- -void uml::instruction::configure(opcode_t op, u8 size, parameter p0, parameter p1, parameter p2, condition_t condition) +void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, const parameter &p2, condition_t condition) { // fill in the instruction m_opcode = opcode_t(u8(op)); @@ -370,7 +370,7 @@ void uml::instruction::configure(opcode_t op, u8 size, parameter p0, parameter p // parameters //------------------------------------------------- -void uml::instruction::configure(opcode_t op, u8 size, parameter p0, parameter p1, parameter p2, parameter p3, condition_t condition) +void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, const parameter &p2, const parameter &p3, condition_t condition) { // fill in the instruction m_opcode = opcode_t(u8(op)); |