aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-03-07 18:36:15 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-03-07 18:36:15 +0000
commit29c9460d3e2d26ecbb59c26f0fe91a3c34462c79 (patch)
tree037916a6360c5ae9e1a071f3925b0737281ba2e3 /clang/lib/CodeGen/CGClass.cpp
parent1391608234b607157da1d4f742a60ba94b9b8985 (diff)
downloadllvm-29c9460d3e2d26ecbb59c26f0fe91a3c34462c79.zip
llvm-29c9460d3e2d26ecbb59c26f0fe91a3c34462c79.tar.gz
llvm-29c9460d3e2d26ecbb59c26f0fe91a3c34462c79.tar.bz2
Renaming the chains() ranged iterator to chain() per suggestion by Richard Smith.
llvm-svn: 203262
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r--clang/lib/CodeGen/CGClass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp
index 83c1ece..cc8f20c 100644
--- a/clang/lib/CodeGen/CGClass.cpp
+++ b/clang/lib/CodeGen/CGClass.cpp
@@ -549,7 +549,7 @@ static void EmitMemberInitializer(CodeGenFunction &CGF,
// If we are initializing an anonymous union field, drill down to
// the field.
IndirectFieldDecl *IndirectField = MemberInit->getIndirectMember();
- for (const auto *I : IndirectField->chains())
+ for (const auto *I : IndirectField->chain())
LHS = CGF.EmitLValueForFieldInitialization(LHS, cast<FieldDecl>(I));
FieldType = MemberInit->getIndirectMember()->getAnonField()->getType();
} else {