================ @@ -1,27 +1,34 @@ // RUN: %check_clang_tidy %s cppcoreguidelines-avoid-goto %t +// RUN: %check_clang_tidy -check-suffix=MACRO %s cppcoreguidelines-avoid-goto %t -- -config="{CheckOptions: { cppcoreguidelines-avoid-goto.IgnoreMacros: true }}" ---------------- vbvictor wrote:
It'll be slightly harder, If I write `check-suffix=,MACRO` for `IgnoreMacros: true` it will try to match all default `chech-messages` that does not ignore macros. For your suggestion to work, I should write default `CHECK-MESSAGE` with `IgnoreMacros: true` and then add more cases provided by `IgnoreMacros: false`. I'll do that. https://github.com/llvm/llvm-project/pull/143554 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits