commit | 0fce0ae7d60bed52e36c87194922b7aecce78b83 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jun 08 15:59:14 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jun 08 15:59:14 2009 +0000 |
tree | bc8ff8ca99d2df9465ed0dc9514e7f76a2e9f1f2 | |
parent | a27fad59dc760252af025ef6a86d31bb7d11a44a [diff] [blame] |
Document the template argument deduction patterns that Anders' patch supports git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73071 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaTemplateDeduction.cpp b/lib/Sema/SemaTemplateDeduction.cpp index db7e622..fe779eb 100644 --- a/lib/Sema/SemaTemplateDeduction.cpp +++ b/lib/Sema/SemaTemplateDeduction.cpp
@@ -265,6 +265,9 @@ return false; } + // type(*)(T) + // T(*)() + // T(*)(T) case Type::FunctionProto: { const FunctionProtoType *FunctionProtoArg = dyn_cast<FunctionProtoType>(Arg);