From: Florian Hahn Date: Wed, 24 Jun 2020 14:29:27 +0000 (+0100) Subject: [Matrix] Group matrix diagnostics together (NFC). X-Git-Tag: llvmorg-12-init~1972 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22f02db625dd3ffd7d041edb6ef5af371f4fa474;p=platform%2Fupstream%2Fllvm.git [Matrix] Group matrix diagnostics together (NFC). --- diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td index ec31178..beccdf9 100644 --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td +++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td @@ -10789,35 +10789,28 @@ def err_matrix_separate_incomplete_index: Error< "matrix row and column subscripts cannot be separated by any expression">; def err_matrix_subscript_comma: Error< "comma expressions are not allowed as indices in matrix subscript expressions">; - -def warn_mismatched_import : Warning< - "import %select{module|name}0 (%1) does not match the import %select{module|name}0 (%2) of the " - "previous declaration">, - InGroup; -def warn_import_on_definition : Warning< - "import %select{module|name}0 cannot be applied to a function with a definition">, - InGroup; - def err_builtin_matrix_arg: Error<"first argument must be a matrix">; - def err_builtin_matrix_scalar_unsigned_arg: Error< "%0 argument must be a constant unsigned integer expression">; - def err_builtin_matrix_pointer_arg: Error< "%0 argument must be a pointer to a valid matrix element type">; - def err_builtin_matrix_pointer_arg_mismatch: Error< "the pointee of the second argument must match the element type of the first argument (%0 != %1)">; - def err_builtin_matrix_store_to_const: Error< "cannot store matrix to read-only pointer">; - def err_builtin_matrix_stride_too_small: Error< "stride must be greater or equal to the number of rows">; - def err_builtin_matrix_invalid_dimension: Error< "%0 dimension is outside the allowed range [1, %1]">; +def warn_mismatched_import : Warning< + "import %select{module|name}0 (%1) does not match the import %select{module|name}0 (%2) of the " + "previous declaration">, + InGroup; +def warn_import_on_definition : Warning< + "import %select{module|name}0 cannot be applied to a function with a definition">, + InGroup; + def err_preserve_field_info_not_field : Error< "__builtin_preserve_field_info argument %0 not a field access">; def err_preserve_field_info_not_const: Error<