Clang: Add UpdateTranslationUnitsForEditorMessage

If an editor is changing all translation units independent of their project
part they must be updated too. So we introduce a new message to update all
translation units with the same file path.

Change-Id: I70d0ea2bbca9fa880111ff7219573e54f3277026
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-10-13 15:56:41 +02:00
parent b1dced66d7
commit 250c8d662b
37 changed files with 673 additions and 106 deletions

View File

@@ -23,7 +23,8 @@ HEADERS += $$PWD/clangipcserver.h \
$$PWD/sourcerange.h \
$$PWD/fixit.h \
$$PWD/diagnosticsetiterator.h \
$$PWD/clangfilesystemwatcher.h
$$PWD/clangfilesystemwatcher.h \
$$PWD/translationunitalreadyexistsexception.h
SOURCES += $$PWD/clangipcserver.cpp \
$$PWD/codecompleter.cpp \
@@ -47,4 +48,5 @@ SOURCES += $$PWD/clangipcserver.cpp \
$$PWD/sourcelocation.cpp \
$$PWD/sourcerange.cpp \
$$PWD/fixit.cpp \
$$PWD/clangfilesystemwatcher.cpp
$$PWD/clangfilesystemwatcher.cpp \
$$PWD/translationunitalreadyexistsexception.cpp