[PATCH] Handle use of default member initializers before end of outermost class

Reid Kleckner rnk at google.com
Wed Oct 15 11:35:28 PDT 2014


================
Comment at: lib/Sema/SemaTemplateInstantiate.cpp:452
@@ +451,3 @@
+      } else if (FieldDecl *FD = dyn_cast<FieldDecl>(D)) {
+        Diags.Report(Active->PointOfInstantiation,
+                     diag::note_template_nsdmi_here)
----------------
This has created some extra "instantiation requested here" notes which are basically redundant with "default constructor first requested here" notes. What can I do about that?

http://reviews.llvm.org/D5690






More information about the cfe-commits mailing list