]> granicus.if.org Git - clang/commitdiff
Moved a FIXME to where it was meant to be.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 14 Jul 2009 18:29:14 +0000 (18:29 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 14 Jul 2009 18:29:14 +0000 (18:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75651 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/DeclCXX.cpp

index 607c4aaa4ed32d0760a50ca428077bfa6b9bfaa8..70c7a1bd5053e50f16d6d65ce7746f765fadf4f0 100644 (file)
@@ -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 =