[Frontend/CompilerInvocation] Use range-based loop. NFC.

llvm-svn: 250559
This commit is contained in:
Davide Italiano 2015-10-16 22:13:53 +00:00
parent c91740616a
commit 27043302a4
1 changed files with 2 additions and 2 deletions

View File

@ -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 {