[PATCH] D122121: [clang][dataflow] Add action caching support to MatchSwitch
Stanislav Gatev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 21 02:39:05 PDT 2022
sgatev created this revision.
sgatev added reviewers: ymandel, xazax.hun, gribozavr2.
Herald added subscribers: tschuett, steakhal, rnkovacs.
Herald added a project: All.
sgatev requested review of this revision.
Herald added a project: clang.
Enable default caching of actionsin `MatchSwitch` so that for each
unique statement matchers are invoked at most once.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122121
Files:
clang/include/clang/Analysis/FlowSensitive/MatchSwitch.h
clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
clang/unittests/Analysis/FlowSensitive/MatchSwitchTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122121.416868.patch
Type: text/x-patch
Size: 8594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220321/1a424e12/attachment.bin>
More information about the cfe-commits
mailing list