Clang: Filter duplicates in clang query output

Because we can visit headers many times, we get results many times too.

Change-Id: I3bbe7d7a5d01c2580a4569bfe115f14a69edc8a7
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tim Jenssen
2017-07-03 11:53:47 +02:00
parent 07c3a37054
commit 23cae9a9e0
17 changed files with 347 additions and 23 deletions

View File

@@ -1,7 +1,8 @@
INCLUDEPATH += $$PWD
HEADERS += \
$$PWD/clangrefactoringbackend_global.h
$$PWD/clangrefactoringbackend_global.h \
$$PWD/sourcerangefilter.h
!isEmpty(LIBTOOLING_LIBS) {
SOURCES += \
@@ -33,3 +34,6 @@ HEADERS += \
$$PWD/locationsourcefilecallbacks.h \
$$PWD/clangquerygatherer.h
}
SOURCES += \
$$PWD/sourcerangefilter.cpp