[libcxx] [llvm] [RFC][libc++] Reworks clang-tidy selection. (PR #81362)

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 08:46:49 PST 2024


================
@@ -366,6 +394,16 @@ def getSizeOptimizationFlag(cfg):
         default=f"{shlex.quote(sys.executable)} {shlex.quote(str(Path(__file__).resolve().parent.parent.parent / 'run.py'))}",
         help="Custom executor to use instead of the configured default.",
         actions=lambda executor: [AddSubstitution("%{executor}", executor)],
-    )
+    ),
+    Parameter(
+        name='clang-tidy-executable',
+        type=str,
+        default=lambda cfg: getSuitableClangTidy(cfg),
+        help="TODO",
----------------
ldionne wrote:

Leftover!

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


More information about the llvm-commits mailing list