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

Anton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 08:36:13 PST 2017


xgsa added a comment.

In https://reviews.llvm.org/D40671#944906, @alexfh wrote:

> BTW, how will this feature interact with cpplint.py's way of handling specific NOLINT directives that use different lint rule names, which sometimes refer to the same rule (e.g. `// NOLINT(runtime/explicit)` suppresses the `runtime/explicit` cpplint rule that enforces the same style rule as the google-runtime-explicit check)?


This feature accepts only full check names.


https://reviews.llvm.org/D40671





More information about the cfe-commits mailing list