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:
2b7cc5a
)
[ELF] Prefer 'auto' over explicit type for consistency.
author
Davide Italiano
<davide@freebsd.org>
Sat, 2 Apr 2016 23:47:54 +0000
(23:47 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Sat, 2 Apr 2016 23:47:54 +0000
(23:47 +0000)
llvm-svn: 265250
lld/ELF/SymbolTable.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/SymbolTable.cpp
b/lld/ELF/SymbolTable.cpp
index
8bea378
..
6adc40b
100644
(file)
--- a/
lld/ELF/SymbolTable.cpp
+++ b/
lld/ELF/SymbolTable.cpp
@@
-216,7
+216,7
@@
template <class ELFT> void SymbolTable<ELFT>::resolve(SymbolBody *New) {
SymbolBody *Existing = Sym->Body;
- if (
Lazy
*L = dyn_cast<Lazy>(Existing)) {
+ if (
auto
*L = dyn_cast<Lazy>(Existing)) {
if (auto *Undef = dyn_cast<Undefined>(New)) {
addMemberFile(Undef, L);
return;