Skip to content

Commit eae30c3

Browse files
kazutakahirataAnthony Tran
authored andcommitted
[Analysis] Drop const from a return type (NFC) (llvm#145641)
We do not need const on a return type.
1 parent cb5f792 commit eae30c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Analysis/DXILResource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ class ResourceInfo {
387387

388388
const ResourceBinding &getBinding() const { return Binding; }
389389
TargetExtType *getHandleTy() const { return HandleTy; }
390-
const StringRef getName() const { return Name; }
390+
StringRef getName() const { return Name; }
391391

392392
bool hasSymbol() const { return Symbol; }
393393
LLVM_ABI GlobalVariable *createSymbol(Module &M, StructType *Ty);

0 commit comments

Comments
 (0)