aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/JSON.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/JSON.cpp')
-rw-r--r--llvm/lib/Support/JSON.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/JSON.cpp b/llvm/lib/Support/JSON.cpp
index 0672ddd..d44961b 100644
--- a/llvm/lib/Support/JSON.cpp
+++ b/llvm/lib/Support/JSON.cpp
@@ -288,8 +288,8 @@ void abbreviateChildren(const Value &V, OStream &JOS, raw_ostream &OS) {
switch (V.kind()) {
case Value::Array:
JOS.array([&] {
- for (const auto &V : *V.getAsArray())
- abbreviate(V, JOS, OS);
+ for (const auto &I : *V.getAsArray())
+ abbreviate(I, JOS, OS);
});
break;
case Value::Object: