summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-07-01 22:01:06 +0000
committerDouglas Gregor <dgregor@apple.com>2009-07-01 22:01:06 +0000
commitff6cbdf806da9fb5a62ebf7721660940d4bbb838 (patch)
tree32f70cd644e774775cdb7a83630a2e531dc769ad /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentaffb68bd08a2cd0f1e4dbeacfbdc1acc14c589ba (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud