Merge remote-tracking branch 'origin/2.6'

Conflicts:
	qtcreator.qbp
	src/libs/QtcLibrary.qbs
	src/plugins/QtcPlugin.qbs
	src/tools/QtcTool.qbs

Change-Id: I3acea26888febe8f96d2131932266ed88b9f55f5
This commit is contained in:
Eike Ziller
2012-09-19 18:02:46 +02:00
104 changed files with 2560 additions and 2030 deletions

View File

@@ -10,10 +10,10 @@ QtcLibrary {
"../3rdparty/cplusplus",
"../../plugins"
]
cpp.defines: [
cpp.defines: base.concat([
"NDEBUG",
"CPLUSPLUS_BUILD_LIB"
]
])
cpp.optimization: "fast"
Depends { name: "cpp" }

View File

@@ -1297,6 +1297,8 @@ void Preprocessor::preprocess(const QString &fileName, const QByteArray &source,
removeTrailingOutputLines();
delete m_state.m_lexer;
while (m_state.m_tokenBuffer)
m_state.popTokenBuffer();
m_state = savedState;
m_env->currentFile = previousFileName;