[libcxx-commits] [libcxx] 64f06dd - [libc++] Use %{clang-query} when calling clang-query

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 9 09:21:17 PST 2023


Author: Nikolas Klauser
Date: 2023-01-09T18:21:06+01:00
New Revision: 64f06dda87cfb6c6a53627154d1fa694428371e0

URL: https://github.com/llvm/llvm-project/commit/64f06dda87cfb6c6a53627154d1fa694428371e0
DIFF: https://github.com/llvm/llvm-project/commit/64f06dda87cfb6c6a53627154d1fa694428371e0.diff

LOG: [libc++] Use %{clang-query} when calling clang-query

Added: 
    

Modified: 
    libcxx/test/libcxx/clang_query.sh.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/clang_query.sh.cpp b/libcxx/test/libcxx/clang_query.sh.cpp
index d59d6a2dfa2b..c3b9b022b6e3 100644
--- a/libcxx/test/libcxx/clang_query.sh.cpp
+++ b/libcxx/test/libcxx/clang_query.sh.cpp
@@ -17,7 +17,7 @@
 // RUN: cat %t.output
 // RUN: cat %t.output | wc -l | grep -Fxq 1
 
-// RUN: clang-query -f %S/clang_query/abi_tag_on_virtual.query %s --use-color -- -Wno-unknown-warning-option %{compile_flags} -fno-modules > %t.output
+// RUN: %{clang-query} -f %S/clang_query/abi_tag_on_virtual.query %s --use-color -- -Wno-unknown-warning-option %{compile_flags} -fno-modules > %t.output
 // RUN: cat %t.output
 // RUN: cat %t.output | wc -l | grep -Fxq 1
 


        


More information about the libcxx-commits mailing list