Fix MapLattice API to return std::pair<iterator, bool>,
allowing users to detect when an element has been inserted without
performing a redundant map lookup.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D130497
[clang][dataflow] Fix MapLattice::insert() to not drop return value ClosedPublic Authored by li.zhe.hua on Jul 25 2022, 9:22 AM.
Details Summary Fix MapLattice API to return std::pair<iterator, bool>,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 25 2022, 9:48 AM This revision was landed with ongoing or failed builds.Jul 25 2022, 11:25 AM Closed by commit rG29d35ece8249: [clang][dataflow] Fix MapLattice::insert() to not drop return value (authored by li.zhe.hua). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 447416 clang/include/clang/Analysis/FlowSensitive/MapLattice.h
clang/unittests/Analysis/FlowSensitive/MapLatticeTest.cpp
|