This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Remove unnecessary `ASTContext` parameter from `ControlFlowContext::build` overload.
ClosedPublic

Authored by mboehme on May 26 2023, 2:53 AM.

Details

Summary

When introducing this new overload in https://reviews.llvm.org/D151183, I didn't consider that the ASTContext parameter was unnecessary because it could also be obtained from the FunctionDecl.

Diff Detail

Event Timeline

mboehme created this revision.May 26 2023, 2:53 AM
Herald added a project: Restricted Project. · View Herald Transcript
mboehme requested review of this revision.May 26 2023, 2:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 26 2023, 2:53 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
mboehme edited the summary of this revision. (Show Details)May 26 2023, 2:57 AM
mboehme added reviewers: gribozavr2, xazax.hun.
gribozavr2 accepted this revision.May 26 2023, 3:10 AM
This revision is now accepted and ready to land.May 26 2023, 3:10 AM
xazax.hun accepted this revision.May 26 2023, 7:34 AM
This revision was landed with ongoing or failed builds.May 30 2023, 12:05 AM
This revision was automatically updated to reflect the committed changes.