[cfe-commits] r75651 - /cfe/trunk/lib/AST/DeclCXX.cpp
Fariborz Jahanian
fjahanian at apple.com
Tue Jul 14 11:29:15 PDT 2009
Author: fjahanian
Date: Tue Jul 14 13:29:14 2009
New Revision: 75651
URL: http://llvm.org/viewvc/llvm-project?rev=75651&view=rev
Log:
Moved a FIXME to where it was meant to be.
Modified:
cfe/trunk/lib/AST/DeclCXX.cpp
Modified: cfe/trunk/lib/AST/DeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclCXX.cpp?rev=75651&r1=75650&r2=75651&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclCXX.cpp (original)
+++ cfe/trunk/lib/AST/DeclCXX.cpp Tue Jul 14 13:29:14 2009
@@ -484,8 +484,8 @@
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 =
More information about the cfe-commits
mailing list