diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-12-21 21:27:38 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-12-21 21:27:38 +0000 |
commit | c78a69dd901f200de958063997946119e366e4d2 (patch) | |
tree | c2917e7436a87ea251b759c403aafe886d2927e4 /lib/Driver/Tools.cpp | |
parent | 840943d633fa6e1ea25419022f936cc20abb2148 (diff) |
Introduce an assertion to ensure that template argument deduction does
not deduce an "overload" type. Such a deduction indicates a failure in
semantic analysis (e.g., PR5811) that currently isn't caught until
code-generation time. This assertions makes it clearer that this
particular issue is a semantic-analysis problem, not a code-gen problem.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions