diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-07-01 22:01:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-07-01 22:01:06 +0000 |
commit | ff6cbdf806da9fb5a62ebf7721660940d4bbb838 (patch) | |
tree | 32f70cd644e774775cdb7a83630a2e531dc769ad /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | affb68bd08a2cd0f1e4dbeacfbdc1acc14c589ba (diff) | |
download | bcm5719-llvm-ff6cbdf806da9fb5a62ebf7721660940d4bbb838.tar.gz bcm5719-llvm-ff6cbdf806da9fb5a62ebf7721660940d4bbb838.zip |
Keep track of more information within the template instantiation stack, e.g.,
by distinguishing between substitution that occurs for template
argument deduction vs. explicitly-specifiad template arguments. This
is used both to improve diagnostics and to make sure we only provide
SFINAE in those cases where SFINAE should apply.
In addition, deal with the sticky issue where SFINAE only considers
substitution of template arguments into the *type* of a function
template; we need to issue hard errors beyond this point, as
test/SemaTemplate/operator-template.cpp illustrates.
llvm-svn: 74651
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions