aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-07-14 18:29:14 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-07-14 18:29:14 +0000
commit639dead9d60d8eb9cc9131a8ed6147caae1d44ae (patch)
treed9c3bec76e0b0194db59636ddba44dee104e8408
parent58f9f2c884af6b72d036b746a016d8031d31cb7a (diff)
Moved a FIXME to where it was meant to be.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75651 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AST/DeclCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclCXX.cpp b/lib/AST/DeclCXX.cpp
index 607c4aaa4e..70c7a1bd50 100644
--- a/lib/AST/DeclCXX.cpp
+++ b/lib/AST/DeclCXX.cpp
@@ -484,8 +484,8 @@ CXXConstructorDecl::setBaseOrMemberInitializers(
unsigned NumInitializers) {
// We need to build the initializer AST according to order of construction
// and not what user specified in the Initializers list.
- // FIXME. We probably don't need this. But it is cleaner.
CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(getDeclContext());
+ // FIXME. We probably don't need to use AllToInit. But it is cleaner.
llvm::SmallVector<CXXBaseOrMemberInitializer*, 32> AllToInit;
// Push virtual bases before others.
for (CXXRecordDecl::base_class_iterator VBase =