[llvm] [utils] Add an alias name --cc for --clang (PR #69442)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 18 07:16:37 PDT 2023


================
@@ -173,7 +173,7 @@ def config():
     )
     parser.add_argument("--llvm-bin", help="llvm $prefix/bin path")
     parser.add_argument(
-        "--clang", help='"clang" executable, defaults to $llvm_bin/clang'
+        "--cc", "--clang", help='"clang" executable, defaults to $llvm_bin/clang'
----------------
arichardson wrote:

This changes the way the argument is accessed: it is now args.cc instead of args.clang so will break all tests.

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


More information about the llvm-commits mailing list