[clang] Update remaining tests for usage of CLANG_RESOURCE_DIR (PR #202475)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 17:56:32 PDT 2026


================
@@ -4,14 +4,14 @@
 // Test standard include paths
 // -----------------------------------------------------------------------------
 // RUN: %clang -### --target=hexagon-none-elf --cstdlib=picolibc \
-// RUN:   -ccc-install-dir %S/Inputs/hexagon_tree/Tools/bin %s 2>&1 | FileCheck -check-prefix=CHECK-C-INCLUDES %s
-// CHECK-C-INCLUDES: "-cc1" {{.*}} "-internal-isystem" "{{.*}}{{/|\\\\}}lib{{/|\\\\}}clang{{/|\\\\}}{{[0-9]+}}{{/|\\\\}}include"
+// RUN:   -ccc-install-dir %S/Inputs/hexagon_tree/Tools/bin %s 2>&1 | FileCheck -check-prefix=CHECK-C-INCLUDES -DRESOURCE_DIR=%clang-resource-dir %s
+// CHECK-C-INCLUDES: "-cc1" {{.*}} "-internal-isystem" "[[RESOURCE_DIR]]/include"
----------------
dyung wrote:

I'm not sure which "-resource-dir" you are referring to here. Can you clarify?

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


More information about the cfe-commits mailing list