[PATCH] D115740: [clang][dataflow] Add simplistic constant-propagation analysis.
Stanislav Gatev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 15 10:31:13 PST 2021
sgatev accepted this revision.
sgatev added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/unittests/Analysis/FlowSensitive/SingleVarConstantPropagationTest.cpp:145
+ const BoundNodes &Nodes = Results[0];
+ const ASTContext &Context = getASTContext();
+
----------------
Move this above to replace the other call to `getASTContext()` or use `getASTContext()` everywhere?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115740/new/
https://reviews.llvm.org/D115740
More information about the cfe-commits
mailing list