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

Douglas Gregor dgregor at apple.com
Thu Apr 8 15:07:57 PDT 2010


Author: dgregor
Date: Thu Apr  8 17:07:57 2010
New Revision: 100817

URL: http://llvm.org/viewvc/llvm-project?rev=100817&view=rev
Log:
Reorder diagnostics to separate the Sema::AssignmentAction diagnostics from other diagnostics

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=100817&r1=100816&r2=100817&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Thu Apr  8 17:07:57 2010
@@ -2231,13 +2231,6 @@
 def err_typecheck_convert_incompatible : Error<
   "incompatible type %select{assigning|passing|returning|converting|initializing|sending|casting}2"
   " %1, expected %0">;
-def err_typecheck_convert_ambiguous : Error<
-  "ambiguity in initializing value of type %0 with initializer of type %1">;
-def err_cannot_initialize_decl_noname : Error<
-  "cannot initialize a value of type %0 with an %select{rvalue|lvalue}1 "
-  "of type %2">;
-def err_cannot_initialize_decl : Error<
-  "cannot initialize %0 with an %select{rvalue|lvalue}1 of type %2">;
 def warn_incompatible_qualified_id : Warning<
   "incompatible type %select{assigning|passing|returning|converting|initializing|sending|casting}2"
   " %1, expected %0">;
@@ -2271,11 +2264,19 @@
   "invalid conversion "
   "%select{assigning|passing|returning|converting|initializing|sending|casting}2"
   " integer %1, expected block pointer %0">;
-def err_typecheck_comparison_of_distinct_blocks : Error<
-  "comparison of distinct block types (%0 and %1)">;
 def err_typecheck_convert_incompatible_block_pointer : Error<
   "incompatible block pointer types "
   "%select{assigning|passing|returning|converting|initializing|sending|casting}2 %1, expected %0">;
+  
+def err_typecheck_convert_ambiguous : Error<
+  "ambiguity in initializing value of type %0 with initializer of type %1">;
+def err_cannot_initialize_decl_noname : Error<
+  "cannot initialize a value of type %0 with an %select{rvalue|lvalue}1 "
+  "of type %2">;
+def err_cannot_initialize_decl : Error<
+  "cannot initialize %0 with an %select{rvalue|lvalue}1 of type %2">;
+def err_typecheck_comparison_of_distinct_blocks : Error<
+  "comparison of distinct block types (%0 and %1)">;
 
 def err_typecheck_array_not_modifiable_lvalue : Error<
   "array type %0 is not assignable">;





More information about the cfe-commits mailing list