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:
fa48c49
)
Do not use `auto` for type that is not obvious in a local context.
author
Rui Ueyama
<ruiu@google.com>
Sat, 24 Feb 2018 01:39:25 +0000
(
01:39
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Sat, 24 Feb 2018 01:39:25 +0000
(
01:39
+0000)
llvm-svn: 326012
lld/wasm/InputFiles.cpp
patch
|
blob
|
history
diff --git
a/lld/wasm/InputFiles.cpp
b/lld/wasm/InputFiles.cpp
index
19e56fd
..
49fb314
100644
(file)
--- a/
lld/wasm/InputFiles.cpp
+++ b/
lld/wasm/InputFiles.cpp
@@
-201,8
+201,8
@@
void ObjFile::initializeSymbols() {
ArrayRef<uint32_t> FuncTypes = WasmObj->functionTypes();
ArrayRef<WasmSignature> Types = WasmObj->types();
- for (
const auto &C
: WasmObj->comdats())
- Symtab->addComdat(
C
, this);
+ for (
StringRef Name
: WasmObj->comdats())
+ Symtab->addComdat(
Name
, this);
for (const WasmSegment &S : WasmObj->dataSegments()) {
InputSegment *Seg = make<InputSegment>(S, this);