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

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 17 15:07:52 PST 2023


philnik 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"),
----------------
njames93 wrote:
> Can you not use the `hasAnyName` matcher here instead?
Thanks, I wasn't aware of that matcher.


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