summaryrefslogtreecommitdiffstats
path: root/lld/ELF/ScriptParser.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-10-17 16:01:53 +0000
committerRui Ueyama <ruiu@google.com>2016-10-17 16:01:53 +0000
commit83043f237ce5942a6ee1696cc743d003bffa3090 (patch)
tree9dac0b323f980fab163c846decdfdbdad8a9a4a7 /lld/ELF/ScriptParser.h
parent2cf6bfaf7383bb6bff0ea288a1020516e1abd868 (diff)
downloadbcm5719-llvm-83043f237ce5942a6ee1696cc743d003bffa3090.tar.gz
bcm5719-llvm-83043f237ce5942a6ee1696cc743d003bffa3090.zip
Rename skip(StringRef) -> consume(StringRef).
skip() and skip(StringRef) were overloaded functions that have different semantics. This patch rename one of the functions to avoid function overloading. llvm-svn: 284396
Diffstat (limited to 'lld/ELF/ScriptParser.h')
-rw-r--r--lld/ELF/ScriptParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/ScriptParser.h b/lld/ELF/ScriptParser.h
index 64a91d42e23..e2bdeef7659 100644
--- a/lld/ELF/ScriptParser.h
+++ b/lld/ELF/ScriptParser.h
@@ -30,7 +30,7 @@ protected:
StringRef next();
StringRef peek();
void skip();
- bool skip(StringRef Tok);
+ bool consume(StringRef Tok);
void expect(StringRef Expect);
size_t getPos();
OpenPOWER on IntegriCloud