[clang-tools-extra] [clang-tidy][NFC] use local config in test cases (PR #120004)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 15 09:47:01 PST 2024
================
@@ -26,7 +26,7 @@ class InconsistentDeclarationParameterNameCheck : public ClangTidyCheck {
ClangTidyContext *Context)
: ClangTidyCheck(Name, Context),
IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", true)),
- Strict(Options.getLocalOrGlobal("Strict", false)) {}
+ Strict(Options.get("Strict", false)) {}
----------------
5chmidti wrote:
This one sounds like it could just be renamed to `StrictMode`, thoughts? (local-or-global)
https://github.com/llvm/llvm-project/pull/120004
More information about the cfe-commits
mailing list