diff --git a/tools/isledecomp/tests/samples/basic_class.cpp b/tools/isledecomp/tests/samples/basic_class.cpp index 98c10d29..8b206dec 100644 --- a/tools/isledecomp/tests/samples/basic_class.cpp +++ b/tools/isledecomp/tests/samples/basic_class.cpp @@ -5,25 +5,25 @@ class TestClass { public: - TestClass(); - virtual ~TestClass() override; + TestClass(); + virtual ~TestClass() override; - virtual MxResult Tickle() override; // vtable+08 + virtual MxResult Tickle() override; // vtable+08 - // FUNCTION: TEST 0x12345678 - inline const char* ClassName() const // vtable+0c - { - // 0xabcd1234 - return "TestClass"; - } + // FUNCTION: TEST 0x12345678 + inline const char* ClassName() const // vtable+0c + { + // 0xabcd1234 + return "TestClass"; + } - // FUNCTION: TEST 0xdeadbeef - inline MxBool IsA(const char* name) const override // vtable+10 - { - return !strcmp(name, TestClass::ClassName()); - } + // FUNCTION: TEST 0xdeadbeef + inline MxBool IsA(const char* name) const override // vtable+10 + { + return !strcmp(name, TestClass::ClassName()); + } private: - int m_hello; - int m_hiThere; + int m_hello; + int m_hiThere; }; diff --git a/tools/isledecomp/tests/samples/basic_file.cpp b/tools/isledecomp/tests/samples/basic_file.cpp index d9c34891..99930de8 100644 --- a/tools/isledecomp/tests/samples/basic_file.cpp +++ b/tools/isledecomp/tests/samples/basic_file.cpp @@ -6,17 +6,17 @@ // FUNCTION: TEST 0x1234 void function01() { - // TODO + // TODO } // FUNCTION: TEST 0x2345 void function02() { - // TODO + // TODO } // FUNCTION: TEST 0x3456 void function03() { - // TODO + // TODO } diff --git a/tools/isledecomp/tests/samples/missing_offset.cpp b/tools/isledecomp/tests/samples/missing_offset.cpp index cb1fb8a4..3f6b3811 100644 --- a/tools/isledecomp/tests/samples/missing_offset.cpp +++ b/tools/isledecomp/tests/samples/missing_offset.cpp @@ -5,12 +5,12 @@ int no_offset_comment() { - static int dummy = 123; - return -1; + static int dummy = 123; + return -1; } // FUNCTION: TEST 0xdeadbeef void regular_ole_function() { - printf("hi there"); + printf("hi there"); } diff --git a/tools/isledecomp/tests/samples/multiple_offsets.cpp b/tools/isledecomp/tests/samples/multiple_offsets.cpp index 09fb3b84..dc3c5bfa 100644 --- a/tools/isledecomp/tests/samples/multiple_offsets.cpp +++ b/tools/isledecomp/tests/samples/multiple_offsets.cpp @@ -7,19 +7,19 @@ // FUNCTION: HELLO 0x5555 void different_modules() { - // TODO + // TODO } // FUNCTION: TEST 0x2345 // FUNCTION: TEST 0x1234 void same_module() { - // TODO + // TODO } // FUNCTION: TEST 0x2002 // FUNCTION: test 0x1001 void same_case_insensitive() { - // TODO + // TODO } diff --git a/tools/isledecomp/tests/samples/oneline_function.cpp b/tools/isledecomp/tests/samples/oneline_function.cpp index 107db3e2..feb82314 100644 --- a/tools/isledecomp/tests/samples/oneline_function.cpp +++ b/tools/isledecomp/tests/samples/oneline_function.cpp @@ -7,6 +7,6 @@ void short_function() { static char* msg = "oneliner"; } // FUNCTION: TEST 0x5555 void function_after_one_liner() { - // This function comes after the previous that is on a single line. - // Do we report the offset for this one correctly? + // This function comes after the previous that is on a single line. + // Do we report the offset for this one correctly? } diff --git a/tools/isledecomp/tests/samples/out_of_order.cpp b/tools/isledecomp/tests/samples/out_of_order.cpp index fba703e0..951c99e7 100644 --- a/tools/isledecomp/tests/samples/out_of_order.cpp +++ b/tools/isledecomp/tests/samples/out_of_order.cpp @@ -4,17 +4,17 @@ // FUNCTION: TEST 0x1001 void function_order01() { - // TODO + // TODO } // FUNCTION: TEST 0x1003 void function_order03() { - // TODO + // TODO } // FUNCTION: TEST 0x1002 void function_order02() { - // TODO + // TODO } diff --git a/tools/isledecomp/tests/samples/poorly_formatted.cpp b/tools/isledecomp/tests/samples/poorly_formatted.cpp index f5ff2915..69f365ec 100644 --- a/tools/isledecomp/tests/samples/poorly_formatted.cpp +++ b/tools/isledecomp/tests/samples/poorly_formatted.cpp @@ -6,20 +6,18 @@ // FUNCTION: TEST 0x1234 void curly_with_spaces() -{ - static char* msg = "hello"; -} + { + static char* msg = "hello"; + } // FUNCTION: TEST 0x5555 void weird_closing_curly() { - int x = 123; -} + int x = 123; } // FUNCTION: HELLO 0x5656 -void bad_indenting() +void bad_indenting() { + if (0) { - if (0) { - int y = 5; - } -} + int y = 5; +}}