llvm-capstone/clang-tools-extra/unittests
Nathan James 39c4246e1e [clang-tidy] Added virtual isLanguageVersionSupported to ClangTidyCheck
Summary:
Motivated by [[ https://bugs.llvm.org/show_bug.cgi?id=45045 | Tune inspections to a specific C++ standard. ]]
Moves the isLanguageVersionSupported virtual function from `MakeSmartPtrCheck` to the base `ClangTidyCheck` class.
This will disable registering matchers or pp callbacks on unsupported language versions for a check.
Having it as a standalone function is cleaner than manually disabling the check in the register function and should hopefully
encourage check developers to actually restrict the check based on language version.
As an added bonus this could enable automatic detection of what language version a check runs on for the purpose of documentation generation

Reviewers: aaron.ballman, gribozavr2, Eugene.Zelenko, JonasToth, alexfh, hokein

Reviewed By: gribozavr2

Subscribers: xazax.hun, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75289
2020-02-28 13:05:05 +00:00
..
clang-apply-replacements [clang-tidy] Store all ranges in clang::tooling::Diagnostic 2020-02-27 19:39:42 +01:00
clang-change-namespace [clang-tools-extra] [cmake] Link against libclang-cpp whenever possible 2019-10-04 20:30:02 +00:00
clang-doc Revert "[clang-doc] Improving Markdown Output" 2020-02-07 19:43:47 -08:00
clang-include-fixer Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
clang-move [clang-tools-extra] [cmake] Link against libclang-cpp whenever possible 2019-10-04 20:30:02 +00:00
clang-query Fix formatting in previous commits 2019-12-29 19:41:30 +00:00
clang-tidy [clang-tidy] Added virtual isLanguageVersionSupported to ClangTidyCheck 2020-02-28 13:05:05 +00:00
include/common Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
CMakeLists.txt [clangd] Move clangd tests to clangd directory. check-clangd is no longer part of check-clang-tools. 2019-04-29 08:44:01 +00:00