summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticSemaKinds.td
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2012-04-01 19:54:59 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2012-04-01 19:54:59 +0000
commit70e24fccc8ef4aa8be03a778e9655bfcfa79dd14 (patch)
tree6efa1d81ce9377e7d4ecf8d481b665d76976c1a9 /include/clang/Basic/DiagnosticSemaKinds.td
parent4a5f724538cbc275370c9504e8169ce92503256c (diff)
Properly handle explicit constructors in list-initialization. Fixes PR12120.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticSemaKinds.td')
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td
index 32ac7be9e5..863f9db164 100644
--- a/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/include/clang/Basic/DiagnosticSemaKinds.td
@@ -1189,6 +1189,10 @@ def warn_cxx98_compat_temp_copy : Warning<
"an inaccessible constructor|find no viable constructor|find ambiguous "
"constructors|invoke a deleted constructor}0 in C++98">,
InGroup<CXX98CompatBindToTemporaryCopy>, DefaultIgnore;
+def err_selected_explicit_constructor : Error<
+ "chosen constructor is explicit in copy-initialization">;
+def note_constructor_declared_here : Note<
+ "constructor declared here">;
// C++11 decltype
def err_decltype_in_declarator : Error<