clang: make linter happy
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -34,7 +34,7 @@ class CpuFixture {
|
||||
};
|
||||
};
|
||||
|
||||
static constexpr auto TAG = "[arm][execution]";
|
||||
#define TAG "[arm][execution]"
|
||||
|
||||
using namespace arm;
|
||||
|
||||
@@ -1073,3 +1073,5 @@ TEST_CASE_METHOD(CpuFixture, "Data Processing", TAG) {
|
||||
CHECK(cpu.spsr.raw() == cpu.cpsr.raw());
|
||||
}
|
||||
}
|
||||
|
||||
#undef TAG
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#include "cpu/arm/instruction.hh"
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
static constexpr auto TAG = "[arm][disassembly]";
|
||||
#define TAG "[arm][disassembly]"
|
||||
|
||||
using namespace matar;
|
||||
using namespace arm;
|
||||
@@ -505,3 +505,5 @@ TEST_CASE("Software Interrupt", TAG) {
|
||||
CHECK(instruction.disassemble() == "SWIEQ");
|
||||
#endif
|
||||
}
|
||||
|
||||
#undef TAG
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#include "cpu/thumb/instruction.hh"
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
static constexpr auto TAG = "[thumb][disassembly]";
|
||||
#define TAG "[thumb][disassembly]"
|
||||
|
||||
using namespace matar;
|
||||
using namespace thumb;
|
||||
@@ -437,3 +437,5 @@ TEST_CASE("Long Branch with link") {
|
||||
CHECK(instruction.disassemble() == "BLH 2520");
|
||||
#endif
|
||||
}
|
||||
|
||||
#undef TAG
|
||||
|
Reference in New Issue
Block a user