[PATCH] D111208: [clang-tidy] Support globbing in NOLINT* expressions
Carlos Galvez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 6 00:07:14 PDT 2021
carlosgalvezp created this revision.
carlosgalvezp added reviewers: aaron.ballman, alexfh.
Herald added subscribers: arphaman, xazax.hun.
carlosgalvezp requested review of this revision.
Herald added a project: clang-tools-extra.
To simplify suppressing multiple warnings, e.g. coming from check aliases.
The code for globbing is the same as for enabling checks, so the semantics are identical. Naturally, the meaning is reversed since we are _disabling_ warnings in NOLINT expressions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111208
Files:
clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/index.rst
clang-tools-extra/test/clang-tidy/infrastructure/nolint.cpp
clang-tools-extra/test/clang-tidy/infrastructure/nolintbeginend.cpp
clang-tools-extra/test/clang-tidy/infrastructure/nolintnextline.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111208.377440.patch
Type: text/x-patch
Size: 6585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211006/99a58a4a/attachment.bin>
More information about the llvm-commits
mailing list