forked from OSchip/llvm-project
[Frontend/CompilerInvocation] Use range-based loop. NFC.
llvm-svn: 250559
This commit is contained in:
parent
c91740616a
commit
27043302a4
|
@ -1986,8 +1986,8 @@ void ModuleSignature::flush() {
|
|||
}
|
||||
|
||||
void ModuleSignature::add(StringRef Value) {
|
||||
for (StringRef::iterator I = Value.begin(), IEnd = Value.end(); I != IEnd;++I)
|
||||
add(*I, 8);
|
||||
for (auto &S : Value)
|
||||
add(S, 8);
|
||||
}
|
||||
|
||||
llvm::APInt ModuleSignature::getAsInteger() const {
|
||||
|
|
Loading…
Reference in New Issue