From ec97d967e63e4c66e0147625b09a658a3f99896c Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Fri, 16 May 2014 15:51:04 -0400 Subject: CppTools: Rename CppPreprocessor to CppSourceProcessor ...since it does quite a bit more than only preprocessing, as the name suggests. We use that class to process source files in general. The output is not a preprocessed source, but a set of CPlusPlus::Documents with symbols. Change-Id: I787d0f22f9f042ddf0c99e8c2f0bdb9aa7001735 Reviewed-by: Erik Verbruggen --- src/plugins/cpptools/cppmodelmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/cpptools/cppmodelmanager.cpp') diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp index 00db18a579..0e0bb19419 100644 --- a/src/plugins/cpptools/cppmodelmanager.cpp +++ b/src/plugins/cpptools/cppmodelmanager.cpp @@ -37,7 +37,7 @@ #include "cpphighlightingsupport.h" #include "cppindexingsupport.h" #include "cppmodelmanagersupportinternal.h" -#include "cpppreprocessor.h" +#include "cppsourceprocessor.h" #include "cpptoolsconstants.h" #include "cpptoolseditorsupport.h" #include "cpptoolsplugin.h" @@ -310,7 +310,7 @@ QStringList CppModelManager::internalIncludePaths() const const ProjectInfo pinfo = it.value(); foreach (const ProjectPart::Ptr &part, pinfo.projectParts()) foreach (const QString &path, part->includePaths) - includePaths.append(CppPreprocessor::cleanPath(path)); + includePaths.append(CppSourceProcessor::cleanPath(path)); } includePaths.removeDuplicates(); return includePaths; @@ -325,7 +325,7 @@ QStringList CppModelManager::internalFrameworkPaths() const const ProjectInfo pinfo = it.value(); foreach (const ProjectPart::Ptr &part, pinfo.projectParts()) foreach (const QString &path, part->frameworkPaths) - frameworkPaths.append(CppPreprocessor::cleanPath(path)); + frameworkPaths.append(CppSourceProcessor::cleanPath(path)); } frameworkPaths.removeDuplicates(); return frameworkPaths; -- cgit v1.2.1