forked from qt-creator/qt-creator
Clang: Reparse only if files are changed
Includes are now watched by a file watcher. Unsaved file changes are watched too. If they are changed the translation units which depend on them are set to a state which require a reparse. Later the diagnostics of this units are collected and send back to creator. Change-Id: I2fb5c7dd6644687f22399edd8d18edd6215c9505 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -22,7 +22,8 @@ HEADERS += $$PWD/clangipcserver.h \
|
||||
$$PWD/sourcelocation.h \
|
||||
$$PWD/sourcerange.h \
|
||||
$$PWD/fixit.h \
|
||||
$$PWD/diagnosticsetiterator.h
|
||||
$$PWD/diagnosticsetiterator.h \
|
||||
$$PWD/clangfilesystemwatcher.h
|
||||
|
||||
SOURCES += $$PWD/clangipcserver.cpp \
|
||||
$$PWD/codecompleter.cpp \
|
||||
@@ -45,4 +46,5 @@ SOURCES += $$PWD/clangipcserver.cpp \
|
||||
$$PWD/diagnostic.cpp \
|
||||
$$PWD/sourcelocation.cpp \
|
||||
$$PWD/sourcerange.cpp \
|
||||
$$PWD/fixit.cpp
|
||||
$$PWD/fixit.cpp \
|
||||
$$PWD/clangfilesystemwatcher.cpp
|
||||
|
||||
Reference in New Issue
Block a user