projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bed9ee
)
Simplify. NFC.
author
Rui Ueyama
<ruiu@google.com>
Sun, 20 Nov 2016 23:15:56 +0000
(23:15 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Sun, 20 Nov 2016 23:15:56 +0000
(23:15 +0000)
llvm-svn: 287510
lld/ELF/DriverUtils.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/DriverUtils.cpp
b/lld/ELF/DriverUtils.cpp
index
2f13937
..
546256b
100644
(file)
--- a/
lld/ELF/DriverUtils.cpp
+++ b/
lld/ELF/DriverUtils.cpp
@@
-104,11
+104,9
@@
void elf::parseDynamicList(MemoryBufferRef MB) {
void run() {
while (!atEOF()) {
expect("{");
- while (!Error) {
+ while (!Error
&& !consume("}")
) {
Config->DynamicList.push_back(unquote(next()));
expect(";");
- if (consume("}"))
- break;
}
expect(";");
}