[PATCH] D75441: [clang-tidy] Add helper base check classes that only run on specific language versions
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 2 02:18:36 PST 2020
njames93 marked an inline comment as done.
njames93 added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/ClangTidyCheck.h:224
+/// Helper class for clang-tidy checks that only register when in `c++11` mode.
+class Cpp11ClangTidyCheck : public ClangTidyCheck {
+ using ClangTidyCheck::ClangTidyCheck;
----------------
Given the amount of new stuff added in c++11 and how many checks require c++11 I thought having a separate c++11 mode class would be a good idea, c++14/17 probably not so much though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75441/new/
https://reviews.llvm.org/D75441
More information about the cfe-commits
mailing list