[PATCH] Variable templates w/ partial support for static data members

Larisse Voufo lvoufo at google.com
Mon Aug 5 16:15:30 PDT 2013



================
Comment at: lib/Sema/SemaDecl.cpp:4945
@@ +4944,3 @@
+    if (TemplateParams) {
+      if (!TemplateParams->size() &&
+          D.getName().getKind() != UnqualifiedId::IK_TemplateId) {
----------------
Richard Smith wrote:
>     if (TemplateParams->empty() &&
Small note. There is no "empty()" in TemplateParameterList.


http://llvm-reviews.chandlerc.com/D1067



More information about the cfe-commits mailing list