diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-08-24 10:46:58 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-08-24 10:18:30 +0000 |
commit | d65ef60ea24a25e636f5a51b51192abbc883da12 (patch) | |
tree | d8b0c76370a9f3cdcff0ca719cb7f350bafe26c0 /src/plugins/clangtools/clangtoolruncontrol.h | |
parent | 643c9405bdf32f7df6037f8c6de51f2b3bdd098c (diff) |
clang: Fix include/resource dir confusion
The getClangResourceDirAndVersion() function in ClangTools could return
the actual resource dir or the include dir, depending on the input. This
mistake happened because of misleading names spread all around the code.
Now the function returns what it says, and the other names are accurate
as well.
Change-Id: I0a8600857ee7b9fafb16256e0d1ad203ac3273d2
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/clangtools/clangtoolruncontrol.h')
-rw-r--r-- | src/plugins/clangtools/clangtoolruncontrol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangtools/clangtoolruncontrol.h b/src/plugins/clangtools/clangtoolruncontrol.h index 97f667a01a..e72df21c68 100644 --- a/src/plugins/clangtools/clangtoolruncontrol.h +++ b/src/plugins/clangtools/clangtoolruncontrol.h @@ -93,7 +93,7 @@ private: QList<RunnerCreator> runnerCreators(); template <class T> ClangToolRunner *createRunner(); - AnalyzeUnits unitsToAnalyze(const Utils::FilePath &clangResourceDir, + AnalyzeUnits unitsToAnalyze(const Utils::FilePath &clangIncludeDir, const QString &clangVersion); void analyzeNextFile(); |