[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
Sat Jun 6 17:12:10 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
----------------
dyung 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.
Yeah, that would have been a lot easier, but sadly it was not the case. Thanks for reviewing the change!
https://github.com/llvm/llvm-project/pull/197154
More information about the cfe-commits
mailing list