aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/Passes/StandardInstrumentations.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Passes/StandardInstrumentations.h')
-rw-r--r--llvm/include/llvm/Passes/StandardInstrumentations.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Passes/StandardInstrumentations.h b/llvm/include/llvm/Passes/StandardInstrumentations.h
index 6cab4ce7d138..9eb754a4d824 100644
--- a/llvm/include/llvm/Passes/StandardInstrumentations.h
+++ b/llvm/include/llvm/Passes/StandardInstrumentations.h
@@ -432,7 +432,7 @@ public:
}
// Return the label of the basic block reached on a transition on \p S.
- const StringRef getSuccessorLabel(StringRef S) const {
+ StringRef getSuccessorLabel(StringRef S) const {
assert(Successors.count(S) == 1 && "Expected to find successor.");
return Successors.find(S)->getValue();
}