[cfe-commits] r133594 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Sean Hunt scshunt at csclub.uwaterloo.ca
Tue Jun 21 18:05:16 PDT 2011

Author: coppro
Date: Tue Jun 21 20:05:16 2011
New Revision: 133594

URL: http://llvm.org/viewvc/llvm-project?rev=133594&view=rev
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.


Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=133594&r1=133593&r2=133594&view=diff
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Tue Jun 21 20:05:16 2011
@@ -1535,7 +1535,13 @@
 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

More information about the cfe-commits mailing list