r250605 - [Frontend] Name variable correctly.
Davide Italiano via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 16 23:46:39 PDT 2015
Author: davide
Date: Sat Oct 17 01:46:39 2015
New Revision: 250605
URL: http://llvm.org/viewvc/llvm-project?rev=250605&view=rev
Log:
[Frontend] Name variable correctly.
Reported by: Kim Grasman!
Modified:
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=250605&r1=250604&r2=250605&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Sat Oct 17 01:46:39 2015
@@ -1986,8 +1986,8 @@ void ModuleSignature::flush() {
}
void ModuleSignature::add(StringRef Value) {
- for (auto &S : Value)
- add(S, 8);
+ for (auto &c : Value)
+ add(c, 8);
}
llvm::APInt ModuleSignature::getAsInteger() const {
More information about the cfe-commits
mailing list