]> granicus.if.org Git - clang/commitdiff
Extend the deleted overload candidate note to cover all cases. It
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Wed, 22 Jun 2011 01:05:16 +0000 (01:05 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Wed, 22 Jun 2011 01:05:16 +0000 (01:05 +0000)
probably shouldn't cover the implicit member case, but it needs to until
more descriptive diagnostics are implemented.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133594 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 6b38d9f9fe6677c6e495887001fa8a90fd2bcec1..55f1ec3956795298669ace6a36da4341865f5c00 100644 (file)
@@ -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