From b4a121a90ab045798f0462236c51d60f7d67d02f Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Fri, 16 Aug 2013 12:09:50 +0200 Subject: 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 --- tests/cpplocators/testdata_basic/file1.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/cpplocators') diff --git a/tests/cpplocators/testdata_basic/file1.cpp b/tests/cpplocators/testdata_basic/file1.cpp index 75c772cfb21..6db50704e4c 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) {} -- cgit v1.2.3