From d5be2b5483757631cad00511b43ed7003defbfd9 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 8 Dec 2012 02:13:02 +0000 Subject: [PATCH] Add a FIXME. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169664 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaTemplateInstantiate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp index c0b2c6d52d..5ad7b3437e 100644 --- a/lib/Sema/SemaTemplateInstantiate.cpp +++ b/lib/Sema/SemaTemplateInstantiate.cpp @@ -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 -- 2.50.1