diff options
author | Alexis Hunt <alercah@gmail.com> | 2011-06-22 01:05:16 +0000 |
---|---|---|
committer | Alexis Hunt <alercah@gmail.com> | 2011-06-22 01:05:16 +0000 |
commit | fe268d1045c45a0441e644f0d93b932f806bded1 (patch) | |
tree | e10a4b95640236ccb4d43653036593c67f96526b /clang | |
parent | d74c85fdcc7a88ee9acea3284a111de795424e42 (diff) | |
download | bcm5719-llvm-fe268d1045c45a0441e644f0d93b932f806bded1.tar.gz bcm5719-llvm-fe268d1045c45a0441e644f0d93b932f806bded1.zip |
Extend the deleted overload candidate note to cover all cases. It
probably shouldn't cover the implicit member case, but it needs to until
more descriptive diagnostics are implemented.
llvm-svn: 133594
Diffstat (limited to 'clang')
-rw-r--r-- | clang/include/clang/Basic/DiagnosticSemaKinds.td | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td index 6b38d9f9fe6..55f1ec39567 100644 --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td +++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td @@ -1535,7 +1535,13 @@ def note_ovl_candidate_arity : Note<"candidate " def note_ovl_candidate_deleted : Note< "candidate %select{function|function|constructor|" - "function |function |constructor ||||constructor (inherited)}0%1 " + "function |function |constructor |" + "constructor (the implicit default constructor)|" + "constructor (the implicit copy constructor)|" + "constructor (the implicit move constructor)|" + "function (the implicit copy assignment operator)|" + "function (the implicit move assignment operator)|" + "constructor (inherited)}0%1 " "has been explicitly %select{made unavailable|deleted}2">; // Giving the index of the bad argument really clutters this message, and |