[clang-tools-extra] [clang-tidy][NFC] use local config in test cases (PR #120004)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 15 15:51:54 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)) {}
----------------
HerrCai0907 wrote:

we should rename it but i think we should do it after final decision of global/local options.

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


More information about the cfe-commits mailing list