diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-10-12 23:32:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-10-12 23:32:35 +0000 |
commit | 5bb5e4ad9d8ed8ac59ae15c716fea9b34a88fd59 (patch) | |
tree | 1379ab73184f2e3cd6f60f6d13d7a4e2e2653f98 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 67f70aaf5a2a4ab5b3ec0ae672b149d34cc0677f (diff) | |
download | llvm-5bb5e4ad9d8ed8ac59ae15c716fea9b34a88fd59.zip llvm-5bb5e4ad9d8ed8ac59ae15c716fea9b34a88fd59.tar.gz llvm-5bb5e4ad9d8ed8ac59ae15c716fea9b34a88fd59.tar.bz2 |
Introduce support for emitting diagnostics (warnings + their notes)
that are suppressed during template argument deduction. This change
queues diagnostics computed during template argument deduction. Then,
if the resulting function template specialization or partial
specialization is chosen by overload resolution or partial ordering
(respectively), we will emit the queued diagnostics at that point.
This addresses most of PR6784. However, the check for unnamed/local
template arguments (which existed before this change) is still only
skin-deep, and needs to be extended to look deeper into types. It must
be improved to finish PR6784.
llvm-svn: 116373
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions