This is an archive of the discontinued LLVM Phabricator instance.

[Support] Add const to `FileError::getFileName`
ClosedPublic

Authored by bnbarham on Mar 11 2022, 2:38 PM.

Details

Summary

getFileName returns a StringRef, there's no reason it shouldn't be
const.

Diff Detail

Event Timeline

bnbarham created this revision.Mar 11 2022, 2:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2022, 2:38 PM
Herald added a subscriber: dexonsmith. · View Herald Transcript
bnbarham requested review of this revision.Mar 11 2022, 2:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2022, 2:38 PM

@dexonsmith added you to reviewers since you were automatically added as a subscriber :)

This revision is now accepted and ready to land.Mar 11 2022, 3:27 PM
This revision was landed with ongoing or failed builds.Mar 14 2022, 11:45 AM
This revision was automatically updated to reflect the committed changes.