diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-08-16 12:09:50 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-08-30 14:39:08 +0200 |
commit | b4a121a90ab045798f0462236c51d60f7d67d02f (patch) | |
tree | 563244436c4a8858afb0d689824b924bb89243af /tests/cpplocators | |
parent | 86f9a2b7e6b4b5399cf0c7951ef19fb3d75f6c2b (diff) |
CppTools: Ignore generated symbols in SearchSymbols
...e.g. qt_metacall() etc from the Q_OBJECT macro.
This affects the results of the cpp locator and find filters.
Change-Id: I2f9ff1210f3705baddadd486d700ee8be9a44a20
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'tests/cpplocators')
-rw-r--r-- | tests/cpplocators/testdata_basic/file1.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cpplocators/testdata_basic/file1.cpp b/tests/cpplocators/testdata_basic/file1.cpp index 75c772cfb2..6db50704e4 100644 --- a/tests/cpplocators/testdata_basic/file1.cpp +++ b/tests/cpplocators/testdata_basic/file1.cpp @@ -1,9 +1,13 @@ // Copyright header +#define GENERATE_FUNC void myFunctionGenerated() {} + // // Symbols in a global namespace // +GENERATE_FUNC + int myVariable; int myFunction(bool yesno, int number) {} |