This makes it harder to misuse APIs that return references by
accidentally copying the results which could happen when assigning the
them to variables declared as auto.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D127865
[clang][dataflow] Make `Value` and `StorageLocation` non-copyable ClosedPublic Authored by sgatev on Jun 15 2022, 8:12 AM.
Details Summary This makes it harder to misuse APIs that return references by
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 15 2022, 8:29 AM This revision was landed with ongoing or failed builds.Jun 15 2022, 9:15 AM Closed by commit rG0c2edf27a22e: [clang][dataflow] Make `Value` and `StorageLocation` non-copyable (authored by sgatev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 437210 clang/include/clang/Analysis/FlowSensitive/StorageLocation.h
clang/include/clang/Analysis/FlowSensitive/Value.h
|