aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-06-14 14:14:10 +0200
committerhjk <hjk@qt.io>2019-06-19 05:45:03 +0000
commit6bd25ff689eb53edda8e690d6457380ad6965621 (patch)
tree5ea9c52ea05434d1a75a729d03f096b0d541f3f8
parent2148803c3a7b0b4dd27955d1dd79a6c64a40dad1 (diff)
ProjectExplorer: Don't repeat setting in ClangClToolChain::create
The value is initializes in the constructor. Change-Id: I1c36a4ccecf2fb9bde9257df729831965ab7fea2 Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r--src/plugins/projectexplorer/msvctoolchain.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/msvctoolchain.cpp b/src/plugins/projectexplorer/msvctoolchain.cpp
index d85b747039..8e3a58b7fd 100644
--- a/src/plugins/projectexplorer/msvctoolchain.cpp
+++ b/src/plugins/projectexplorer/msvctoolchain.cpp
@@ -2006,7 +2006,6 @@ ToolChain *ClangClToolChainFactory::create()
{
// FIXME: Looks odd. Shouldn't clang-cl be the path?
auto tc = new ClangClToolChain;
- tc->setClangPath("");
tc->setupVarsBat(Abi(), "", "");
tc->setDisplayName("clang-cl");
return tc;