forked from qt-creator/qt-creator
Clang: Support second translation unit
A TranslationUnit is owned by TranslationUnits now. TranslationUnits allows to add another TranslationUnit and to update/query the recently and previously parsed translation unit. This does not change any behavior yet. Change-Id: I8a2f0cc05d3e51bf739dd5d7c4da14b54147f3ab Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -29,6 +29,7 @@ HEADERS += $$PWD/clangcodemodelserver.h \
|
||||
$$PWD/highlightingmarksiterator.h \
|
||||
$$PWD/utf8positionfromlinecolumn.h \
|
||||
$$PWD/clangasyncjob.h \
|
||||
$$PWD/clangbackend_global.h \
|
||||
$$PWD/clangcompletecodejob.h \
|
||||
$$PWD/clangcreateinitialdocumentpreamblejob.h \
|
||||
$$PWD/clangfilepath.h \
|
||||
@@ -44,6 +45,7 @@ HEADERS += $$PWD/clangcodemodelserver.h \
|
||||
$$PWD/clangexceptions.h \
|
||||
$$PWD/clangdocumentprocessor.h \
|
||||
$$PWD/clangdocumentprocessors.h \
|
||||
$$PWD/clangtranslationunits.h
|
||||
|
||||
SOURCES += $$PWD/clangcodemodelserver.cpp \
|
||||
$$PWD/codecompleter.cpp \
|
||||
@@ -85,3 +87,4 @@ SOURCES += $$PWD/clangcodemodelserver.cpp \
|
||||
$$PWD/clangexceptions.cpp \
|
||||
$$PWD/clangdocumentprocessor.cpp \
|
||||
$$PWD/clangdocumentprocessors.cpp \
|
||||
$$PWD/clangtranslationunits.cpp
|
||||
|
||||
Reference in New Issue
Block a user