aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaTemplate.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-12 18:26:56 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-12 18:26:56 +0000
commitf67875d5addf36b951ad37fb04509ab2b572c88a (patch)
treeaf1174dcef4ef448dadcb8123c45c214c7701506 /lib/Sema/SemaTemplate.cpp
parent5e300d1a8e37f24e71f8cf204b982f20f85cf91a (diff)
Improve template argument deduction to keep track of why template
argument deduction failed. For example, given template<typename T> struct is_same<T, T> { ... }; template argument deduction will fail for is_same<int, float>, and now reports enough information Right now, we don't do anything with this extra information, but it can be used for informative diagnostics that say, e.g., "template argument deduction failed because T was deduced to 'int' in one context and 'float' in another". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
0 files changed, 0 insertions, 0 deletions