Add a FIXME.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 8 Dec 2012 02:13:02 +0000 (02:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 8 Dec 2012 02:13:02 +0000 (02:13 +0000)
llvm-svn: 169664

clang/lib/Sema/SemaTemplateInstantiate.cpp

index c0b2c6d..5ad7b34 100644 (file)
@@ -2045,6 +2045,7 @@ Sema::InstantiateClass(SourceLocation PointOfInstantiation,
   CheckCompletedCXXClass(Instantiation);
 
   // Attach any in-class member initializers now the class is complete.
+  // FIXME: We are supposed to defer instantiating these until they are needed.
   if (!FieldsWithMemberInitializers.empty()) {
     // C++11 [expr.prim.general]p4:
     //   Otherwise, if a member-declarator declares a non-static data member