[PATCH] D72505: [ASTMatchers] extract public matchers from const-analysis into own patch
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 10 06:55:51 PST 2020
JonasToth created this revision.
JonasToth added a reviewer: aaron.ballman.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
JonasToth added a child revision: D54943: [clang-tidy] implement const-transformation for cppcoreguidelines-const-correctness.
The analysis for const-ness of local variables required a view generally useful
matchers that are extracted into its own patch.
They are `decompositionDecl` and `forEachArgumentWithParamType`, that works
for calls through function pointers as well.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72505
Files:
clang/docs/LibASTMatchersReference.html
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/lib/ASTMatchers/Dynamic/Registry.cpp
clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72505.237306.patch
Type: text/x-patch
Size: 16609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200110/3a121b67/attachment-0001.bin>
More information about the cfe-commits
mailing list