diff --git a/lldb/unittests/Disassembler/ARM/TestArm64Disassembly.cpp b/lldb/unittests/Disassembler/ARM/TestArm64Disassembly.cpp --- a/lldb/unittests/Disassembler/ARM/TestArm64Disassembly.cpp +++ b/lldb/unittests/Disassembler/ARM/TestArm64Disassembly.cpp @@ -20,6 +20,7 @@ using namespace lldb; using namespace lldb_private; +namespace { class TestArm64Disassembly : public testing::Test { public: static void SetUpTestCase(); @@ -42,6 +43,7 @@ void TestArm64Disassembly::TearDownTestCase() { DisassemblerLLVMC::Terminate(); } +} // namespace TEST_F(TestArm64Disassembly, TestArmv81Instruction) { ArchSpec arch("arm64-apple-ios"); diff --git a/lldb/unittests/Disassembler/ARM/TestArmv7Disassembly.cpp b/lldb/unittests/Disassembler/ARM/TestArmv7Disassembly.cpp --- a/lldb/unittests/Disassembler/ARM/TestArmv7Disassembly.cpp +++ b/lldb/unittests/Disassembler/ARM/TestArmv7Disassembly.cpp @@ -20,6 +20,7 @@ using namespace lldb; using namespace lldb_private; +namespace { class TestArmv7Disassembly : public testing::Test { public: static void SetUpTestCase(); @@ -42,6 +43,7 @@ void TestArmv7Disassembly::TearDownTestCase() { DisassemblerLLVMC::Terminate(); } +} // namespace TEST_F(TestArmv7Disassembly, TestCortexFPDisass) { ArchSpec arch("armv7em--"); diff --git a/lldb/unittests/Disassembler/RISCV/TestMCDisasmInstanceRISCV.cpp b/lldb/unittests/Disassembler/RISCV/TestMCDisasmInstanceRISCV.cpp --- a/lldb/unittests/Disassembler/RISCV/TestMCDisasmInstanceRISCV.cpp +++ b/lldb/unittests/Disassembler/RISCV/TestMCDisasmInstanceRISCV.cpp @@ -20,6 +20,7 @@ using namespace lldb; using namespace lldb_private; +namespace { class TestMCDisasmInstanceRISCV : public testing::Test { public: static void SetUpTestCase(); @@ -39,6 +40,7 @@ void TestMCDisasmInstanceRISCV::TearDownTestCase() { DisassemblerLLVMC::Terminate(); } +} // namespace TEST_F(TestMCDisasmInstanceRISCV, TestRISCV32Instruction) { ArchSpec arch("riscv32-*-linux"); diff --git a/lldb/unittests/Disassembler/x86/TestGetControlFlowKindx86.cpp b/lldb/unittests/Disassembler/x86/TestGetControlFlowKindx86.cpp --- a/lldb/unittests/Disassembler/x86/TestGetControlFlowKindx86.cpp +++ b/lldb/unittests/Disassembler/x86/TestGetControlFlowKindx86.cpp @@ -20,6 +20,7 @@ using namespace lldb; using namespace lldb_private; +namespace { class TestGetControlFlowKindx86 : public testing::Test { public: static void SetUpTestCase(); @@ -39,6 +40,7 @@ void TestGetControlFlowKindx86::TearDownTestCase() { DisassemblerLLVMC::Terminate(); } +} // namespace TEST_F(TestGetControlFlowKindx86, TestX86_64Instruction) { ArchSpec arch("x86_64-*-linux");