[IR] Drop unnecessary const from return types (NFC)

Identified with const-return-type.
This commit is contained in:
Kazu Hirata 2021-02-06 11:17:06 -08:00
parent 6f4f0efd89
commit b3ec6a602d
1 changed files with 2 additions and 2 deletions

View File

@ -3546,10 +3546,10 @@ public:
InlinedAt(InlinedAt) {}
const DILocalVariable *getVariable() const { return Variable; }
const Optional<FragmentInfo> getFragment() const { return Fragment; }
Optional<FragmentInfo> getFragment() const { return Fragment; }
const DILocation *getInlinedAt() const { return InlinedAt; }
const FragmentInfo getFragmentOrDefault() const {
FragmentInfo getFragmentOrDefault() const {
return Fragment.getValueOr(DefaultFragment);
}