-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
Qt Creator 2.8.0, Qt Creator 3.0.0-rc1, Qt Creator 3.0.1
-
None
Autocompletion doesn't work with fixture pattern on google test.
Minimal example:
#define EXPLICIT_RUN \
void Foo::Run1()
#define BASE_RUN(parent) \
void parent::Run2()
#define DERIVED_RUN(parent) \
class Derived : public parent { \
public: \
void Run(); \
}; \
void Derived::Run()
class Foo
{
public:
void Run1();
void Run2();
int bar;
};
EXPLICIT_RUN {
bar; // brown
}
BASE_RUN(Foo) {
bar; // black
}
DERIVED_RUN(Foo) {
bar; // black
}
Gtest example:
#include <gtest/gtest.h> class FooTest : public ::testing::Test { protected: int foo; }; TEST_F(FooTest, First) { foo; // black }
- is replaced by
-
QTCREATORBUG-7255 Macros messing up highlighting
-
- Closed
-