[PATCH] D157057: [clang-tidy] Implement cppcoreguidelines CP.52
Piotr Zegar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 6 06:49:35 PDT 2023
PiotrZSL added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/cppcoreguidelines/NoSuspendWithLockCheck.cpp:27
+ namesType(templateSpecializationType(hasDeclaration(namedDecl(
+ hasAnyName(utils::options::parseStringList(LockGuards)))))));
+
----------------
consider using matchers::matchesAnyListedName
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157057/new/
https://reviews.llvm.org/D157057
More information about the cfe-commits
mailing list