forked from qt-creator/qt-creator
Clang: Prepare for multi-threading
* Make the necessary data implicitly shared since it might get accessed/modified from two different threads with follow-up changes. This applies for UnsavedFiles/UnsavedFile and ProjectPart::arguments(). * Avoid returning references. Change-Id: I98842c1cb90ae0d344a15c63b72cbc89568722d3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -35,7 +35,8 @@ HEADERS += $$PWD/clangcodemodelserver.h \
|
||||
$$PWD/highlightingmarks.h \
|
||||
$$PWD/highlightingmarksiterator.h \
|
||||
$$PWD/utf8positionfromlinecolumn.h \
|
||||
$$PWD/clangfilepath.h
|
||||
$$PWD/clangfilepath.h \
|
||||
$$PWD/clangunsavedfilesshallowarguments.h
|
||||
|
||||
SOURCES += $$PWD/clangcodemodelserver.cpp \
|
||||
$$PWD/codecompleter.cpp \
|
||||
@@ -70,4 +71,5 @@ SOURCES += $$PWD/clangcodemodelserver.cpp \
|
||||
$$PWD/highlightingmark.cpp \
|
||||
$$PWD/highlightingmarks.cpp \
|
||||
$$PWD/utf8positionfromlinecolumn.cpp \
|
||||
$$PWD/clangfilepath.cpp
|
||||
$$PWD/clangfilepath.cpp \
|
||||
$$PWD/clangunsavedfilesshallowarguments.cpp
|
||||
|
||||
Reference in New Issue
Block a user