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

Ian Anderson via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 5 22:34:15 PDT 2026


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

Yeah, looking at `Driver::GetResourcesPath` that all makes sense now, I think what you have is best. I hadn't read it close enough I had thought/hoped that CLANG_RESOURCE_DIR was like CLANG_BINARY_DIR.

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


More information about the cfe-commits mailing list