diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2020-05-13 14:47:35 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2020-05-19 12:28:49 +0000 |
commit | 9fc2fda07e0e777dd911ed424fb52b9ed4ab09e5 (patch) | |
tree | 54e574b09bf24b7fb7fe4c2711a2bc1c47ed5294 /src/plugins/clangtools/clangtidyclazyrunner.h | |
parent | e2a68edbc18242b2766d15a7d851ad9d49d4b6e7 (diff) |
ClangTools: Remove dependency to libclang and custom clang binary
Before this change, we've invoked a custom clang binary that had clazy
statically compiled into it. The invocation also ensured that the
diagnostics were serialized to a file, so that libclang could be used
afterwards to read them.
As the clazy-standalone executable supports exporting diagnostics to a
YAML file now (just as clang-tidy) and Qt Creator ships it already, rely
on that executable alone instead of the clang/libclang combo.
While we do not depend on any clang header or library at build-time now,
the CompilerOptionsBuilder constructor still needs the CLANG_VERSION and
CLANG_RESOURCE_DIR pieces from llvm-config. This dependency should be
removed as next.
Change-Id: I4fa5753ab09008fd24bc5247b28c4836b5e8ca45
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/clangtools/clangtidyclazyrunner.h')
-rw-r--r-- | src/plugins/clangtools/clangtidyclazyrunner.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/clangtools/clangtidyclazyrunner.h b/src/plugins/clangtools/clangtidyclazyrunner.h index 72cd7a155c..ec9b940a18 100644 --- a/src/plugins/clangtools/clangtidyclazyrunner.h +++ b/src/plugins/clangtools/clangtidyclazyrunner.h @@ -48,13 +48,5 @@ public: ClazyStandaloneRunner(const CppTools::ClangDiagnosticConfig &config, QObject *parent = nullptr); }; -class ClazyPluginRunner final : public ClangToolRunner -{ - Q_OBJECT - -public: - ClazyPluginRunner(const CppTools::ClangDiagnosticConfig &config, QObject *parent = nullptr); -}; - } // namespace Internal } // namespace ClangTools |