1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[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 355bc1b4dd
commit 85967d9106

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);
}