[libcxx-commits] [PATCH] D141300: [libc++] Fix missing clang-query substitution

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 9 09:34:01 PST 2023


ldionne created this revision.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

We must use %{clang-query} to expand to the right version of clang-query.
This must have been a typo.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141300

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


Index: libcxx/test/libcxx/clang_query.sh.cpp
===================================================================
--- libcxx/test/libcxx/clang_query.sh.cpp
+++ 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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141300.487479.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230109/21884471/attachment.bin>


More information about the libcxx-commits mailing list