T O P I C R E V I E W |
tiancovici |
Posted - Jul 04 2020 : 10:54:11 AM VA Outline breaks on function macros with more than one macro
Issue occurs on Build 2382, not on Build 2375

MACRO is from CppUTest Framework https://cpputest.github.io/

#define TEST(testGroup, testName) /* External declarations for strict compilers */ class TEST_##testGroup##_##testName##_TestShell; extern TEST_##testGroup##_##testName##_TestShell TEST_##testGroup##_##testName##_TestShell_instance; class TEST_##testGroup##_##testName##_Test : public TEST_GROUP_##CppUTestGroup##testGroup { public: TEST_##testGroup##_##testName##_Test () : TEST_GROUP_##CppUTestGroup##testGroup () {} void testBody(); }; class TEST_##testGroup##_##testName##_TestShell : public UtestShell { virtual Utest* createTest() _override { return new TEST_##testGroup##_##testName##_Test; } } TEST_##testGroup##_##testName##_TestShell_instance; static TestInstaller TEST_##testGroup##_##testName##_Installer(TEST_##testGroup##_##testName##_TestShell_instance, #testGroup, #testName, __FILE__,__LINE__); void TEST_##testGroup##_##testName##_Test::testBody() |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jul 04 2020 : 11:16:12 AM The macro on its own does not trigger any problems here.
Can you post, or email me some test code, I assume code using the macro, that triggers this problem?
If email is better please send me the files via email:
[email protected]
including this thread ID or URL in the description, so we can match it up. |
|
|