summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/projectinfo.cpp
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-04-10 10:49:04 +0200
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-04-13 12:34:35 +0000
commit8936e5103367e300ac2b31ae5d4cf547425dc2a7 (patch)
tree9138934df3cb1e3d22557a8e21758fa1f0c1ca89 /src/plugins/cpptools/projectinfo.cpp
parent1bd967badbc38edf40dc24152ba4ca494f760685 (diff)
downloadqt-creator-8936e5103367e300ac2b31ae5d4cf547425dc2a7.tar.gz
ClangTools: Always use CompilerOptionsBuilder for clang tools
We do not ship clang-cl anymore which makes it impossible to run clang with MSVC options. Secondly we used to we tweak compiler options quite a bit so why not to switch to CompilerOptionsBuilder totally? Change-Id: Id323cb554587afaea7d9aa530e947a45a03922d1 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/cpptools/projectinfo.cpp')
-rw-r--r--src/plugins/cpptools/projectinfo.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/plugins/cpptools/projectinfo.cpp b/src/plugins/cpptools/projectinfo.cpp
index cb1cf04ba9..34ae92aa60 100644
--- a/src/plugins/cpptools/projectinfo.cpp
+++ b/src/plugins/cpptools/projectinfo.cpp
@@ -91,28 +91,10 @@ const QSet<QString> ProjectInfo::sourceFiles() const
return m_sourceFiles;
}
-void ProjectInfo::setCompilerCallData(const CompilerCallData &data)
-{
- m_compilerCallData = data;
-}
-
-ProjectInfo::CompilerCallData ProjectInfo::compilerCallData() const
-{
- return m_compilerCallData;
-}
-
-static bool operator==(const ProjectInfo::CompilerCallGroup &first,
- const ProjectInfo::CompilerCallGroup &second)
-{
- return first.groupId == second.groupId
- && first.callsPerSourceFile == second.callsPerSourceFile;
-}
-
bool ProjectInfo::operator ==(const ProjectInfo &other) const
{
return m_project == other.m_project
&& m_projectParts == other.m_projectParts
- && m_compilerCallData == other.m_compilerCallData
&& m_headerPaths == other.m_headerPaths
&& m_sourceFiles == other.m_sourceFiles
&& m_defines == other.m_defines;