]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169664 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaTemplateInstantiate.cpp

index c0b2c6d52d9d2c512c0a5294360aaf0673e56630..5ad7b3437e3fd7995ed13cbcdffb0e0a27742ae5 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