diff options
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 61144fc558b..d4f20449525 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -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 {  | 

