summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2015-10-17 06:46:39 +0000
committerDavide Italiano <davide@freebsd.org>2015-10-17 06:46:39 +0000
commitc4958b4b520af791ca9a0ce20a7e327a1d7c0e68 (patch)
treedccbf690478e4a52519c2d8ca9fb9c07378562b1 /clang/lib/Frontend/CompilerInvocation.cpp
parentd178f312dd7d18727b584b37477d18bfb8e7e95d (diff)
downloadbcm5719-llvm-c4958b4b520af791ca9a0ce20a7e327a1d7c0e68.tar.gz
bcm5719-llvm-c4958b4b520af791ca9a0ce20a7e327a1d7c0e68.zip
[Frontend] Name variable correctly.
Reported by: Kim Grasman! llvm-svn: 250605
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index d4f20449525..6e234112d7d 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 (auto &S : Value)
- add(S, 8);
+ for (auto &c : Value)
+ add(c, 8);
}
llvm::APInt ModuleSignature::getAsInteger() const {
OpenPOWER on IntegriCloud