diff options
| author | John McCall <rjmccall@apple.com> | 2010-08-05 09:05:08 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-08-05 09:05:08 +0000 |
| commit | 42d7d19710d09f00f030eff543ff8841b5b56c64 (patch) | |
| tree | e2637aec453b2615247415d67b2e5f8553a6a5d7 /clang/include | |
| parent | 478fdb16dbe1ec39b578c144d2d767633178a503 (diff) | |
| download | bcm5719-llvm-42d7d19710d09f00f030eff543ff8841b5b56c64.tar.gz bcm5719-llvm-42d7d19710d09f00f030eff543ff8841b5b56c64.zip | |
TDK_InconsistentQuals is really totally different from TDK_Inconsistent.
Rename it to TDK_Underqualified to avoid this sort of confusion and give it
its own diagnostic.
llvm-svn: 110318
Diffstat (limited to 'clang/include')
| -rw-r--r-- | clang/include/clang/Basic/DiagnosticSemaKinds.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td index bebc333f6d1..a917e2a74f3 100644 --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td +++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td @@ -1151,6 +1151,9 @@ def note_ovl_candidate_explicit_arg_mismatch_unnamed : Note< def note_ovl_candidate_instantiation_depth : Note< "candidate template ignored: substitution exceeded maximum template " "instantiation depth">; +def note_ovl_candidate_underqualified : Note< + "candidate template ignored: can't deduce a type for %0 which would " + "make %2 equal %1">; def note_ovl_candidate_substitution_failure : Note< "candidate template ignored: substitution failure %0">; |

