forked from OSchip/llvm-project
[IR] Drop unnecessary const from return types (NFC)
Identified with const-return-type.
This commit is contained in:
parent
6f4f0efd89
commit
b3ec6a602d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue