[PATCH] D137432: [clang][dataflow] Change transfer and diagnoser functions to receive a CFGElement
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 4 08:43:06 PDT 2022
xazax.hun added inline comments.
================
Comment at: clang/include/clang/Analysis/FlowSensitive/CFGMatchSwitch.h:35
+public:
+ CFGMatchSwitch(std::unique_ptr<const CFGElement *> CurrentElement,
+ ASTMatchSwitch<Stmt, State, Result> StmtMS,
----------------
Why do we need to keep this pointer on the heap?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137432/new/
https://reviews.llvm.org/D137432
More information about the cfe-commits
mailing list