This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] In `ControlFlowContext`, handle `Decl` by reference instead of pointer.
ClosedPublic

Authored by mboehme on Aug 2 2023, 12:32 AM.

Details

Summary

build() guarantees that we'll always have a Decl, so we can simplify the code.

Diff Detail

Event Timeline

mboehme created this revision.Aug 2 2023, 12:32 AM
Herald added a project: Restricted Project. · View Herald Transcript
mboehme requested review of this revision.Aug 2 2023, 12:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2023, 12:32 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
mboehme edited the summary of this revision. (Show Details)Aug 2 2023, 12:32 AM
mboehme added a reviewer: ymandel.
xazax.hun accepted this revision.Aug 2 2023, 8:24 AM
This revision is now accepted and ready to land.Aug 2 2023, 8:24 AM
ymandel accepted this revision.Aug 2 2023, 9:07 AM
This revision was landed with ongoing or failed builds.Aug 2 2023, 11:59 PM
This revision was automatically updated to reflect the committed changes.