forked from OSchip/llvm-project
Using "final" as a variable name is a bit confusing in C++11, so rename it.
llvm-svn: 199526
This commit is contained in:
parent
436c42ec3d
commit
d9696cbda8
|
@ -71,7 +71,7 @@ private:
|
|||
bool resolveUndefines();
|
||||
void updateReferences();
|
||||
void deadStripOptimize();
|
||||
bool checkUndefines(bool final);
|
||||
bool checkUndefines(bool isFinal);
|
||||
void removeCoalescedAwayAtoms();
|
||||
void checkDylibSymbolCollisions();
|
||||
void linkTimeOptimize();
|
||||
|
|
|
@ -360,9 +360,9 @@ void Resolver::deadStripOptimize() {
|
|||
}
|
||||
|
||||
// error out if some undefines remain
|
||||
bool Resolver::checkUndefines(bool final) {
|
||||
bool Resolver::checkUndefines(bool isFinal) {
|
||||
// when using LTO, undefines are checked after bitcode is optimized
|
||||
if (_haveLLVMObjs && !final)
|
||||
if (_haveLLVMObjs && !isFinal)
|
||||
return false;
|
||||
|
||||
// build vector of remaining undefined symbols
|
||||
|
|
Loading…
Reference in New Issue