[PATCH] Allow return type deduction for templates in delayed parsing mode.

Faisal Vali faisalv at yahoo.com
Tue Oct 29 09:25:17 PDT 2013

Comment at: lib/Parse/Parser.cpp:923
@@ +922,3 @@
+bool isFunctionDeclaratorRequiringReturnTypeDeduction(const Declarator &D) {
+  if (!D.isFunctionDeclarator() || !D.getDeclSpec().containsPlaceholderType()) 
This should probably be static and inline - i originally had this be a member function in Declarator - but that seemed unnecessary.


More information about the cfe-commits mailing list