Skip to content

Commit 817c097

Browse files
[Analysis] Drop const from a return type (NFC) (#145641)
We do not need const on a return type.
1 parent 050f628 commit 817c097

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)