forked from qt-creator/qt-creator
Move the ModelManagerInterface out of the CPlusPlus library.
Change-Id: Iffaa18f848a22f6961b49dff048672b194570df6 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <cplusplus/ModelManagerInterface.h>
|
||||
#include <cpptools/ModelManagerInterface.h>
|
||||
#include <qmljs/qmljsmodelmanagerinterface.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
#include <projectexplorer/headerpath.h>
|
||||
@@ -542,7 +542,7 @@ void Qt4Project::updateCppCodeModel()
|
||||
part->language = CPlusPlus::CppModelManagerInterface::CXX;
|
||||
// part->flags
|
||||
if (tc)
|
||||
part->flags = tc->compilerFlags(pro->variableValue(CppFlagsVar));
|
||||
part->cxx11Enabled = tc->compilerFlags(pro->variableValue(CppFlagsVar)) == ToolChain::STD_CXX11;
|
||||
|
||||
part->sourceFiles = pro->variableValue(CppSourceVar);
|
||||
pinfo.appendProjectPart(part);
|
||||
|
Reference in New Issue
Block a user