[PATCH] D40671: [clang-tidy] Support specific categories for NOLINT directive

2017-12-01 Thread Anton via Phabricator via cfe-commits
xgsa added a comment. In https://reviews.llvm.org/D40671#941676, @JonasToth wrote: > Could you please explain what category means? Could i disable all of > `cppcoreguidelines` with something like `// NOLINT (cppcoreguidelines-*)`? No, only individual checks can be disabled. You are right, by

[PATCH] D40671: [clang-tidy] Support specific categories for NOLINT directive

2017-11-30 Thread Jonas Toth via Phabricator via cfe-commits
JonasToth added a comment. Could you please explain what category means? Could i disable all of `cppcoreguidelines` with something like `// NOLINT (cppcoreguidelines-*)`? Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:297 + if (NolintIndex != StringRef::npos) { +