CppTools: Distinguish between ProjectFile::{unclassified,unsupported}

There was no way to determine whether ProjectFile::classify() was run or
not. Now, ProjectFile::classify() returns ProjectFile::Unsupported
instead of ProjectFile::Unclassified.

Change-Id: I660d0e42044bdefcac38058c6f4a3425983a6d93
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Nikolai Kosjar
2017-02-01 09:48:58 +01:00
committed by David Schulz
parent 6bf8f85b33
commit e2e78c6a5d
9 changed files with 12 additions and 7 deletions

View File

@@ -373,7 +373,7 @@ void IpcCommunicator::initializeBackend()
static QStringList projectPartOptions(const CppTools::ProjectPart::Ptr &projectPart)
{
const QStringList options = ClangCodeModel::Utils::createClangOptions(projectPart,
CppTools::ProjectFile::Unclassified); // No language option
CppTools::ProjectFile::Unsupported); // No language option
return options;
}