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:
c351ed2
)
SymbolTable::size() returns an unsigned int.
author
Rui Ueyama
<ruiu@google.com>
Fri, 4 Apr 2014 01:22:51 +0000
(
01:22
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 4 Apr 2014 01:22:51 +0000
(
01:22
+0000)
It's better to use the same type rather than a fixed width integer type
that may be different from the return type.
llvm-svn: 205597
lld/lib/Core/Resolver.cpp
patch
|
blob
|
history
diff --git
a/lld/lib/Core/Resolver.cpp
b/lld/lib/Core/Resolver.cpp
index
f914a8e
..
cd95b6b
100644
(file)
--- a/
lld/lib/Core/Resolver.cpp
+++ b/
lld/lib/Core/Resolver.cpp
@@
-71,7
+71,7
@@
void Resolver::handleFile(const File &file) {
void Resolver::forEachUndefines(bool searchForOverrides,
UndefCallback callback) {
// Handle normal archives
-
int64_t
undefineGenCount = 0;
+
unsigned
undefineGenCount = 0;
do {
undefineGenCount = _symbolTable.size();
for (const UndefinedAtom *undefAtom : _symbolTable.undefines()) {