[libcxx-commits] [PATCH] D141805: [libc++] Refactor clang-query checks to clang-tidy checks to get less obsucre error messages

Nathan James via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 17 14:45:03 PST 2023


njames93 added inline comments.


================
Comment at: libcxx/test/tools/clang_tidy_checks/hide_from_abi.cpp:25-35
+              hasName("__introsort"),
+              hasName("__inplace_merge"),
+              hasName("__libcpp_snprintf_l"),
+              hasName("__libcpp_asprintf_l"),
+              hasName("__libcpp_sscanf_l"),
+              hasName("__tree_sub_invariant"),
+              hasName("__stable_sort_move"),
----------------
Can you not use the `hasAnyName` matcher here instead?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141805/new/

https://reviews.llvm.org/D141805



More information about the libcxx-commits mailing list