forked from qt-creator/qt-creator
Clang: Provide the language option to the backend
Provide the language option (e.g. "-x c++-header") when registering a translation unit for the editor. Task-number: QTCREATORBUG-14787 Change-Id: Ie06f9fdab302f1b21ba72cdb65b6aabf9f7bc04c Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
@@ -24,7 +24,8 @@ HEADERS += $$PWD/clangipcserver.h \
|
||||
$$PWD/fixit.h \
|
||||
$$PWD/diagnosticsetiterator.h \
|
||||
$$PWD/clangfilesystemwatcher.h \
|
||||
$$PWD/translationunitalreadyexistsexception.h
|
||||
$$PWD/translationunitalreadyexistsexception.h \
|
||||
$$PWD/commandlinearguments.h
|
||||
|
||||
SOURCES += $$PWD/clangipcserver.cpp \
|
||||
$$PWD/codecompleter.cpp \
|
||||
@@ -49,4 +50,5 @@ SOURCES += $$PWD/clangipcserver.cpp \
|
||||
$$PWD/sourcerange.cpp \
|
||||
$$PWD/fixit.cpp \
|
||||
$$PWD/clangfilesystemwatcher.cpp \
|
||||
$$PWD/translationunitalreadyexistsexception.cpp
|
||||
$$PWD/translationunitalreadyexistsexception.cpp \
|
||||
$$PWD/commandlinearguments.cpp
|
||||
|
||||
Reference in New Issue
Block a user