This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG][NFC] Clean up SDCallSiteDbgInfo accessors
ClosedPublic

Authored by melver on Mar 16 2022, 9:29 AM.

Details

Summary
  • Consistent naming: addCallSiteInfo vs. getCallSiteInfo;
  • Use ternary operator to reduce verbosity;
  • const'ify getters;
  • Add comments;

NFCI.

Diff Detail

Event Timeline

melver created this revision.Mar 16 2022, 9:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2022, 9:29 AM
melver requested review of this revision.Mar 16 2022, 9:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2022, 9:29 AM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 16 2022, 9:46 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.