diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2014-03-07 18:36:15 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2014-03-07 18:36:15 +0000 |
| commit | 29c9460d3e2d26ecbb59c26f0fe91a3c34462c79 (patch) | |
| tree | 037916a6360c5ae9e1a071f3925b0737281ba2e3 /clang/lib/CodeGen | |
| parent | 1391608234b607157da1d4f742a60ba94b9b8985 (diff) | |
| download | bcm5719-llvm-29c9460d3e2d26ecbb59c26f0fe91a3c34462c79.tar.gz bcm5719-llvm-29c9460d3e2d26ecbb59c26f0fe91a3c34462c79.zip | |
Renaming the chains() ranged iterator to chain() per suggestion by Richard Smith.
llvm-svn: 203262
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 83c1ece12f5..cc8f20c0e92 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 { |

