[cfe-commits] r73071 - /cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp

Douglas Gregor dgregor at apple.com
Mon Jun 8 08:59:14 PDT 2009


Author: dgregor
Date: Mon Jun  8 10:59:14 2009
New Revision: 73071

URL: http://llvm.org/viewvc/llvm-project?rev=73071&view=rev
Log:
Document the template argument deduction patterns that Anders' patch supports

Modified:
    cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp

Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp?rev=73071&r1=73070&r2=73071&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp Mon Jun  8 10:59:14 2009
@@ -265,6 +265,9 @@
       return false;
     }
       
+    //     type(*)(T) 
+    //     T(*)() 
+    //     T(*)(T) 
     case Type::FunctionProto: {
       const FunctionProtoType *FunctionProtoArg = 
         dyn_cast<FunctionProtoType>(Arg);





More information about the cfe-commits mailing list