[clang] Updating tests for usage of CLANG_RESOURCE_DIR (clang/test/Driver/driverkit-path.c) (1/4) (PR #197154)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 4 17:02:43 PDT 2026


================
@@ -412,6 +412,20 @@ def calculate_arch_features(arch_string):
 if config.enable_threads:
     config.available_features.add("thread_support")
 
+# Add clang resource directory as a substitution
+if config.clang:
+    try:
----------------
dyung wrote:

It worked well and passed my tests, so I've simplified how it is run to what you suggest. Thanks for the suggestion!

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


More information about the cfe-commits mailing list