Skip to content

Commit 5d7d8d6

Browse files
[Instrumentation] Drop "const" from a return type (NFC) (#145208)
We don't need to put a const on a return type.
1 parent 0dc0aeb commit 5d7d8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ namespace {
245245
// to the block.
246246
class GCOVLines : public GCOVRecord {
247247
public:
248-
const StringRef getFilename() { return Filename; }
248+
StringRef getFilename() { return Filename; }
249249

250250
void addLine(uint32_t Line) {
251251
assert(Line != 0 && "Line zero is not a valid real line number.");

0 commit comments

Comments
 (0)