[clang-tools-extra] [clang-tidy][IncludeCleaner] Fix analysis supression in presence of verbatim spellings (PR #68185)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 4 01:09:36 PDT 2023


================
@@ -97,9 +98,12 @@ bool IncludeCleanerCheck::shouldIgnore(const include_cleaner::Header &H) {
   return llvm::any_of(IgnoreHeadersRegex, [&H](const llvm::Regex &R) {
     switch (H.kind()) {
     case include_cleaner::Header::Standard:
+      // We don't trim braces around standard library headers deliberately, so
----------------
VitaNuo wrote:

s/braces/angle brackets/

https://github.com/llvm/llvm-project/pull/68185


More information about the cfe-commits mailing list