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

Anton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 3 09:02:31 PST 2017


xgsa marked 2 inline comments as done.
xgsa added inline comments.


================
Comment at: docs/clang-tidy/index.rst:270
+    // Skip only the specified diagnostics for the next line
+    // NOLINTNEXTLINE (google-explicit-constructor, google-runtime-int)
+    Foo(bool param); 
----------------
aaron.ballman wrote:
> Is the space before the `(` intended?
No, it's a mistake, thank you.


https://reviews.llvm.org/D40671





More information about the cfe-commits mailing list