[PATCH] D128056: [clang][dataflow] Singleton pointer values for null pointers.
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 22 16:38:39 PDT 2022
xazax.hun accepted this revision.
xazax.hun added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp:69
+ Res.first->second =
+ &takeOwnership(std::make_unique<PointerValue>(PointeeLoc));
+ }
----------------
Should we have a `PointerValue` without `PointeeLoc` to represent null pointers?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128056/new/
https://reviews.llvm.org/D128056
More information about the cfe-commits
mailing list