[libc++] Use %{clang-query} when calling clang-query
authorNikolas Klauser <nikolasklauser@berlin.de>
Mon, 9 Jan 2023 17:15:17 +0000 (18:15 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Mon, 9 Jan 2023 17:21:06 +0000 (18:21 +0100)
libcxx/test/libcxx/clang_query.sh.cpp

index d59d6a2..c3b9b02 100644 (file)
@@ -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