note_expr_divide_by_zero
Note
Empty Category
Empty Group
division by zero
note_constexpr_invalid_cast
Note
Empty Category
Empty Group
(reinterpret_cast|dynamic_cast|cast that performs the conversions of a reinterpret_cast|cast from .*) is not allowed in a constant expression(| in C\+\+ standards before C\+\+20||)
note_constexpr_invalid_downcast
Note
Empty Category
Empty Group
cannot cast object of dynamic type .* to type .*
note_constexpr_overflow
Note
Empty Category
Empty Group
value .* is outside the range of representable values of type .*
note_constexpr_negative_shift
Note
Empty Category
Empty Group
negative shift count .*
note_constexpr_large_shift
Note
Empty Category
Empty Group
shift count .* >= width of type .* \(.* bit.*\)
note_constexpr_lshift_of_negative
Note
Empty Category
Empty Group
left shift of negative value .*
note_constexpr_lshift_discards
Note
Empty Category
Empty Group
signed left shift discards bits
note_constexpr_invalid_function
Note
Empty Category
Empty Group
(non-constexpr|undefined) (function|constructor) .* cannot be used in a constant expression
note_constexpr_invalid_inhctor
Note
Empty Category
Empty Group
constructor inherited from base class .* cannot be used in a constant expression; derived class cannot be implicitly initialized
note_constexpr_no_return
Note
Empty Category
Empty Group
control reached end of constexpr function
note_constexpr_virtual_call
Note
Empty Category
Empty Group
cannot evaluate call to virtual function in a constant expression in C\+\+ standards before C\+\+20
note_constexpr_pure_virtual_call
Note
Empty Category
Empty Group
pure virtual function .* called
note_constexpr_polymorphic_unknown_dynamic_type
Note
Empty Category
Empty Group
(|||||virtual function called on|dynamic_cast applied to|typeid applied to|construction of|destruction of) object '.*' whose dynamic type is not constant
note_constexpr_dynamic_cast_to_reference_failed
Note
Empty Category
Empty Group
reference dynamic_cast failed: (static type .* of operand is a non-public base class of dynamic type .*|dynamic type .* of operand does not have a base class of type .*|.* is an ambiguous base class of dynamic type .* of operand|.* is a non-public base class of dynamic type .* of operand)
note_constexpr_virtual_base
Note
Empty Category
Empty Group
cannot construct object of type .* with virtual base class in a constant expression
note_constexpr_nonliteral
Note
Empty Category
Empty Group
non-literal type .* cannot be used in a constant expression
note_constexpr_non_global
Note
Empty Category
Empty Group
(pointer|reference) to (|subobject of )(temporary|.*) is not a constant expression
note_constexpr_not_static
Note
Empty Category
Empty Group
address of non-static constexpr variable .* may differ on each invocation of the enclosing function; add 'static' to give it a constant address
note_constexpr_dynamic_alloc
Note
Empty Category
Empty Group
(pointer|reference) to (|subobject of )heap-allocated object is not a constant expression
note_consteval_address_accessible
Note
Empty Category
Empty Group
(pointer|reference) to a consteval declaration is not a constant expression
note_constexpr_uninitialized
Note
Empty Category
Empty Group
(|sub)object of type .* is not initialized
note_constexpr_subobject_declared_here
Note
Empty Category
Empty Group
subobject declared here
note_constexpr_array_index
Note
Empty Category
Empty Group
cannot refer to element .* of (array of .* element(|s)|non-array object) in a constant expression
note_constexpr_float_arithmetic
Note
Empty Category
Empty Group
floating point arithmetic produces (an infinity|a NaN)
note_constexpr_dynamic_rounding
Note
Empty Category
Empty Group
cannot evaluate this expression if rounding mode is dynamic
note_constexpr_pointer_subtraction_not_same_array
Note
Empty Category
Empty Group
subtracted pointers are not elements of the same array
note_constexpr_pointer_subtraction_zero_size
Note
Empty Category
Empty Group
subtraction of pointers to type .* of zero size
note_constexpr_pointer_comparison_unspecified
Note
Empty Category
Empty Group
comparison has unspecified value
note_constexpr_pointer_comparison_base_classes
Note
Empty Category
Empty Group
comparison of addresses of subobjects of different base classes has unspecified value
note_constexpr_pointer_comparison_base_field
Note
Empty Category
Empty Group
comparison of address of base class subobject .* of class .* to field .* has unspecified value
note_constexpr_pointer_comparison_differing_access
Note
Empty Category
Empty Group
comparison of address of fields .* and .* of .* with differing access specifiers \(.* vs .*\) has unspecified value
note_constexpr_compare_virtual_mem_ptr
Note
Empty Category
Empty Group
comparison of pointer to virtual member function .* has unspecified value
note_constexpr_past_end
Note
Empty Category
Empty Group
dereferenced pointer past the end of (|subobject of )(temporary|.*) is not a constant expression
note_constexpr_past_end_subobject
Note
Empty Category
Empty Group
cannot (access base class of|access derived class of|access field of|access array element of|ERROR|access real component of|access imaginary component of) pointer past the end of object
note_non_null_attribute_failed
Note
Empty Category
Empty Group
null passed to a callee that requires a non-null argument
note_constexpr_null_subobject
Note
Empty Category
Empty Group
cannot (access base class of|access derived class of|access field of|access array element of|perform pointer arithmetic on|access real component of|access imaginary component of) null pointer
note_constexpr_function_param_value_unknown
Note
Empty Category
Empty Group
function parameter .* with unknown value cannot be used in a constant expression
note_constexpr_var_init_unknown
Note
Empty Category
Empty Group
initializer of .* is unknown
note_constexpr_var_init_non_constant
Note
Empty Category
Empty Group
initializer of .* is not a constant expression
note_constexpr_var_init_weak
Note
Empty Category
Empty Group
initializer of weak variable .* is not considered constant because it may be different at runtime
note_constexpr_typeid_polymorphic
Note
Empty Category
Empty Group
typeid applied to expression of polymorphic type .* is not allowed in a constant expression in C\+\+ standards before C\+\+20
note_constexpr_void_comparison
Note
Empty Category
Empty Group
comparison between unequal pointers to void has unspecified result
note_constexpr_temporary_here
Note
Empty Category
Empty Group
temporary created here
note_constexpr_dynamic_alloc_here
Note
Empty Category
Empty Group
heap allocation performed here
note_constexpr_conditional_never_const
Note
Empty Category
Empty Group
both arms of conditional operator are unable to produce a constant expression
note_constexpr_depth_limit_exceeded
Note
Empty Category
Empty Group
constexpr evaluation exceeded maximum depth of .* calls
note_constexpr_call_limit_exceeded
Note
Empty Category
Empty Group
constexpr evaluation hit maximum call limit
note_constexpr_step_limit_exceeded
Note
Empty Category
Empty Group
constexpr evaluation hit maximum step limit; possible infinite loop\?
note_constexpr_heap_alloc_limit_exceeded
Note
Empty Category
Empty Group
constexpr evaluation hit maximum heap allocation limit
note_constexpr_this
Note
Empty Category
Empty Group
(|implicit )use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
note_constexpr_lifetime_ended
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of|destruction of) (temporary|variable) whose (storage duration|lifetime) has ended
note_constexpr_access_uninit
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of subobject of|destruction of) (object outside its lifetime|uninitialized object) is not allowed in a constant expression
note_constexpr_use_uninit_reference
Note
Empty Category
Empty Group
use of reference outside its lifetime is not allowed in a constant expression
note_constexpr_modify_const_type
Note
Empty Category
Empty Group
modification of object of const-qualified type .* is not allowed in a constant expression
note_constexpr_access_volatile_type
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|<ERROR>|<ERROR>|<ERROR>|<ERROR>) volatile-qualified type .* is not allowed in a constant expression
note_constexpr_access_volatile_obj
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|<ERROR>|<ERROR>|<ERROR>|<ERROR>) volatile (temporary|object .*|member .*) is not allowed in a constant expression
note_constexpr_volatile_here
Note
Empty Category
Empty Group
volatile (temporary created|object declared|member declared) here
note_constexpr_access_mutable
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of|destruction of) mutable member .* is not allowed in a constant expression
note_constexpr_ltor_non_const_int
Note
Empty Category
Empty Group
read of non-const variable .* is not allowed in a constant expression
note_constexpr_ltor_non_integral
Note
Empty Category
Empty Group
read of variable .* of non-integral, non-enumeration type .* is not allowed in a constant expression
note_constexpr_ltor_non_constexpr
Note
Empty Category
Empty Group
read of non-constexpr variable .* is not allowed in a constant expression
note_constexpr_ltor_incomplete_type
Note
Empty Category
Empty Group
read of incomplete type .* is not allowed in a constant expression
note_constexpr_access_null
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of|destruction of) dereferenced null pointer is not allowed in a constant expression
note_constexpr_access_past_end
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of|destruction of) dereferenced one-past-the-end pointer is not allowed in a constant expression
note_constexpr_access_unsized_array
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of|destruction of) element of array without known bound is not allowed in a constant expression
note_constexpr_access_inactive_union_member
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of subobject of|destruction of) member .* of union with (active member .*|no active member) is not allowed in a constant expression
note_constexpr_union_member_change_during_init
Note
Empty Category
Empty Group
assignment would change active union member during the initialization of a different member of the same union
note_constexpr_access_static_temporary
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|reconstruction of|destruction of) temporary is not allowed in a constant expression outside the expression that created the temporary
note_constexpr_access_unreadable_object
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of|destruction of) object '.*' whose value is not known
note_constexpr_access_deleted_object
Note
Empty Category
Empty Group
(read of|read of|assignment to|increment of|decrement of|member call on|dynamic_cast of|typeid applied to|construction of|destruction of) heap allocated object that has been deleted
note_constexpr_modify_global
Note
Empty Category
Empty Group
a constant expression cannot modify an object that is visible outside that expression
note_constexpr_stmt_expr_unsupported
Note
Empty Category
Empty Group
this use of statement expressions is not supported in a constant expression
note_constexpr_calls_suppressed
Note
Empty Category
Empty Group
\(skipping .* call.* in backtrace; use -fconstexpr-backtrace-limit=0 to see all\)
note_constexpr_call_here
Note
Empty Category
Empty Group
in call to '.*'
note_constexpr_inherited_ctor_call_here
Note
Empty Category
Empty Group
in implicit initialization for inherited constructor of .*
note_constexpr_baa_insufficient_alignment
Note
Empty Category
Empty Group
(alignment of|offset of the aligned pointer from) the base pointee object \(.* (byte|bytes)\) is (less than|not a multiple of) the asserted .* (byte|bytes)
note_constexpr_baa_value_insufficient_alignment
Note
Empty Category
Empty Group
value of the aligned pointer \(.*\) is not a multiple of the asserted .* (byte|bytes)
note_constexpr_invalid_alignment
Note
Empty Category
Empty Group
requested alignment .* is not a positive power of two
note_constexpr_alignment_too_big
Note
Empty Category
Empty Group
requested alignment must be .* or less for type .*; .* is invalid
note_constexpr_alignment_compute
Note
Empty Category
Empty Group
cannot constant evaluate whether run-time alignment is at least .*
note_constexpr_alignment_adjust
Note
Empty Category
Empty Group
cannot constant evaluate the result of adjusting alignment to .*
note_constexpr_destroy_out_of_lifetime
Note
Empty Category
Empty Group
destroying object '.*' whose lifetime has already ended
note_constexpr_unsupported_destruction
Note
Empty Category
Empty Group
non-trivial destruction of type .* in a constant expression is not supported
note_constexpr_unsupported_tempoarary_nontrivial_dtor
Note
Empty Category
Empty Group
non-trivial destruction of lifetime-extended temporary with type .* used in the result of a constant expression is not yet supported
note_constexpr_unsupported_unsized_array
Note
Empty Category
Empty Group
array-to-pointer decay of array member without known bound is not supported
note_constexpr_unsized_array_indexed
Note
Empty Category
Empty Group
indexing of array without known bound is not allowed in a constant expression
note_constexpr_memcmp_unsupported
Note
Empty Category
Empty Group
constant evaluation of .* between arrays of types .* and .* is not supported; only arrays of narrow character types can be compared
note_constexpr_memchr_unsupported
Note
Empty Category
Empty Group
constant evaluation of .* on array of type .* is not supported; only arrays of narrow character types can be searched
note_constexpr_memcpy_null
Note
Empty Category
Empty Group
(source|destination) of '((memcpy|wmemcpy)|(memmove|wmemmove))' is .*
note_constexpr_memcpy_type_pun
Note
Empty Category
Empty Group
cannot constant evaluate '(memcpy|memmove)' from object of type .* to object of type .*
note_constexpr_memcpy_nontrivial
Note
Empty Category
Empty Group
cannot constant evaluate '(memcpy|memmove)' between objects of non-trivially-copyable type .*
note_constexpr_memcpy_incomplete_type
Note
Empty Category
Empty Group
cannot constant evaluate '(memcpy|memmove)' between objects of incomplete type .*
note_constexpr_memcpy_overlap
Note
Empty Category
Empty Group
'(memcpy|wmemcpy)' between overlapping memory regions
note_constexpr_memcpy_unsupported
Note
Empty Category
Empty Group
'((memcpy|wmemcpy)|(memmove|wmemmove))' not supported: (size to copy \(.*\) is not a multiple of size of element type .* \(.*\)|source is not a contiguous array of at least .* elements of type .*|destination is not a contiguous array of at least .* elements of type .*)
note_constexpr_bit_cast_unsupported_type
Note
Empty Category
Empty Group
constexpr bit_cast involving type .* is not yet supported
note_constexpr_bit_cast_unsupported_bitfield
Note
Empty Category
Empty Group
constexpr bit_cast involving bit-field is not yet supported
note_constexpr_bit_cast_invalid_type
Note
Empty Category
Empty Group
bit_cast (from|to) a (|type with a )(union|pointer|member pointer|volatile|reference) (type|member) is not allowed in a constant expression
note_constexpr_bit_cast_invalid_subtype
Note
Empty Category
Empty Group
invalid type .* is a (member|base) of .*
note_constexpr_bit_cast_indet_dest
Note
Empty Category
Empty Group
indeterminate value can only initialize an object of type 'unsigned char'(, 'char',|) or 'std::byte'; .* is invalid
note_constexpr_bit_cast_unrepresentable_value
Note
Empty Category
Empty Group
value .* cannot be represented in type .*
note_constexpr_pseudo_destructor
Note
Empty Category
Empty Group
pseudo-destructor call is not permitted in constant expressions until C\+\+20
note_constexpr_construct_complex_elem
Note
Empty Category
Empty Group
construction of individual component of complex number is not yet supported in constant expressions
note_constexpr_destroy_complex_elem
Note
Empty Category
Empty Group
destruction of individual component of complex number is not yet supported in constant expressions
note_constexpr_new
Note
Empty Category
Empty Group
dynamic memory allocation is not permitted in constant expressions until C\+\+20
note_constexpr_new_non_replaceable
Note
Empty Category
Empty Group
call to (placement|class-specific) .*
note_constexpr_new_placement
Note
Empty Category
Empty Group
this placement new expression is not yet supported in constant expressions
note_constexpr_placement_new_wrong_type
Note
Empty Category
Empty Group
placement new would change type of storage from .* to .*
note_constexpr_new_negative
Note
Empty Category
Empty Group
cannot allocate array; evaluated array bound .* is negative
note_constexpr_new_too_large
Note
Empty Category
Empty Group
cannot allocate array; evaluated array bound .* is too large
note_constexpr_new_too_small
Note
Empty Category
Empty Group
cannot allocate array; evaluated array bound .* is too small to hold .* explicitly initialized elements
note_constexpr_new_untyped
Note
Empty Category
Empty Group
cannot allocate untyped memory in a constant expression; use 'std::allocator<T>::allocate' to allocate memory of type 'T'
note_constexpr_new_not_complete_object_type
Note
Empty Category
Empty Group
cannot allocate memory of (incomplete|function) type .*
note_constexpr_operator_new_bad_size
Note
Empty Category
Empty Group
allocated size .* is not a multiple of size .* of element type .*
note_constexpr_delete_not_heap_alloc
Note
Empty Category
Empty Group
delete of pointer '.*' that does not point to a heap-allocated object
note_constexpr_double_delete
Note
Empty Category
Empty Group
delete of pointer that has already been deleted
note_constexpr_double_destroy
Note
Empty Category
Empty Group
destruction of object that is already being destroyed
note_constexpr_new_delete_mismatch
Note
Empty Category
Empty Group
('delete' used to delete pointer to object allocated with 'std::allocator<\.\.\.>::allocate'|(non-array delete|array delete|'std::allocator<\.\.\.>::deallocate') used to delete pointer to (array object of type .*|non-array object of type .*|object allocated with 'new'))
note_constexpr_delete_subobject
Note
Empty Category
Empty Group
delete of pointer( to subobject|) '.*' (|that does not point to complete object)
note_constexpr_delete_base_nonvirt_dtor
Note
Empty Category
Empty Group
delete of object with dynamic type .* through pointer to base class type .* with non-virtual destructor
note_constexpr_memory_leak
Note
Empty Category
Empty Group
allocation performed here was not deallocated(| \(along with .* other memory leak.*\))
note_constexpr_unsupported_layout
Note
Empty Category
Empty Group
type .* has unexpected layout
err_experimental_clang_interp_failed
Error
Empty Category
Empty Group
the experimental clang interpreter failed to evaluate an expression
warn_integer_constant_overflow
Warning
Empty Category
integer-overflow
overflow in expression; result is .* with type .*
warn_fixedpoint_constant_overflow
Warning
Empty Category
fixed-point-overflow
overflow in expression; result is .* with type .*
note_unimplemented_constexpr_lambda_feature_ast
Note
Empty Category
Empty Group
unimplemented constexpr lambda feature: .* \(coming soon!\)
warn_is_constant_evaluated_always_true_constexpr
Warning
Empty Category
constant-evaluated
'.*' will always evaluate to 'true' in a manifestly constant-evaluated expression
err_asm_invalid_escape
Error
Inline Assembly Issue
Empty Group
invalid % escape in inline assembly string
err_asm_unknown_symbolic_operand_name
Error
Inline Assembly Issue
Empty Group
unknown symbolic operand name in inline assembly string
err_asm_unterminated_symbolic_operand_name
Error
Inline Assembly Issue
Empty Group
unterminated symbolic operand name in inline assembly string
err_asm_empty_symbolic_operand_name
Error
Inline Assembly Issue
Empty Group
empty symbolic operand name in inline assembly string
err_asm_invalid_operand_number
Error
Inline Assembly Issue
Empty Group
invalid operand number in inline asm string
err_vftable_ambiguous_component
Error
VTable ABI Issue
Empty Group
ambiguous vftable component for .* introduced via covariant thunks; this is an inherent limitation of the ABI
note_covariant_thunk
Note
VTable ABI Issue
Empty Group
covariant thunk required by .*
err_odr_variable_type_inconsistent
Error
Empty Category
Empty Group
external variable .* declared with incompatible types in different translation units \(.* vs\. .*\)
warn_odr_variable_type_inconsistent
Warning
Empty Category
odr
external variable .* declared with incompatible types in different translation units \(.* vs\. .*\)
err_odr_variable_multiple_def
Error
Empty Category
Empty Group
external variable .* defined in multiple translation units
warn_odr_variable_multiple_def
Warning
Empty Category
odr
external variable .* defined in multiple translation units
note_odr_value_here
Note
Empty Category
Empty Group
declared here with type .*
err_odr_function_type_inconsistent
Error
Empty Category
Empty Group
external function .* declared with incompatible types in different translation units \(.* vs\. .*\)
warn_odr_function_type_inconsistent
Warning
Empty Category
odr
external function .* declared with incompatible types in different translation units \(.* vs\. .*\)
err_odr_tag_type_inconsistent
Error
Empty Category
Empty Group
type .* has incompatible definitions in different translation units
warn_odr_tag_type_inconsistent
Warning
Empty Category
odr
type .* has incompatible definitions in different translation units
note_odr_tag_kind_here
Note
Empty Category
Empty Group
.* is a (struct|interface|union|class|enum) here
note_odr_field
Note
Empty Category
Empty Group
field .* has type .* here
note_odr_field_name
Note
Empty Category
Empty Group
field has name .* here
note_odr_missing_field
Note
Empty Category
Empty Group
no corresponding field here
note_odr_bit_field
Note
Empty Category
Empty Group
bit-field .* with type .* and length .* here
note_odr_not_bit_field
Note
Empty Category
Empty Group
field .* is not a bit-field
note_odr_base
Note
Empty Category
Empty Group
class has base type .*
note_odr_virtual_base
Note
Empty Category
Empty Group
(non-virtual|virtual) derivation here
note_odr_missing_base
Note
Empty Category
Empty Group
no corresponding base class here
note_odr_number_of_bases
Note
Empty Category
Empty Group
class has .* base (class|classes)
note_odr_enumerator
Note
Empty Category
Empty Group
enumerator .* with value .* here
note_odr_missing_enumerator
Note
Empty Category
Empty Group
no corresponding enumerator here
err_odr_field_type_inconsistent
Error
Empty Category
Empty Group
field .* declared with incompatible types in different translation units \(.* vs\. .*\)
warn_odr_field_type_inconsistent
Warning
Empty Category
odr
field .* declared with incompatible types in different translation units \(.* vs\. .*\)
err_odr_ivar_type_inconsistent
Error
Empty Category
Empty Group
instance variable .* declared with incompatible types in different translation units \(.* vs\. .*\)
warn_odr_ivar_type_inconsistent
Warning
Empty Category
odr
instance variable .* declared with incompatible types in different translation units \(.* vs\. .*\)
err_odr_objc_superclass_inconsistent
Error
Empty Category
Empty Group
class .* has incompatible superclasses
warn_odr_objc_superclass_inconsistent
Warning
Empty Category
odr
class .* has incompatible superclasses
note_odr_objc_superclass
Note
Empty Category
Empty Group
inherits from superclass .* here
note_odr_objc_missing_superclass
Note
Empty Category
Empty Group
no corresponding superclass here
err_odr_objc_method_result_type_inconsistent
Error
Empty Category
Empty Group
(class|instance) method .* has incompatible result types in different translation units \(.* vs\. .*\)
warn_odr_objc_method_result_type_inconsistent
Warning
Empty Category
odr
(class|instance) method .* has incompatible result types in different translation units \(.* vs\. .*\)
err_odr_objc_method_num_params_inconsistent
Error
Empty Category
Empty Group
(class|instance) method .* has a different number of parameters in different translation units \(.* vs\. .*\)
warn_odr_objc_method_num_params_inconsistent
Warning
Empty Category
odr
(class|instance) method .* has a different number of parameters in different translation units \(.* vs\. .*\)
err_odr_objc_method_param_type_inconsistent
Error
Empty Category
Empty Group
(class|instance) method .* has a parameter with a different types in different translation units \(.* vs\. .*\)
warn_odr_objc_method_param_type_inconsistent
Warning
Empty Category
odr
(class|instance) method .* has a parameter with a different types in different translation units \(.* vs\. .*\)
err_odr_objc_method_variadic_inconsistent
Error
Empty Category
Empty Group
(class|instance) method .* is variadic in one translation unit and not variadic in another
warn_odr_objc_method_variadic_inconsistent
Warning
Empty Category
odr
(class|instance) method .* is variadic in one translation unit and not variadic in another
note_odr_objc_method_here
Note
Empty Category
Empty Group
(class|instance) method .* also declared here
err_odr_objc_property_type_inconsistent
Error
Empty Category
Empty Group
property .* declared with incompatible types in different translation units \(.* vs\. .*\)
warn_odr_objc_property_type_inconsistent
Warning
Empty Category
odr
property .* declared with incompatible types in different translation units \(.* vs\. .*\)
err_odr_objc_property_impl_kind_inconsistent
Error
Empty Category
Empty Group
property .* is implemented with (@synthesize|@dynamic) in one translation but (@dynamic|@synthesize) in another translation unit
warn_odr_objc_property_impl_kind_inconsistent
Warning
Empty Category
odr
property .* is implemented with (@synthesize|@dynamic) in one translation but (@dynamic|@synthesize) in another translation unit
note_odr_objc_property_impl_kind
Note
Empty Category
Empty Group
property .* is implemented with (@synthesize|@dynamic) here
err_odr_objc_synthesize_ivar_inconsistent
Error
Empty Category
Empty Group
property .* is synthesized to different ivars in different translation units \(.* vs\. .*\)
warn_odr_objc_synthesize_ivar_inconsistent
Warning
Empty Category
odr
property .* is synthesized to different ivars in different translation units \(.* vs\. .*\)
note_odr_objc_synthesize_ivar_here
Note
Empty Category
Empty Group
property is synthesized to ivar .* here
note_odr_friend
Note
Empty Category
Empty Group
friend declared here
note_odr_missing_friend
Note
Empty Category
Empty Group
no corresponding friend here
err_odr_different_num_template_parameters
Error
Empty Category
Empty Group
template parameter lists have a different number of parameters \(.* vs .*\)
warn_odr_different_num_template_parameters
Warning
Empty Category
odr
template parameter lists have a different number of parameters \(.* vs .*\)
note_odr_template_parameter_list
Note
Empty Category
Empty Group
template parameter list also declared here
err_odr_different_template_parameter_kind
Error
Empty Category
Empty Group
template parameter has different kinds in different translation units
warn_odr_different_template_parameter_kind
Warning
Empty Category
odr
template parameter has different kinds in different translation units
note_odr_template_parameter_here
Note
Empty Category
Empty Group
template parameter declared here
err_odr_parameter_pack_non_pack
Error
Empty Category
Empty Group
parameter kind mismatch; parameter is (not a|a) parameter pack
warn_odr_parameter_pack_non_pack
Warning
Empty Category
odr
parameter kind mismatch; parameter is (not a|a) parameter pack
note_odr_parameter_pack_non_pack
Note
Empty Category
Empty Group
(parameter|parameter pack) declared here
err_odr_non_type_parameter_type_inconsistent
Error
Empty Category
Empty Group
non-type template parameter declared with incompatible types in different translation units \(.* vs\. .*\)
warn_odr_non_type_parameter_type_inconsistent
Warning
Empty Category
odr
non-type template parameter declared with incompatible types in different translation units \(.* vs\. .*\)
err_unsupported_ast_node
Error
Empty Category
Empty Group
cannot import unsupported AST node .*
remark_sanitize_address_insert_extra_padding_accepted
Remark
Empty Category
sanitize-address
-fsanitize-address-field-padding applied to .*
remark_sanitize_address_insert_extra_padding_rejected
Remark
Empty Category
sanitize-address
-fsanitize-address-field-padding ignored for .* because it (is not C\+\+|is packed|is a union|is trivially copyable|has trivial destructor|is standard layout|is in a blacklisted file|is blacklisted)
warn_npot_ms_struct
Warning
Empty Category
incompatible-ms-struct
ms_struct may not produce Microsoft-compatible layouts with fundamental data types with sizes that aren't a power of two
warn_padded_struct_field
Warning
Empty Category
padded
padding (struct|interface|class) .* with .* (byte|bit).* to align .*
warn_padded_struct_anon_field
Warning
Empty Category
padded
padding (struct|interface|class) .* with .* (byte|bit).* to align anonymous bit-field
warn_padded_struct_size
Warning
Empty Category
padded
padding size of .* with .* (byte|bit).* to alignment boundary
warn_unnecessary_packed
Warning
Empty Category
packed
packed attribute is unnecessary for .*
warn_doc_html_start_tag_expected_quoted_string
Warning
Documentation Issue
documentation
expected quoted string after equals sign
warn_doc_html_start_tag_expected_ident_or_greater
Warning
Documentation Issue
documentation
HTML start tag prematurely ended, expected attribute name or '>'
note_doc_html_tag_started_here
Note
Documentation Issue
Empty Group
HTML tag started here
warn_doc_html_end_forbidden
Warning
Documentation Issue
documentation-html
HTML end tag '.*' is forbidden
warn_doc_html_end_unbalanced
Warning
Documentation Issue
documentation-html
HTML end tag does not match any start tag
warn_doc_html_start_end_mismatch
Warning
Documentation Issue
documentation-html
HTML start tag '.*' closed by '.*'
note_doc_html_end_tag
Note
Documentation Issue
Empty Group
end tag
warn_doc_html_missing_end_tag
Warning
Documentation Issue
documentation-html
HTML tag '.*' requires an end tag
warn_doc_block_command_empty_paragraph
Warning
Documentation Issue
documentation
empty paragraph passed to '(\\|@).*' command
warn_doc_block_command_duplicate
Warning
Documentation Issue
documentation
duplicated command '(\\|@).*'
note_doc_block_command_previous
Note
Documentation Issue
Empty Group
previous command '(\\|@).*' here
note_doc_block_command_previous_alias
Note
Documentation Issue
Empty Group
previous command '(\\|@).*' \(an alias of '\\.*'\) here
warn_doc_param_invalid_direction
Warning
Documentation Issue
documentation
unrecognized parameter passing direction, valid directions are '\[in\]', '\[out\]' and '\[in,out\]'
warn_doc_param_spaces_in_direction
Warning
Documentation Issue
documentation-pedantic
whitespace is not allowed in parameter passing direction
warn_doc_param_not_attached_to_a_function_decl
Warning
Documentation Issue
documentation
'(\\|@)param' command used in a comment that is not attached to a function declaration
warn_doc_function_method_decl_mismatch
Warning
Documentation Issue
documentation
'(\\|@)(function|functiongroup|method|methodgroup|callback)' command should be used in a comment attached to (a function|a function|an Objective-C method|an Objective-C method|a pointer to function) declaration
warn_doc_api_container_decl_mismatch
Warning
Documentation Issue
documentation
'(\\|@)(class|interface|protocol|struct|union)' command should not be used in a comment attached to a non-(class|interface|protocol|struct|union) declaration
warn_doc_container_decl_mismatch
Warning
Documentation Issue
documentation
'(\\|@)(classdesign|coclass|dependency|helper|helperclass|helps|instancesize|ownership|performance|security|superclass)' command should not be used in a comment attached to a non-container declaration
warn_doc_param_duplicate
Warning
Documentation Issue
documentation
parameter '.*' is already documented
note_doc_param_previous
Note
Documentation Issue
Empty Group
previous documentation
warn_doc_param_not_found
Warning
Documentation Issue
documentation
parameter '.*' not found in the function declaration
note_doc_param_name_suggestion
Note
Documentation Issue
Empty Group
did you mean '.*'\?
warn_doc_tparam_not_attached_to_a_template_decl
Warning
Documentation Issue
documentation
'(\\|@)tparam' command used in a comment that is not attached to a template declaration
warn_doc_tparam_duplicate
Warning
Documentation Issue
documentation
template parameter '.*' is already documented
note_doc_tparam_previous
Note
Documentation Issue
Empty Group
previous documentation
warn_doc_tparam_not_found
Warning
Documentation Issue
documentation
template parameter '.*' not found in the template declaration
note_doc_tparam_name_suggestion
Note
Documentation Issue
Empty Group
did you mean '.*'\?
warn_doc_returns_not_attached_to_a_function_decl
Warning
Documentation Issue
documentation
'(\\|@).*' command used in a comment that is not attached to a function or method declaration
warn_doc_returns_attached_to_a_void_function
Warning
Documentation Issue
documentation
'(\\|@).*' command used in a comment that is attached to a (function returning void|constructor|destructor|method returning void)
warn_doc_deprecated_not_sync
Warning
Documentation Issue
documentation-deprecated-sync
declaration is marked with '(\\|@)deprecated' command but does not have a deprecation attribute
note_add_deprecation_attr
Note
Documentation Issue
Empty Group
add a deprecation attribute to the declaration to silence this warning
warn_doc_inline_contents_no_argument
Warning
Documentation Issue
documentation
'(\\|@).*' command does not have a valid word argument
warn_verbatim_block_end_without_start
Warning
Documentation Issue
documentation
'(\\|@).*' command does not terminate a verbatim text block
warn_unknown_comment_command_name
Warning
Documentation Issue
documentation-unknown-command
unknown command tag name
warn_correct_comment_command_name
Warning
Documentation Issue
documentation-unknown-command
unknown command tag name '.*'; did you mean '.*'\?
fatal_too_many_errors
Error
Empty Category
Empty Group
too many errors emitted, stopping now
warn_stack_exhausted
Warning
Empty Category
stack-exhausted
stack nearly exhausted; compilation time may suffer, and crashes due to stack overflow are likely
note_declared_at
Note
Empty Category
Empty Group
declared here
note_previous_definition
Note
Empty Category
Empty Group
previous definition is here
note_previous_declaration
Note
Empty Category
Empty Group
previous declaration is here
note_previous_implicit_declaration
Note
Empty Category
Empty Group
previous implicit declaration is here
note_previous_use
Note
Empty Category
Empty Group
previous use is here
note_duplicate_case_prev
Note
Empty Category
Empty Group
previous case defined here
note_forward_declaration
Note
Empty Category
Empty Group
forward declaration of .*
note_type_being_defined
Note
Empty Category
Empty Group
definition of .* is not complete until the closing '\}'
note_matching
Note
Empty Category
Empty Group
to match this .*
note_using
Note
Empty Category
Empty Group
using
note_possibility
Note
Empty Category
Empty Group
one possibility
note_also_found
Note
Empty Category
Empty Group
also found
err_expected_colon_after_setter_name
Error
Lexical or Preprocessor Issue
Empty Group
method name referenced in property setter attribute must end with ':'
err_expected_string_literal
Error
Lexical or Preprocessor Issue
Empty Group
expected string literal (in .*|for diagnostic message in static_assert|for optional message in 'availability' attribute|for (language|source container) name in 'external_source_symbol' attribute)
err_invalid_string_udl
Error
Lexical or Preprocessor Issue
Empty Group
string literal with user-defined suffix cannot be used here
err_invalid_character_udl
Error
Lexical or Preprocessor Issue
Empty Group
character literal with user-defined suffix cannot be used here
err_invalid_numeric_udl
Error
Lexical or Preprocessor Issue
Empty Group
numeric literal with user-defined suffix cannot be used here
err_expected
Error
Parse Issue
Empty Group
expected .*
err_expected_either
Error
Parse Issue
Empty Group
expected .* or .*
err_expected_after
Error
Parse Issue
Empty Group
expected .* after .*
err_param_redefinition
Error
Parse Issue
Empty Group
redefinition of parameter .*
warn_method_param_redefinition
Warning
Parse Issue
Empty Group
redefinition of method parameter .*
warn_method_param_declaration
Warning
Parse Issue
duplicate-method-arg
redeclaration of method parameter .*
err_invalid_storage_class_in_func_decl
Error
Parse Issue
Empty Group
invalid storage class specifier in function declarator
err_expected_namespace_name
Error
Parse Issue
Empty Group
expected namespace name
ext_variadic_templates
ExtWarn
Parse Issue
c++11-extensions
variadic templates are a C\+\+11 extension
warn_cxx98_compat_variadic_templates
Warning
Parse Issue
c++98-compat
variadic templates are incompatible with C\+\+98
err_default_special_members
Error
Parse Issue
Empty Group
only special member functions (|and comparison operators )may be defaulted
err_deleted_non_function
Error
Parse Issue
Empty Group
only functions can have deleted definitions
err_module_not_found
Error
Parse Issue
Empty Group
module '.*' not found
err_module_not_built
Error
Parse Issue
Empty Group
could not build module '.*'
err_module_build_disabled
Error
Parse Issue
Empty Group
module '.*' is needed but has not been provided, and implicit use of module files is disabled
err_module_unavailable
Error
Parse Issue
Empty Group
module '.*' (is incompatible with|requires) feature '.*'
err_module_header_missing
Error
Parse Issue
Empty Group
(|umbrella )header '.*' not found
remark_module_lock_failure
Remark
Parse Issue
module-build
could not acquire lock file for module '.*': .*
remark_module_lock_timeout
Remark
Parse Issue
module-build
timed out waiting to acquire lock file for module '.*'
err_module_shadowed
Error
Parse Issue
Empty Group
import of shadowed module '.*'
err_module_build_shadowed_submodule
Error
Parse Issue
Empty Group
build a shadowed submodule '.*'
err_module_cycle
Error
Parse Issue
Empty Group
cyclic dependency in module '.*': .*
err_module_prebuilt
Error
Parse Issue
Empty Group
error in loading module '.*' from prebuilt module path
note_pragma_entered_here
Note
Parse Issue
Empty Group
#pragma entered here
note_decl_hiding_tag_type
Note
Parse Issue
Empty Group
.* .* is hidden by a non-type declaration of .* here
err_attribute_not_type_attr
Error
Parse Issue
Empty Group
.* attribute cannot be applied to types
err_enum_template
Error
Parse Issue
Empty Group
enumeration cannot be a template
warn_cxx20_compat_consteval
Warning
Parse Issue
c++20-compat
'consteval' specifier is incompatible with C\+\+ standards before C\+\+20
warn_nullability_duplicate
Warning
Nullability Issue
nullability
duplicate nullability specifier .*
warn_conflicting_nullability_attr_overriding_ret_types
Warning
Nullability Issue
nullability
conflicting nullability specifier on return types, .* conflicts with existing specifier .*
warn_conflicting_nullability_attr_overriding_param_types
Warning
Nullability Issue
nullability
conflicting nullability specifier on parameter types, .* conflicts with existing specifier .*
err_nullability_conflicting
Error
Nullability Issue
Empty Group
nullability specifier .* conflicts with existing specifier .*
err_opencl_unknown_type_specifier
Error
Empty Category
Empty Group
(OpenCL C|C\+\+ for OpenCL) version .* does not support the '.*' (type qualifier|storage class specifier)
warn_unknown_attribute_ignored
Warning
Empty Category
unknown-attributes
unknown attribute .* ignored
err_use_of_tag_name_without_tag
Error
Empty Category
Empty Group
must use '.*' tag to refer to type .*(| in this scope)
ext_duplicate_declspec
Extension
Empty Category
duplicate-decl-specifier
duplicate '.*' declaration specifier
ext_warn_duplicate_declspec
ExtWarn
Empty Category
duplicate-decl-specifier
duplicate '.*' declaration specifier
warn_duplicate_declspec
Warning
Empty Category
duplicate-decl-specifier
duplicate '.*' declaration specifier
err_duplicate_declspec
Error
Empty Category
Empty Group
duplicate '.*' declaration specifier
err_friend_decl_spec
Error
Empty Category
Empty Group
'.*' is invalid in friend declarations
err_invalid_member_in_interface
Error
Empty Category
Empty Group
(data member |non-public member function |static member function |user-declared constructor|user-declared destructor|operator |nested class ).* is not permitted within an interface type
err_attribute_uuid_malformed_guid
Error
Empty Category
Empty Group
uuid attribute contains a malformed GUID
ext_c99_longlong
Extension
Empty Category
long-long
'long long' is an extension when C99 mode is not enabled
ext_cxx11_longlong
Extension
Empty Category
c++11-long-long
'long long' is a C\+\+11 extension
warn_cxx98_compat_longlong
Warning
Empty Category
c++98-compat-pedantic
'long long' is incompatible with C\+\+98
err_integer_literal_too_large
Error
Empty Category
Empty Group
integer literal is too large to be represented in any (signed |)integer type
ext_integer_literal_too_large_for_signed
ExtWarn
Empty Category
implicitly-unsigned-literal
integer literal is too large to be represented in a signed integer type, interpreting as unsigned
warn_old_implicitly_unsigned_long
Warning
Empty Category
c99-compat
integer literal is too large to be represented in type 'long', interpreting as 'unsigned long' per C89; this literal will (have type 'long long'|be ill-formed) in C99 onwards
warn_old_implicitly_unsigned_long_cxx
Warning
Empty Category
c++11-compat
integer literal is too large to be represented in type 'long', interpreting as 'unsigned long' per C\+\+98; this literal will (have type 'long long'|be ill-formed) in C\+\+11 onwards
ext_old_implicitly_unsigned_long_cxx
ExtWarn
Empty Category
c++11-compat
integer literal is too large to be represented in type 'long' and is subject to undefined behavior under C\+\+98, interpreting as 'unsigned long'; this literal will (have type 'long long'|be ill-formed) in C\+\+11 onwards
ext_clang_enable_if
Extension
Empty Category
gcc-compat
'enable_if' is a clang extension
ext_clang_diagnose_if
Extension
Empty Category
gcc-compat
'diagnose_if' is a clang extension
err_too_large_for_fixed_point
Error
Empty Category
Empty Group
this value is too large for this fixed point type
err_fixed_point_not_enabled
Error
Empty Category
Empty Group
compile with '-ffixed-point' to enable fixed point types
err_unimplemented_conversion_with_fixed_point_type
Error
Empty Category
Empty Group
conversion between fixed point and .* is not yet supported
err_seh_expected_handler
Error
Empty Category
Empty Group
expected '__except' or '__finally' block
err_seh___except_block
Error
Empty Category
Empty Group
.* only allowed in __except block or filter expression
err_seh___except_filter
Error
Empty Category
Empty Group
.* only allowed in __except filter expression
err_seh___finally_block
Error
Empty Category
Empty Group
.* only allowed in __finally block
note_invalid_subexpr_in_const_expr
Note
Empty Category
Empty Group
subexpression not valid in a constant expression
err_asm_invalid_type_in_input
Error
Inline Assembly Issue
Empty Group
invalid type .* in asm input for constraint '.*'
err_asm_invalid_type
Error
Inline Assembly Issue
Empty Group
invalid type .* in asm (input|output)
warn_stack_clash_protection_inline_asm
Warning
Inline Assembly Issue
stack-protector
Unable to protect inline asm that clobbers stack pointer against stack clash
warn_slh_does_not_support_asm_goto
Warning
Inline Assembly Issue
slh-asm-goto
Speculative load hardening does not protect functions with asm goto
warn_dup_category_def
Warning
Empty Category
Empty Group
duplicate definition of category .* on interface .*
err_target_unknown_triple
Error
Empty Category
Empty Group
unknown target triple '.*', please use -triple or -arch
err_target_unknown_cpu
Error
Empty Category
Empty Group
unknown target CPU '.*'
note_valid_options
Note
Empty Category
Empty Group
valid target CPU values are: .*
err_target_unsupported_cpu_for_micromips
Error
Empty Category
Empty Group
micromips is not supported for target CPU '.*'
err_target_unknown_abi
Error
Empty Category
Empty Group
unknown target ABI '.*'
err_target_unsupported_abi
Error
Empty Category
Empty Group
ABI '.*' is not supported on CPU '.*'
err_target_unsupported_abi_for_triple
Error
Empty Category
Empty Group
ABI '.*' is not supported for '.*'
err_unsupported_abi_for_opt
Error
Empty Category
Empty Group
'.*' can only be used with the '.*' ABI
err_mips_fp64_req
Error
Empty Category
Empty Group
'.*' can only be used if the target supports the mfhc1 and mthc1 instructions
err_target_unknown_fpmath
Error
Empty Category
Empty Group
unknown FP unit '.*'
err_target_unsupported_fpmath
Error
Empty Category
Empty Group
the '.*' unit is not supported with this instruction set
err_target_unsupported_unaligned
Error
Empty Category
Empty Group
the .* sub-architecture does not support unaligned accesses
err_target_unsupported_execute_only
Error
Empty Category
Empty Group
execute only is not supported for the .* sub-architecture
err_target_unsupported_mcmse
Error
Empty Category
Empty Group
-mcmse is not supported for .*
err_opt_not_valid_with_opt
Error
Empty Category
Empty Group
option '.*' cannot be specified with '.*'
err_opt_not_valid_without_opt
Error
Empty Category
Empty Group
option '.*' cannot be specified without '.*'
err_opt_not_valid_on_target
Error
Empty Category
Empty Group
option '.*' cannot be specified on this target
err_cannot_open_file
Error
Empty Category
Empty Group
cannot open file '.*': .*
err_file_modified
Error
Empty Category
Empty Group
file '.*' modified since it was first processed
err_file_too_large
Error
Empty Category
Empty Group
sorry, unsupported: file '.*' is too large for Clang to process
err_include_too_large
Error
Empty Category
Empty Group
sorry, this include generates a translation unit too large for Clang to process\.
err_unsupported_bom
Error
Empty Category
Empty Group
.* byte order mark detected in '.*', but encoding is not supported
err_unable_to_rename_temp
Error
Empty Category
Empty Group
unable to rename temporary '.*' to output file '.*': '.*'
err_unable_to_make_temp
Error
Empty Category
Empty Group
unable to make temporary file: .*
err_module_format_unhandled
Error
Empty Category
Empty Group
no handler registered for module format '.*'
err_mt_message
Error
Empty Category
Empty Group
\[rewriter\] .*
warn_mt_message
Warning
Empty Category
Empty Group
\[rewriter\] .*
note_mt_message
Note
Empty Category
Empty Group
\[rewriter\] .*
warn_arcmt_nsalloc_realloc
Warning
Empty Category
Empty Group
\[rewriter\] call returns pointer to GC managed memory; it will become unmanaged in ARC
err_arcmt_nsinvocation_ownership
Error
Empty Category
Empty Group
NSInvocation's .* is not safe to be used with an object with ownership other than __unsafe_unretained
err_apinotes_message
Error
Empty Category
Empty Group
.*
warn_apinotes_message
Warning
Empty Category
apinotes
.*
note_apinotes_message
Note
Empty Category
Empty Group
.*
warn_apinotes_private_case
Warning
Empty Category
nonportable-private-apinotes-path
private API notes file for module '.*' should be named '.*_private\.apinotes', not '.*'
warn_apinotes_private_case_system
Warning
Empty Category
nonportable-private-system-apinotes-path
private API notes file for module '.*' should be named '.*_private\.apinotes', not '.*'
err_openclcxx_not_supported
Error
Empty Category
Empty Group
'.*' is not supported in C\+\+ for OpenCL
warn_ignored_hip_only_option
Warning
Empty Category
hip-only
'.*' is ignored since it is only supported for HIP
err_omp_more_one_clause
Error
Empty Category
Empty Group
directive '#pragma omp .*' cannot contain more than one '.*' clause(| with '.*' name modifier| with 'source' dependence)
err_unknown_analyzer_checker_or_package
Error
Empty Category
Empty Group
no analyzer checkers or packages are associated with '.*'
note_suggest_disabling_all_checkers
Note
Empty Category
Empty Group
use -analyzer-disable-all-checks to disable all static analyzer checkers
warn_poison_system_directories
Warning
Empty Category
poison-system-directories
include location '.*' is unsafe for cross-compilation
err_ctu_error_opening
Error
Empty Category
Empty Group
error opening '.*': required by the CrossTU functionality
err_extdefmap_parsing
Error
Empty Category
Empty Group
error parsing index file: '.*' line: .* 'UniqueID filename' format expected
err_multiple_def_index
Error
Empty Category
Empty Group
multiple definitions are found for the same key in index 
warn_ctu_incompat_triple
Warning
Empty Category
ctu
imported AST from '.*' had been generated for a different target, current: .*, imported: .*
err_drv_no_such_file
Error
Empty Category
Empty Group
no such file or directory: '.*'
err_drv_no_such_file_with_suggestion
Error
Empty Category
Empty Group
no such file or directory: '.*'; did you mean '.*'\?
err_drv_unsupported_opt
Error
Empty Category
Empty Group
unsupported option '.*'
err_drv_unsupported_opt_with_suggestion
Error
Empty Category
Empty Group
unsupported option '.*'; did you mean '.*'\?
err_drv_unsupported_opt_for_target
Error
Empty Category
Empty Group
unsupported option '.*' for target '.*'
err_drv_unsupported_option_argument
Error
Empty Category
Empty Group
unsupported argument '.*' to option '.*'
err_drv_unknown_stdin_type
Error
Empty Category
Empty Group
-E or -x required when input is from standard input
err_drv_unknown_stdin_type_clang_cl
Error
Empty Category
Empty Group
use /Tc or /Tp to set input type for standard input
err_drv_unknown_language
Error
Empty Category
Empty Group
language not recognized: '.*'
err_drv_invalid_arch_name
Error
Empty Category
Empty Group
invalid arch name '.*'
err_drv_invalid_riscv_arch_name
Error
Empty Category
Empty Group
invalid arch name '.*', .*
err_drv_invalid_riscv_ext_arch_name
Error
Empty Category
Empty Group
invalid arch name '.*', .* '.*'
warn_drv_avr_mcu_not_specified
Warning
Empty Category
avr-rtlib-linking-quirks
no target microcontroller specified on command line, cannot link standard libraries, please pass -mmcu=<mcu name>
warn_drv_avr_gcc_not_found
Warning
Empty Category
avr-rtlib-linking-quirks
no avr-gcc installation can be found on the system, cannot link standard libraries
warn_drv_avr_libc_not_found
Warning
Empty Category
avr-rtlib-linking-quirks
no avr-libc installation can be found on the system, cannot link standard libraries
warn_drv_avr_family_linking_stdlibs_not_implemented
Warning
Empty Category
avr-rtlib-linking-quirks
support for linking stdlibs for microcontroller '.*' is not implemented
warn_drv_avr_stdlib_not_linked
Warning
Empty Category
avr-rtlib-linking-quirks
standard library not linked and so no interrupt vector table or compiler runtime routines will be linked
err_drv_cuda_bad_gpu_arch
Error
Empty Category
Empty Group
Unsupported CUDA gpu architecture: .*
err_drv_no_cuda_installation
Error
Empty Category
Empty Group
cannot find CUDA installation\. Provide its path via --cuda-path, or pass -nocudainc to build without CUDA includes\.
err_drv_no_cuda_libdevice
Error
Empty Category
Empty Group
cannot find libdevice for .*\. Provide path to different CUDA installation via --cuda-path, or pass -nocudalib to build without linking with libdevice\.
err_drv_no_rocm_device_lib
Error
Empty Category
Empty Group
cannot find ROCm device library(| for .*)\. Provide its path via --rocm-path or --rocm-device-lib-path, or pass -nogpulib to build without ROCm device library\.
err_drv_no_hip_runtime
Error
Empty Category
Empty Group
cannot find HIP runtime\. Provide its path via --rocm-path, or pass -nogpuinc to build without HIP runtime\.
err_drv_cuda_version_unsupported
Error
Empty Category
Empty Group
GPU arch .* is supported by CUDA versions between .* and .* \(inclusive\), but installation at .* is .*\. Use --cuda-path to specify a different CUDA install, pass a different GPU arch with --cuda-gpu-arch, or pass --no-cuda-version-check\.
warn_drv_unknown_cuda_version
Warning
Empty Category
unknown-cuda-version
Unknown CUDA version .*\. Assuming the latest supported version .*
err_drv_cuda_host_arch
Error
Empty Category
Empty Group
unsupported architecture '.*' for host compilation\.
err_drv_mix_cuda_hip
Error
Empty Category
Empty Group
Mixed Cuda and HIP compilation is not supported\.
err_drv_bad_target_id
Error
Empty Category
Empty Group
Invalid target ID: .* \(A target ID is a processor name followed by an optional list of predefined features post-fixed by a plus or minus sign deliminated by colon, e\.g\. 'gfx908:sram-ecc\+:xnack-'\)
err_drv_bad_offload_arch_combo
Error
Empty Category
Empty Group
Invalid offload arch combinations: .* and .* \(For a specific processor, a feature should either exist in all offload archs, or not exist in any offload archs\)
err_drv_invalid_thread_model_for_target
Error
Empty Category
Empty Group
invalid thread model '.*' in '.*' for this target
err_drv_invalid_linker_name
Error
Empty Category
Empty Group
invalid linker name in argument '.*'
err_drv_invalid_pgo_instrumentor
Error
Empty Category
Empty Group
invalid PGO instrumentor in argument '.*'
err_drv_invalid_rtlib_name
Error
Empty Category
Empty Group
invalid runtime library name in argument '.*'
err_drv_unsupported_rtlib_for_platform
Error
Empty Category
Empty Group
unsupported runtime library '.*' for platform '.*'
err_drv_invalid_unwindlib_name
Error
Empty Category
Empty Group
invalid unwind library name in argument '.*'
err_drv_incompatible_unwindlib
Error
Empty Category
Empty Group
--rtlib=libgcc requires --unwindlib=libgcc
err_drv_invalid_stdlib_name
Error
Empty Category
Empty Group
invalid library name in argument '.*'
err_drv_invalid_output_with_multiple_archs
Error
Empty Category
Empty Group
cannot use '.*' output with multiple -arch options
err_drv_no_input_files
Error
Empty Category
Empty Group
no input files
err_drv_use_of_Z_option
Error
Empty Category
Empty Group
unsupported use of internal gcc -Z option '.*'
err_drv_output_argument_with_multiple_files
Error
Empty Category
Empty Group
cannot specify -o when generating multiple output files
err_drv_out_file_argument_with_multiple_sources
Error
Empty Category
Empty Group
cannot specify '.*.*' when compiling multiple source files
err_no_external_assembler
Error
Empty Category
Empty Group
there is no external assembler that can be used on this platform
err_drv_unable_to_remove_file
Error
Empty Category
Empty Group
unable to remove file: .*
err_drv_unable_to_set_working_directory
Error
Empty Category
Empty Group
unable to set working directory: .*
err_drv_command_failure
Error
Empty Category
Empty Group
unable to execute command: .*
err_drv_invalid_darwin_version
Error
Empty Category
Empty Group
invalid Darwin version number: .*
err_drv_missing_argument
Error
Empty Category
Empty Group
argument to '.*' is missing \(expected .* value.*\)
err_drv_invalid_Xarch_argument_with_args
Error
Empty Category
Empty Group
invalid Xarch argument: '.*', options requiring arguments are unsupported
err_drv_invalid_Xarch_argument_isdriver
Error
Empty Category
Empty Group
invalid Xarch argument: '.*', cannot change driver behavior inside Xarch argument
err_drv_Xopenmp_target_missing_triple
Error
Empty Category
Empty Group
cannot deduce implicit triple value for -Xopenmp-target, specify triple using -Xopenmp-target=<triple>
err_drv_invalid_Xopenmp_target_with_args
Error
Empty Category
Empty Group
invalid -Xopenmp-target argument: '.*', options requiring arguments are unsupported
err_drv_argument_only_allowed_with
Error
Empty Category
Empty Group
invalid argument '.*' only allowed with '.*'
err_drv_argument_not_allowed_with
Error
Empty Category
Empty Group
invalid argument '.*' not allowed with '.*'
err_drv_invalid_version_number
Error
Empty Category
Empty Group
invalid version number in '.*'
err_drv_no_linker_llvm_support
Error
Empty Category
Empty Group
'.*': unable to pass LLVM bit-code files to linker
err_drv_no_ast_support
Error
Empty Category
Empty Group
'.*': unable to use AST files with this tool
err_drv_no_module_support
Error
Empty Category
Empty Group
'.*': unable to use module files with this tool
err_drv_clang_unsupported
Error
Empty Category
Empty Group
the clang compiler does not support '.*'
err_drv_clang_unsupported_opt_cxx_darwin_i386
Error
Empty Category
Empty Group
the clang compiler does not support '.*' for C\+\+ on Darwin/i386
err_drv_clang_unsupported_opt_pg_darwin
Error
Empty Category
Empty Group
the clang compiler does not support -pg option on (Darwin|versions of OS X 10\.9 and later)
err_drv_clang_unsupported_opt_faltivec
Error
Empty Category
Empty Group
the clang compiler does not support '.*', .*
err_drv_command_failed
Error
Empty Category
Empty Group
.* command failed with exit code .* \(use -v to see invocation\)
err_drv_compilationdatabase
Error
Empty Category
Empty Group
compilation database '.*' could not be opened: .*
err_drv_command_signalled
Error
Empty Category
Empty Group
.* command failed due to signal \(use -v to see invocation\)
err_drv_force_crash
Error
Empty Category
Empty Group
failing because (environment variable 'FORCE_CLANG_DIAGNOSTICS_CRASH' is set|'-gen-reproducer' is used)
err_drv_invalid_mfloat_abi
Error
Empty Category
Empty Group
invalid float ABI '.*'
err_drv_invalid_mtp
Error
Empty Category
Empty Group
invalid thread pointer reading mode '.*'
err_drv_missing_arg_mtp
Error
Empty Category
Empty Group
missing argument to '.*'
err_drv_invalid_libcxx_deployment
Error
Empty Category
Empty Group
invalid deployment target for -stdlib=libc\+\+ \(requires .* or later\)
err_drv_invalid_argument_to_option
Error
Empty Category
Empty Group
invalid argument '.*' to -.*
err_drv_malformed_sanitizer_blacklist
Error
Empty Category
Empty Group
malformed sanitizer blacklist: '.*'
err_drv_malformed_sanitizer_coverage_whitelist
Error
Empty Category
Empty Group
malformed sanitizer coverage whitelist: '.*'
err_drv_malformed_sanitizer_coverage_blacklist
Error
Empty Category
Empty Group
malformed sanitizer coverage blacklist: '.*'
err_drv_duplicate_config
Error
Empty Category
Empty Group
no more than one option '--config' is allowed
err_drv_config_file_not_exist
Error
Empty Category
Empty Group
configuration file '.*' does not exist
err_drv_config_file_not_found
Error
Empty Category
Empty Group
configuration file '.*' cannot be found
note_drv_config_file_searched_in
Note
Empty Category
Empty Group
was searched for in the directory: .*
err_drv_cannot_read_config_file
Error
Empty Category
Empty Group
cannot read configuration file '.*'
err_drv_nested_config_file
Error
Empty Category
Empty Group
option '--config' is not allowed inside configuration file
err_drv_arg_requires_bitcode_input
Error
Empty Category
Empty Group
option '.*' requires input to be LLVM bitcode
err_target_unsupported_arch
Error
Empty Category
Empty Group
the target architecture '.*' is not supported by the target '.*'
err_cpu_unsupported_isa
Error
Empty Category
Empty Group
CPU '.*' does not support '.*' execution mode
err_arch_unsupported_isa
Error
Empty Category
Empty Group
Architecture '.*' does not support '.*' execution mode
err_drv_I_dash_not_supported
Error
Empty Category
Empty Group
'.*' not supported, please use -iquote instead
err_drv_unknown_argument
Error
Empty Category
Empty Group
unknown argument: '.*'
err_drv_unknown_argument_with_suggestion
Error
Empty Category
Empty Group
unknown argument '.*'; did you mean '.*'\?
warn_drv_unknown_argument_clang_cl
Warning
Empty Category
unknown-argument
unknown argument ignored in clang-cl: '.*'
warn_drv_unknown_argument_clang_cl_with_suggestion
Warning
Empty Category
unknown-argument
unknown argument ignored in clang-cl '.*'; did you mean '.*'\?
warn_drv_ycyu_different_arg_clang_cl
Warning
Empty Category
clang-cl-pch
support for '/Yc' and '/Yu' with different filenames not implemented yet; flags ignored
warn_drv_yc_multiple_inputs_clang_cl
Warning
Empty Category
clang-cl-pch
support for '/Yc' with more than one source file not implemented yet; flag ignored
err_drv_dllexport_inlines_and_fallback
Error
Empty Category
Empty Group
option '/Zc:dllexportInlines-' is ABI-changing and not compatible with '/fallback'
err_drv_invalid_value
Error
Empty Category
Empty Group
invalid value '.*' in '.*'
err_drv_invalid_int_value
Error
Empty Category
Empty Group
invalid integral value '.*' in '.*'
err_drv_invalid_remap_file
Error
Empty Category
Empty Group
invalid option '.*' not of the form <from-file>;<to-file>
err_drv_invalid_gcc_output_type
Error
Empty Category
Empty Group
invalid output type '.*' for use with gcc tool
err_drv_cc_print_options_failure
Error
Empty Category
Empty Group
unable to open CC_PRINT_OPTIONS file: .*
err_drv_lto_without_lld
Error
Empty Category
Empty Group
LTO requires -fuse-ld=lld
err_drv_preamble_format
Error
Empty Category
Empty Group
incorrect format for -preamble-bytes=N,END
warn_invalid_ios_deployment_target
Warning
Empty Category
invalid-ios-deployment-target
invalid iOS deployment version '.*', iOS 10 is the maximum deployment target for 32-bit targets
err_invalid_macos_32bit_deployment_target
Error
Empty Category
Empty Group
32-bit targets are not supported when building for Mac Catalyst
err_drv_conflicting_deployment_targets
Error
Empty Category
Empty Group
conflicting deployment targets, both '.*' and '.*' are present in environment
err_arc_unsupported_on_runtime
Error
Empty Category
Empty Group
-fobjc-arc is not supported on platforms using the legacy runtime
err_arc_unsupported_on_toolchain
Error
Empty Category
Empty Group
-fobjc-arc is not supported on versions of OS X prior to 10\.6
err_objc_weak_with_gc
Error
Empty Category
Empty Group
-fobjc-weak is not supported in Objective-C garbage collection
err_objc_weak_unsupported
Error
Empty Category
Empty Group
-fobjc-weak is not supported on the current deployment target
err_drv_mg_requires_m_or_mm
Error
Empty Category
Empty Group
option '-MG' requires '-M' or '-MM'
err_drv_unknown_objc_runtime
Error
Empty Category
Empty Group
unknown or ill-formed Objective-C runtime '.*'
err_drv_invalid_cf_runtime_abi
Error
Empty Category
Empty Group
invalid CoreFoundation Runtime ABI '.*'; must be one of 'objc', 'standalone', 'swift', 'swift-5\.0', 'swift-4\.2', 'swift-4\.1'
err_drv_gnustep_objc_runtime_incompatible_binary
Error
Empty Category
Empty Group
GNUstep Objective-C runtime version .* incompatible with target binary format
err_drv_emit_llvm_link
Error
Empty Category
Empty Group
-emit-llvm cannot be used when linking
err_drv_optimization_remark_pattern
Error
Empty Category
Empty Group
in pattern '.*': .*
err_drv_optimization_remark_format
Error
Empty Category
Empty Group
unknown remark serializer format: '.*'
err_drv_no_neon_modifier
Error
Empty Category
Empty Group
\[no\]neon is not accepted as modifier, please use \[no\]simd instead
err_drv_invalid_omp_target
Error
Empty Category
Empty Group
OpenMP target is invalid: '.*'
err_drv_omp_host_ir_file_not_found
Error
Empty Category
Empty Group
The provided host compiler IR file '.*' is required to generate code for OpenMP target regions but cannot be found\.
err_drv_omp_host_target_not_supported
Error
Empty Category
Empty Group
The target '.*' is not a supported OpenMP host target\.
err_drv_ptrauth_not_supported
Error
Empty Category
Empty Group
target '.*' does not support native pointer authentication
err_drv_expecting_fopenmp_with_fopenmp_targets
Error
Empty Category
Empty Group
The option -fopenmp-targets must be used in conjunction with a -fopenmp option compatible with offloading, please use -fopenmp=libomp or -fopenmp=libiomp5\.
warn_drv_omp_offload_target_duplicate
Warning
Empty Category
openmp-target
The OpenMP offloading target '.*' is similar to target '.*' already specified - will be ignored\.
warn_drv_omp_offload_target_missingbcruntime
Warning
Empty Category
openmp-target
No library '.*' found in the default clang lib directory or in LIBRARY_PATH\. Expect degraded performance due to no inlining of runtime functions on target devices\.
err_drv_unsupported_embed_bitcode
Error
Empty Category
Empty Group
.* is not supported with -fembed-bitcode
err_drv_bitcode_unsupported_on_toolchain
Error
Empty Category
Empty Group
-fembed-bitcode is not supported on versions of iOS prior to 6\.0
err_drv_invalid_malign_branch_EQ
Error
Empty Category
Empty Group
invalid argument '.*' to -malign-branch=; each element must be one of: .*
warn_O4_is_O3
Warning
Empty Category
deprecated
-O4 is equivalent to -O3
warn_drv_optimization_value
Warning
Empty Category
invalid-command-line-argument
optimization level '.*' is not supported; using '.*.*' instead
warn_ignored_gcc_optimization
Warning
Empty Category
ignored-optimization-argument
optimization flag '.*' is not supported
warn_ignored_clang_option
Warning
Empty Category
unused-command-line-argument
the flag '.*' has been deprecated and will be ignored
warn_drv_unsupported_opt_for_target
Warning
Empty Category
ignored-optimization-argument
optimization flag '.*' is not supported for target '.*'
warn_drv_unsupported_debug_info_opt_for_target
Warning
Empty Category
unsupported-target-opt
debug information option '.*' is not supported for target '.*'
warn_c_kext
Warning
Empty Category
Empty Group
ignoring -fapple-kext which is valid for C\+\+ and Objective-C\+\+ only
warn_ignoring_fdiscard_for_bitcode
Warning
Empty Category
unused-command-line-argument
ignoring -fdiscard-value-names for LLVM Bitcode
warn_drv_input_file_unused
Warning
Empty Category
unused-command-line-argument
.*: '.*' input unused( when '.*' is present|)
warn_drv_input_file_unused_by_cpp
Warning
Empty Category
unused-command-line-argument
.*: '.*' input unused in cpp mode
warn_drv_preprocessed_input_file_unused
Warning
Empty Category
unused-command-line-argument
.*: previously preprocessed input( unused when '.*' is present|)
warn_drv_unused_argument
Warning
Empty Category
unused-command-line-argument
argument unused during compilation: '.*'
warn_drv_empty_joined_argument
Warning
Empty Category
unused-command-line-argument
joined argument expects additional value: '.*'
warn_drv_diagnostics_hotness_requires_pgo
Warning
Empty Category
unused-command-line-argument
argument '.*' requires profile-guided optimization information
warn_drv_clang_unsupported
Warning
Empty Category
Empty Group
the clang compiler does not support '.*'
warn_drv_deprecated_arg
Warning
Empty Category
deprecated
argument '.*' is deprecated, use '.*' instead
warn_drv_assuming_mfloat_abi_is
Warning
Empty Category
Empty Group
unknown platform, assuming -mfloat-abi=.*
warn_ignoring_ftabstop_value
Warning
Empty Category
Empty Group
ignoring invalid -ftabstop value '.*', using default value .*
warn_drv_overriding_flag_option
Warning
Empty Category
overriding-t-option
overriding '.*' option with '.*'
warn_drv_treating_input_as_cxx
Warning
Empty Category
deprecated
treating '.*' input as '.*' when in C\+\+ mode, this behavior is deprecated
warn_drv_pch_not_first_include
Warning
Empty Category
Empty Group
precompiled header '.*' was ignored because '.*' is not first '-include'
warn_missing_sysroot
Warning
Empty Category
missing-sysroot
no such sysroot directory: '.*'
warn_incompatible_sysroot
Warning
Empty Category
incompatible-sysroot
using sysroot for '.*' but targeting '.*'
warn_debug_compression_unavailable
Warning
Empty Category
debug-compression-unavailable
cannot compress debug sections \(zlib not installed\)
warn_drv_disabling_vptr_no_rtti_default
Warning
Empty Category
auto-disable-vptr-sanitizer
implicitly disabling vptr sanitizer because rtti wasn't enabled
warn_drv_object_size_disabled_O0
Warning
Empty Category
invalid-command-line-argument
the object size sanitizer has no effect at -O0, but is explicitly enabled: .*
err_invalid_branch_protection
Error
Empty Category
Empty Group
invalid branch protection option '.*' in '.*'
err_invalid_sls_hardening
Error
Empty Category
Empty Group
invalid sls hardening option '.*' in '.*'
note_drv_command_failed_diag_msg
Note
Empty Category
Empty Group
diagnostic msg: .*
note_drv_t_option_is_global
Note
Empty Category
Empty Group
The last /TC or /TP option takes precedence over earlier instances
note_drv_address_sanitizer_debug_runtime
Note
Empty Category
Empty Group
AddressSanitizer doesn't support linking with debug runtime libraries yet
note_drv_use_standard
Note
Empty Category
Empty Group
use '.*'(| or '.*'|, '.*', or '.*'|, '.*', '.*', or '.*') for '.*' standard
err_analyzer_config_no_value
Error
Empty Category
Empty Group
analyzer-config option '.*' has a key but no value
err_analyzer_config_multiple_values
Error
Empty Category
Empty Group
analyzer-config option '.*' should contain only one '='
err_analyzer_config_invalid_input
Error
Empty Category
Empty Group
invalid input for analyzer-config option '.*', that expects .* value
err_analyzer_config_unknown
Error
Empty Category
Empty Group
unknown analyzer-config '.*'
err_analyzer_checker_option_unknown
Error
Empty Category
Empty Group
checker '.*' has no option called '.*'
err_analyzer_checker_option_invalid_input
Error
Empty Category
Empty Group
invalid input for checker option '.*', that expects .*
err_analyzer_checker_incompatible_analyzer_option
Error
Empty Category
Empty Group
checker cannot be enabled with analyzer option '.*' == .*
err_drv_invalid_hvx_length
Error
Empty Category
Empty Group
-mhvx-length is not supported without a -mhvx/-mhvx= flag
warn_drv_vectorize_needs_hvx
Warning
Empty Category
option-ignored
auto-vectorization requires HVX, use -mhvx to enable it
err_drv_module_header_wrong_kind
Error
Empty Category
Empty Group
header file '.*' input type '.*' does not match type of prior input in module compilation; use '-x .*' to override
err_drv_modules_validate_once_requires_timestamp
Error
Empty Category
Empty Group
option '-fmodules-validate-once-per-build-session' requires '-fbuild-session-timestamp=<seconds since Epoch>' or '-fbuild-session-file=<file>'
err_test_module_file_extension_format
Error
Empty Category
Empty Group
-ftest-module-file-extension argument '.*' is not of the required form 'blockname:major:minor:hashed:user info'
warn_drv_invoking_fallback
Warning
Empty Category
fallback
falling back to .*
warn_slash_u_filename
Warning
Empty Category
slash-u-filename
'/U.*' treated as the '/U' option
note_use_dashdash
Note
Empty Category
Empty Group
Use '--' to treat subsequent arguments as filenames
err_drv_ropi_rwpi_incompatible_with_pic
Error
Empty Category
Empty Group
embedded and GOT-based position independence are incompatible
err_drv_ropi_incompatible_with_cxx
Error
Empty Category
Empty Group
ROPI is not compatible with c\+\+
err_stack_tagging_requires_hardware_feature
Error
Empty Category
Empty Group
'-fsanitize=memtag' requires hardware support \(\+memtag\)
err_cmse_pi_are_incompatible
Error
Empty Category
Empty Group
cmse is not compatible with (RWPI|ROPI)
warn_target_unsupported_nan2008
Warning
Empty Category
unsupported-nan
ignoring '-mnan=2008' option because the '.*' architecture does not support it
warn_target_unsupported_nanlegacy
Warning
Empty Category
unsupported-nan
ignoring '-mnan=legacy' option because the '.*' architecture does not support it
warn_target_unsupported_abslegacy
Warning
Empty Category
unsupported-abs
ignoring '-mabs=legacy' option because the '.*' architecture does not support it
warn_target_unsupported_abs2008
Warning
Empty Category
unsupported-abs
ignoring '-mabs=2008' option because the '.*' architecture does not support it
warn_target_unsupported_compact_branches
Warning
Empty Category
unsupported-cb
ignoring '-mcompact-branches=' option because the '.*' architecture does not support it
warn_target_unsupported_extension
Warning
Empty Category
invalid-command-line-argument
ignoring extension '.*' because the '.*' architecture does not support it
warn_drv_unsupported_gpopt
Warning
Empty Category
unsupported-gpopt
ignoring '-mgpopt' option as it cannot be used with (|the implicit usage of )-mabicalls
warn_drv_unsupported_sdata
Warning
Empty Category
option-ignored
ignoring '-msmall-data-limit=' with -mcmodel=large for -fpic or RV64
warn_drv_unsupported_longcalls
Warning
Empty Category
option-ignored
ignoring '-mlong-calls' option as it is not currently supported with (|the implicit usage of )-mabicalls
warn_drv_unsupported_pic_with_mabicalls
Warning
Empty Category
option-ignored
ignoring '.*' option as it cannot be used with (implicit usage of|) -mabicalls and the N64 ABI
err_drv_unsupported_noabicalls_pic
Error
Empty Category
Empty Group
position-independent code requires '-mabicalls'
err_drv_unsupported_indirect_jump_opt
Error
Empty Category
Empty Group
'-mindirect-jump=.*' is unsupported with the '.*' architecture
err_drv_unknown_indirect_jump_opt
Error
Empty Category
Empty Group
unknown '-mindirect-jump=' option '.*'
err_drv_unsupported_fpatchable_function_entry_argument
Error
Empty Category
Empty Group
the second argument of '-fpatchable-function-entry' must be smaller than the first argument
warn_drv_unable_to_find_directory_expected
Warning
Empty Category
invalid-or-nonexistent-directory
unable to find .* directory, expected to be in '.*'
warn_drv_ps4_force_pic
Warning
Empty Category
option-ignored
option '.*' was ignored by the PS4 toolchain, using '-fPIC'
warn_drv_ps4_sdk_dir
Warning
Empty Category
invalid-or-nonexistent-directory
environment variable SCE_ORBIS_SDK_DIR is set, but points to invalid or nonexistent directory '.*'
err_drv_unsupported_linker
Error
Empty Category
Empty Group
unsupported value '.*' for -linker option
err_drv_defsym_invalid_format
Error
Empty Category
Empty Group
defsym must be of the form: sym=value: .*
err_drv_defsym_invalid_symval
Error
Empty Category
Empty Group
Value is not an integer: .*
warn_drv_msvc_not_found
Warning
Empty Category
msvc-not-found
unable to find a Visual Studio installation; try running Clang from a developer command prompt
warn_drv_fuse_ld_path
Warning
Empty Category
fuse-ld-path
'-fuse-ld=' taking a path is deprecated\. Use '--ld-path=' instead
warn_drv_fine_grained_bitfield_accesses_ignored
Warning
Empty Category
option-ignored
option '-ffine-grained-bitfield-accesses' cannot be enabled together with a sanitizer; flag ignored
note_drv_verify_prefix_spelling
Note
Empty Category
Empty Group
-verify prefixes must start with a letter and contain only alphanumeric characters, hyphens, and underscores
warn_drv_global_isel_incomplete
Warning
Empty Category
global-isel
-fglobal-isel support for the '.*' architecture is incomplete
warn_drv_global_isel_incomplete_opt
Warning
Empty Category
global-isel
-fglobal-isel support is incomplete for this architecture at the current optimization level
warn_drv_moutline_unsupported_opt
Warning
Empty Category
option-ignored
The '.*' architecture does not support -moutline; flag ignored
warn_drv_darwin_sdk_invalid_settings
Warning
Empty Category
darwin-sdk-settings
SDK settings were ignored as 'SDKSettings\.json' could not be parsed
err_drv_trivial_auto_var_init_zero_disabled
Error
Empty Category
Empty Group
-ftrivial-auto-var-init=zero hasn't been enabled\. Enable it at your own peril for benchmarking purpose only with -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
err_drv_trivial_auto_var_init_stop_after_missing_dependency
Error
Empty Category
Empty Group
-ftrivial-auto-var-init-stop-after=\* is used without -ftrivial-auto-var-init=zero or -ftrivial-auto-var-init=pattern\.
err_drv_trivial_auto_var_init_stop_after_invalid_value
Error
Empty Category
Empty Group
-ftrivial-auto-var-init-stop-after=\* only accepts positive integers\.
warn_drv_msp430_hwmult_unsupported
Warning
Empty Category
invalid-command-line-argument
the given MCU does not support hardware multiply, but -mhwmult is set to .*\.
warn_drv_msp430_hwmult_mismatch
Warning
Empty Category
invalid-command-line-argument
the given MCU supports .* hardware multiply, but -mhwmult is set to .*\.
warn_drv_msp430_hwmult_no_device
Warning
Empty Category
invalid-command-line-argument
no MCU device specified, but '-mhwmult' is set to 'auto', assuming no hardware multiply\. Use -mmcu to specify a MSP430 device, or -mhwmult to set hardware multiply type explicitly\.
warn_drv_libstdcxx_not_found
Warning
Empty Category
stdlibcxx-not-found
include path for libstdc\+\+ headers not found; pass '-stdlib=libc\+\+' on the command line to use the libc\+\+ standard library instead
err_drv_cannot_mix_options
Error
Empty Category
Empty Group
cannot specify '.*' along with '.*'
err_drv_invalid_object_mode
Error
Empty Category
Empty Group
OBJECT_MODE setting .* is not recognized and is not a valid setting\.
err_drv_invalid_sve_vector_bits
Error
Empty Category
Empty Group
'-msve-vector-bits' is not supported without SVE enabled
err_fe_error_opening
Error
Empty Category
Empty Group
error opening '.*': .*
err_fe_error_reading
Error
Empty Category
Empty Group
error reading '.*'
err_fe_error_reading_stdin
Error
Empty Category
Empty Group
error reading stdin: .*
err_fe_error_backend
Error
Empty Category
Empty Group
error in backend: .*
err_fe_inline_asm
Error
Empty Category
Empty Group
.*
warn_fe_inline_asm
Warning
Empty Category
inline-asm
.*
note_fe_inline_asm
Note
Empty Category
Empty Group
.*
note_fe_inline_asm_here
Note
Empty Category
Empty Group
instantiated into assembly here
err_fe_cannot_link_module
Error
Empty Category
Empty Group
cannot link module '.*': .*
warn_fe_frame_larger_than
Warning
Empty Category
frame-larger-than=
stack frame size of .* bytes in .*
warn_fe_backend_frame_larger_than
Warning
Empty Category
frame-larger-than=
.*
err_fe_backend_frame_larger_than
Error
Empty Category
Empty Group
.*
note_fe_backend_frame_larger_than
Note
Empty Category
Empty Group
.*
warn_fe_backend_plugin
Warning
Empty Category
backend-plugin
.*
err_fe_backend_plugin
Error
Empty Category
Empty Group
.*
remark_fe_backend_plugin
Remark
Empty Category
remark-backend-plugin
.*
note_fe_backend_plugin
Note
Empty Category
Empty Group
.*
warn_fe_override_module
Warning
Empty Category
override-module
overriding the module target triple with .*
warn_fe_backend_unsupported_fp_rounding
Warning
Empty Category
unsupported-floating-point-opt
overriding currently unsupported rounding mode on this target
warn_fe_backend_unsupported_fp_exceptions
Warning
Empty Category
unsupported-floating-point-opt
overriding currently unsupported use of floating point exceptions on this target
remark_fe_backend_optimization_remark
Remark
Empty Category
pass
.*
remark_fe_backend_optimization_remark_missed
Remark
Empty Category
pass-missed
.*
remark_fe_backend_optimization_remark_analysis
Remark
Empty Category
pass-analysis
.*
remark_fe_backend_optimization_remark_analysis_fpcommute
Remark
Empty Category
pass-analysis
.*; allow reordering by specifying '#pragma clang loop vectorize\(enable\)' before the loop or by providing the compiler option '-ffast-math'\.
remark_fe_backend_optimization_remark_analysis_aliasing
Remark
Empty Category
pass-analysis
.*; allow reordering by specifying '#pragma clang loop vectorize\(enable\)' before the loop\. If the arrays will always be independent specify '#pragma clang loop vectorize\(assume_safety\)' before the loop or provide the '__restrict__' qualifier with the independent array arguments\. Erroneous results will occur if these options are incorrectly applied!
warn_fe_backend_optimization_failure
Warning
Empty Category
pass-failed
.*
note_fe_backend_invalid_loc
Note
Empty Category
Empty Group
could not determine the original source location for .*:.*:.*
err_fe_backend_unsupported
Error
Empty Category
Empty Group
.*
warn_fe_backend_unsupported
Warning
Empty Category
Empty Group
.*
err_fe_invalid_code_complete_file
Error
Empty Category
Empty Group
cannot locate code-completion file .*
err_fe_dependency_file_requires_MT
Error
Empty Category
Empty Group
-dependency-file requires at least one -MT or -MQ option
err_fe_invalid_plugin_name
Error
Empty Category
Empty Group
unable to find plugin '.*'
err_fe_expected_compiler_job
Error
Empty Category
Empty Group
unable to handle compilation, expected exactly one compiler job in '.*'
err_fe_expected_clang_command
Error
Empty Category
Empty Group
expected a clang compiler command
err_fe_remap_missing_to_file
Error
Empty Category
Empty Group
could not remap file '.*' to the contents of file '.*'
err_fe_remap_missing_from_file
Error
Empty Category
Empty Group
could not remap from missing file '.*'
err_fe_unable_to_load_pch
Error
Empty Category
Empty Group
unable to load PCH file
err_fe_unable_to_load_plugin
Error
Empty Category
Empty Group
unable to load plugin '.*': '.*'
err_fe_unable_to_create_target
Error
Empty Category
Empty Group
unable to create target: '.*'
err_fe_unable_to_interface_with_target
Error
Empty Category
Empty Group
unable to interface with target machine
err_fe_unable_to_open_output
Error
Empty Category
Empty Group
unable to open output file '.*': '.*'
warn_fe_macro_contains_embedded_newline
Warning
Empty Category
Empty Group
macro '.*' contains embedded newline; text after the newline is ignored
warn_fe_cc_print_header_failure
Warning
Empty Category
Empty Group
unable to open CC_PRINT_HEADERS file: .* \(using stderr\)
warn_fe_cc_log_diagnostics_failure
Warning
Empty Category
Empty Group
unable to open CC_LOG_DIAGNOSTICS file: .* \(using stderr\)
warn_fe_unable_to_open_stats_file
Warning
Empty Category
unable-to-open-stats-file
unable to open statistics output file '.*': '.*'
err_fe_no_pch_in_dir
Error
Empty Category
Empty Group
no suitable precompiled header file found in directory '.*'
err_fe_action_not_available
Error
Empty Category
Empty Group
action .* not compiled in
err_fe_invalid_alignment
Error
Empty Category
Empty Group
invalid value '.*' in '.*'; alignment must be a power of 2
err_fe_invalid_wchar_type
Error
Empty Category
Empty Group
invalid wchar_t type '.*'; must be one of 'char', 'short', 'int'
err_fe_invalid_exception_model
Error
Empty Category
Empty Group
invalid exception model '.*' for target '.*'
warn_fe_concepts_ts_flag
Warning
Empty Category
deprecated
-fconcepts-ts is deprecated - use '-std=c\+\+20' for Concepts support
err_fe_unable_to_load_basic_block_sections_file
Error
Empty Category
Empty Group
unable to load basic block sections function list: '.*'
warn_fe_serialized_diag_merge_failure
Warning
Empty Category
serialized-diagnostics
unable to merge a subprocess's serialized diagnostics
warn_fe_serialized_diag_failure
Warning
Empty Category
serialized-diagnostics
unable to open file .* for serializing diagnostics \(.*\)
warn_fe_serialized_diag_failure_during_finalisation
Warning
Empty Category
serialized-diagnostics
Received warning after diagnostic serialization teardown was underway: .*
err_verify_missing_line
Error
Empty Category
Empty Group
missing or invalid line number following '@' in expected .*
err_verify_missing_file
Error
Empty Category
Empty Group
file '.*' could not be located in expected .*
err_verify_invalid_range
Error
Empty Category
Empty Group
invalid range following '-' in expected .*
err_verify_ambiguous_marker
Error
Empty Category
Empty Group
reference to marker '.*' is ambiguous
note_verify_ambiguous_marker
Note
Empty Category
Empty Group
ambiguous marker '.*' is defined here
err_verify_no_such_marker
Error
Empty Category
Empty Group
use of undefined marker '.*'
err_verify_missing_start
Error
Empty Category
Empty Group
cannot find start \('\{\{'\) of expected .*
err_verify_missing_end
Error
Empty Category
Empty Group
cannot find end \('\}\}'\) of expected .*
err_verify_invalid_content
Error
Empty Category
Empty Group
invalid expected .*: .*
err_verify_missing_regex
Error
Empty Category
Empty Group
cannot find start of regex \('\{\{'\) in .*
err_verify_inconsistent_diags
Error
Empty Category
Empty Group
'.*' diagnostics (expected|seen) but not (seen|expected): .*
err_verify_invalid_no_diags
Error
Empty Category
Empty Group
(expected|'expected-no-diagnostics') directive cannot follow ('expected-no-diagnostics' directive|other expected directives)
err_verify_no_directives
Error
Empty Category
Empty Group
no expected directives found: consider use of 'expected-no-diagnostics'
note_fixit_applied
Note
Empty Category
Empty Group
FIX-IT applied suggested code changes
note_fixit_in_macro
Note
Empty Category
Empty Group
FIX-IT unable to apply suggested code changes in a macro
note_fixit_failed
Note
Empty Category
Empty Group
FIX-IT unable to apply suggested code changes
note_fixit_unfixed_error
Note
Empty Category
Empty Group
FIX-IT detected an error it cannot fix
warn_fixit_no_changes
Note
Empty Category
Empty Group
FIX-IT detected errors it could not fix; no output will be generated
err_relocatable_without_isysroot
Error
Empty Category
Empty Group
must specify system root with -isysroot when building a relocatable PCH file
warn_unknown_diag_option
Warning
Empty Category
unknown-warning-option
unknown (warning|remark) option '.*'(|; did you mean '.*'\?)
warn_unknown_warning_specifier
Warning
Empty Category
unknown-warning-option
unknown .* warning specifier: '.*'
warn_incompatible_analyzer_plugin_api
Warning
Empty Category
analyzer-incompatible-plugin
checker plugin '.*' is not compatible with this version of the analyzer
note_incompatible_analyzer_plugin_api
Note
Empty Category
Empty Group
current API version is '.*', but plugin was compiled with version '.*'
err_module_build_requires_fmodules
Error
Empty Category
Empty Group
module compilation requires '-fmodules'
err_module_interface_requires_cpp_modules
Error
Empty Category
Empty Group
module interface compilation requires '-std=c\+\+20' or '-fmodules-ts'
err_header_module_requires_modules
Error
Empty Category
Empty Group
header module compilation requires '-fmodules', '-std=c\+\+20', or '-fmodules-ts'
warn_module_config_mismatch
Warning
Empty Category
module-file-config-mismatch
module file .* cannot be loaded due to a configuration mismatch with the current compilation
err_module_map_not_found
Error
Empty Category
Empty Group
module map file '.*' not found
err_missing_module_name
Error
Empty Category
Empty Group
no module name provided; specify one with -fmodule-name=
err_missing_module
Error
Empty Category
Empty Group
no module named '.*' declared in module map file '.*'
err_no_submodule
Error
Empty Category
Empty Group
no submodule named .* in module '.*'
err_no_submodule_suggest
Error
Empty Category
Empty Group
no submodule named .* in module '.*'; did you mean '.*'\?
warn_no_priv_submodule_use_toplevel
Warning
Empty Category
private-module
no submodule named .* in module '.*'; using top level '.*'
note_private_top_level_defined
Note
Empty Category
Empty Group
module defined here
warn_missing_submodule
Warning
Empty Category
incomplete-umbrella
missing submodule '.*'
note_module_import_here
Note
Empty Category
Empty Group
module imported here
err_module_cannot_create_includes
Error
Empty Category
Empty Group
cannot create includes file for module .*: .*
warn_module_config_macro_undef
Warning
Empty Category
config-macros
(definition|#undef) of configuration macro '.*' has no effect on the import of '.*'; pass '(-D.*=\.\.\.|-U.*)' on the command line to configure the module
note_module_def_undef_here
Note
Empty Category
Empty Group
macro was (defined|#undef'd) here
remark_module_build
Remark
Empty Category
module-build
building module '.*' as '.*'
remark_module_build_done
Remark
Empty Category
module-build
finished building module '.*'
err_modules_embed_file_not_found
Error
Empty Category
Empty Group
file '.*' specified by '-fmodules-embed-file=' not found
err_module_header_file_not_found
Error
Empty Category
Empty Group
module header file '.*' not found
remark_index_producing_module_file_data
Remark
Empty Category
index-store
producing index data for module file '.*'
err_test_module_file_extension_version
Error
Empty Category
Empty Group
test module file extension '.*' has different version \(.*\..*\) than expected \(.*\..*\)
err_missing_vfs_overlay_file
Error
Empty Category
Empty Group
virtual filesystem overlay file '.*' not found
err_invalid_vfs_overlay
Error
Empty Category
Empty Group
invalid virtual filesystem overlay file '.*'
warn_option_invalid_ocl_version
Warning
Empty Category
deprecated
OpenCL version .* does not support the option '.*'
err_builtin_needs_feature
Error
Empty Category
Empty Group
.* needs target feature .*
err_function_needs_feature
Error
Empty Category
Empty Group
always_inline function .* requires target feature '.*', but would be inlined into function .* that is compiled without support for '.*'
warn_avx_calling_convention
Warning
Empty Category
psabi
AVX vector (return|argument) of type .* without '.*' enabled changes the ABI
err_avx_calling_convention
Error
Empty Category
Empty Group
warn_avx_calling_convention\.Text
err_alias_to_undefined
Error
Empty Category
Empty Group
(alias|ifunc) must point to a defined (variable or |)function
warn_alias_to_weak_alias
Warning
Empty Category
ignored-attributes
(alias|ifunc) will always resolve to .* even if weak definition of .* is overridden
err_duplicate_mangled_name
Error
Empty Category
Empty Group
definition with same mangled name '.*' as another definition
err_cyclic_alias
Error
Empty Category
Empty Group
(alias|ifunc) definition is part of a cycle
err_ifunc_resolver_return
Error
Empty Category
Empty Group
ifunc resolver function must return a pointer
warn_atomic_op_misaligned
Warning
Empty Category
atomic-alignment
misaligned atomic operation may incur significant performance penalty; the expected alignment \(.* bytes\) exceeds the actual alignment \(.* bytes\)
warn_atomic_op_oversized
Warning
Empty Category
atomic-alignment
large atomic operation may incur significant performance penalty; the access size \(.* bytes\) exceeds the max lock-free size \(.*  bytes\)
warn_alias_with_section
Warning
Empty Category
ignored-attributes
(alias|ifunc) will not be in section '.*' but in the same section as the (aliasee|resolver)
warn_profile_data_out_of_date
Warning
Instrumentation Issue
profile-instr-out-of-date
profile data may be out of date: of .* function.*, .* (has|have) mismatched data that will be ignored
warn_profile_data_missing
Warning
Instrumentation Issue
profile-instr-missing
profile data may be incomplete: of .* function.*, .* (has|have) no data
warn_profile_data_unprofiled
Warning
Instrumentation Issue
profile-instr-unprofiled
no profile data available for file \".*\"
warn_profile_data_misexpect
Warning
Instrumentation Issue
misexpect
Potential performance regression from use of __builtin_expect\(\): Annotation was correct on .* of profiled executions\.
null_in_char_or_string
Warning
Lexical or Preprocessor Issue
null-character
null character\(s\) preserved in (char|string) literal
null_in_file
Warning
Lexical or Preprocessor Issue
null-character
null character ignored
warn_nested_block_comment
Warning
Lexical or Preprocessor Issue
comment
'/\*' within block comment
escaped_newline_block_comment_end
Warning
Lexical or Preprocessor Issue
comment
escaped newline between \*/ characters at block comment end
backslash_newline_space
Warning
Lexical or Preprocessor Issue
backslash-newline-escape
backslash and newline separated by space
warn_cxx98_compat_less_colon_colon
Warning
Lexical or Preprocessor Issue
c++98-compat
'<::' is treated as digraph '<:' \(aka '\['\) followed by ':' in C\+\+98
warn_cxx17_compat_spaceship
Warning
Lexical or Preprocessor Issue
c++98-c++11-c++14-c++17-compat
'<=>' operator is incompatible with C\+\+ standards before C\+\+20
warn_cxx20_compat_spaceship
Warning
Lexical or Preprocessor Issue
c++20-compat
'<=>' is a single token in C\+\+20; add a space to avoid a change in behavior
trigraph_ignored
Warning
Lexical or Preprocessor Issue
trigraphs
trigraph ignored
trigraph_ignored_block_comment
Warning
Lexical or Preprocessor Issue
trigraphs
ignored trigraph would end block comment
trigraph_ends_block_comment
Warning
Lexical or Preprocessor Issue
trigraphs
trigraph ends block comment
trigraph_converted
Warning
Lexical or Preprocessor Issue
trigraphs
trigraph converted to '.*' character
ext_multi_line_line_comment
Extension
Lexical or Preprocessor Issue
comment
multi-line // comment
ext_line_comment
Extension
Lexical or Preprocessor Issue
comment
// comments are not allowed in this language
ext_no_newline_eof
Extension
Lexical or Preprocessor Issue
newline-eof
no newline at end of file
warn_no_newline_eof
Warning
Lexical or Preprocessor Issue
newline-eof
no newline at end of file
warn_cxx98_compat_no_newline_eof
Warning
Lexical or Preprocessor Issue
c++98-compat-pedantic
C\+\+98 requires newline at end of file
ext_dollar_in_identifier
Extension
Lexical or Preprocessor Issue
dollar-in-identifier-extension
'.*' in identifier
ext_charize_microsoft
Extension
Lexical or Preprocessor Issue
microsoft-charize
charizing operator #@ is a Microsoft extension
ext_comment_paste_microsoft
Extension
Lexical or Preprocessor Issue
microsoft-comment-paste
pasting two '/' tokens into a '//' comment is a Microsoft extension
ext_ctrl_z_eof_microsoft
Extension
Lexical or Preprocessor Issue
microsoft-end-of-file
treating Ctrl-Z as end-of-file is a Microsoft extension
ext_token_used
Extension
Lexical or Preprocessor Issue
language-extension-token
extension used
warn_cxx11_keyword
Warning
Lexical or Preprocessor Issue
c++11-compat
'.*' is a keyword in C\+\+11
warn_cxx20_keyword
Warning
Lexical or Preprocessor Issue
c++20-compat
'.*' is a keyword in C\+\+20
ext_unterminated_char_or_string
ExtWarn
Lexical or Preprocessor Issue
invalid-pp-token
missing terminating ('|'\"') character
ext_empty_character
ExtWarn
Lexical or Preprocessor Issue
invalid-pp-token
empty character constant
err_unterminated_block_comment
Error
Lexical or Preprocessor Issue
Empty Group
unterminated /\* comment
err_invalid_character_to_charify
Error
Lexical or Preprocessor Issue
Empty Group
invalid argument to convert to character
err_unterminated___pragma
Error
Lexical or Preprocessor Issue
Empty Group
missing terminating '\)' character
err_conflict_marker
Error
Lexical or Preprocessor Issue
Empty Group
version control conflict marker in file
err_raw_delim_too_long
Error
Lexical or Preprocessor Issue
Empty Group
raw string delimiter longer than 16 characters; use PREFIX\( \)PREFIX to delimit raw string
err_invalid_char_raw_delim
Error
Lexical or Preprocessor Issue
Empty Group
invalid character '.*' character in raw string delimiter; use PREFIX\( \)PREFIX to delimit raw string
err_unterminated_raw_string
Error
Lexical or Preprocessor Issue
Empty Group
raw string missing terminating delimiter \).*\"
warn_cxx98_compat_raw_string_literal
Warning
Lexical or Preprocessor Issue
c++98-compat
raw string literals are incompatible with C\+\+98
ext_multichar_character_literal
ExtWarn
Lexical or Preprocessor Issue
multichar
multi-character character constant
ext_four_char_character_literal
Extension
Lexical or Preprocessor Issue
four-char-constants
multi-character character constant
err_invalid_utf8
Error
Lexical or Preprocessor Issue
Empty Group
source file is not valid UTF-8
err_non_ascii
Error
Lexical or Preprocessor Issue
Empty Group
non-ASCII characters are not allowed outside of literals and identifiers
ext_unicode_whitespace
ExtWarn
Lexical or Preprocessor Issue
unicode-whitespace
treating Unicode character as whitespace
warn_utf8_symbol_homoglyph
Warning
Lexical or Preprocessor Issue
unicode-homoglyph
treating Unicode character <U\+.*> as identifier character rather than as '.*' symbol
warn_utf8_symbol_zero_width
Warning
Lexical or Preprocessor Issue
unicode-zero-width
identifier contains Unicode character <U\+.*> that is invisible in some environments
err_hex_escape_no_digits
Error
Lexical or Preprocessor Issue
Empty Group
\\.* used with no following hex digits
warn_ucn_escape_no_digits
Warning
Lexical or Preprocessor Issue
unicode
\\.* used with no following hex digits; treating as '\\' followed by identifier
err_ucn_escape_incomplete
Error
Lexical or Preprocessor Issue
Empty Group
incomplete universal character name
warn_ucn_escape_incomplete
Warning
Lexical or Preprocessor Issue
unicode
incomplete universal character name; treating as '\\' followed by identifier
note_ucn_four_not_eight
Note
Lexical or Preprocessor Issue
Empty Group
did you mean to use '\\u'\?
err_ucn_escape_basic_scs
Error
Lexical or Preprocessor Issue
Empty Group
character '.*' cannot be specified by a universal character name
err_ucn_control_character
Error
Lexical or Preprocessor Issue
Empty Group
universal character name refers to a control character
err_ucn_escape_invalid
Error
Lexical or Preprocessor Issue
Empty Group
invalid universal character
warn_ucn_escape_surrogate
Warning
Lexical or Preprocessor Issue
unicode
universal character name refers to a surrogate character
warn_c99_compat_unicode_id
Warning
Lexical or Preprocessor Issue
c99-compat
(using this character in an identifier|starting an identifier with this character) is incompatible with C99
warn_cxx98_compat_unicode_id
Warning
Lexical or Preprocessor Issue
c++98-compat
using this character in an identifier is incompatible with C\+\+98
warn_cxx98_compat_literal_ucn_escape_basic_scs
Warning
Lexical or Preprocessor Issue
c++98-compat
specifying character '.*' with a universal character name is incompatible with C\+\+98
warn_cxx98_compat_literal_ucn_control_character
Warning
Lexical or Preprocessor Issue
c++98-compat
universal character name referring to a control character is incompatible with C\+\+98
warn_ucn_not_valid_in_c89
Warning
Lexical or Preprocessor Issue
unicode
universal character names are only valid in C99 or C\+\+; treating as '\\' followed by identifier
warn_ucn_not_valid_in_c89_literal
ExtWarn
Lexical or Preprocessor Issue
unicode
universal character names are only valid in C99 or C\+\+
ext_nonstandard_escape
Extension
Lexical or Preprocessor Issue
Empty Group
use of non-standard escape character '\\.*'
ext_unknown_escape
ExtWarn
Lexical or Preprocessor Issue
unknown-escape-sequence
unknown escape sequence '\\.*'
err_invalid_digit
Error
Lexical or Preprocessor Issue
Empty Group
invalid digit '.*' in (decimal|octal|binary) constant
err_invalid_suffix_constant
Error
Lexical or Preprocessor Issue
Empty Group
invalid suffix '.*' on (integer|floating|fixed-point) constant
warn_cxx11_compat_digit_separator
Warning
Lexical or Preprocessor Issue
c++98-c++11-compat
digit separators are incompatible with C\+\+ standards before C\+\+14
err_digit_separator_not_between_digits
Error
Lexical or Preprocessor Issue
Empty Group
digit separator cannot appear at (start|end) of digit sequence
warn_extraneous_char_constant
Warning
Lexical or Preprocessor Issue
Empty Group
extraneous characters in character constant ignored
warn_char_constant_too_large
Warning
Lexical or Preprocessor Issue
Empty Group
character constant too long for its type
err_multichar_utf_character_literal
Error
Lexical or Preprocessor Issue
Empty Group
Unicode character literals may not contain multiple characters
err_exponent_has_no_digits
Error
Lexical or Preprocessor Issue
Empty Group
exponent has no digits
err_hex_constant_requires
Error
Lexical or Preprocessor Issue
Empty Group
hexadecimal floating (constant|literal) requires (an exponent|a significand)
ext_hex_constant_invalid
Extension
Lexical or Preprocessor Issue
c99-extensions
hexadecimal floating constants are a C99 feature
ext_hex_literal_invalid
Extension
Lexical or Preprocessor Issue
c++17-extensions
hexadecimal floating literals are a C\+\+17 feature
warn_cxx17_hex_literal
Warning
Lexical or Preprocessor Issue
c++98-c++11-c++14-compat-pedantic
hexadecimal floating literals are incompatible with C\+\+ standards before C\+\+17
ext_binary_literal
Extension
Lexical or Preprocessor Issue
gnu-binary-literal
binary integer literals are a GNU extension
ext_binary_literal_cxx14
Extension
Lexical or Preprocessor Issue
c++14-binary-literal
binary integer literals are a C\+\+14 extension
warn_cxx11_compat_binary_literal
Warning
Lexical or Preprocessor Issue
c++98-c++11-compat-binary-literal
binary integer literals are incompatible with C\+\+ standards before C\+\+14
err_pascal_string_too_long
Error
Lexical or Preprocessor Issue
Empty Group
Pascal string is too long
err_escape_too_large
Error
Lexical or Preprocessor Issue
Empty Group
(hex|octal) escape sequence out of range
ext_string_too_long
Extension
Lexical or Preprocessor Issue
overlength-strings
string literal of length .* exceeds maximum length .* that (C90|ISO C99|C\+\+) compilers are required to support
err_character_too_large
Error
Lexical or Preprocessor Issue
Empty Group
character too large for enclosing character literal type
warn_c99_compat_unicode_literal
Warning
Lexical or Preprocessor Issue
c99-compat
unicode literals are incompatible with C99
warn_cxx98_compat_unicode_literal
Warning
Lexical or Preprocessor Issue
c++98-compat
unicode literals are incompatible with C\+\+98
warn_cxx14_compat_u8_character_literal
Warning
Lexical or Preprocessor Issue
c++98-c++11-c++14-compat
unicode literals are incompatible with C\+\+ standards before C\+\+17
warn_cxx11_compat_user_defined_literal
Warning
Lexical or Preprocessor Issue
c++11-compat
identifier after literal will be treated as a user-defined literal suffix in C\+\+11
warn_cxx11_compat_reserved_user_defined_literal
Warning
Lexical or Preprocessor Issue
c++11-compat-reserved-user-defined-literal
identifier after literal will be treated as a reserved user-defined literal suffix in C\+\+11
ext_reserved_user_defined_literal
ExtWarn
Lexical or Preprocessor Issue
reserved-user-defined-literal
invalid suffix on literal; C\+\+11 requires a space between literal and identifier
ext_ms_reserved_user_defined_literal
ExtWarn
Lexical or Preprocessor Issue
reserved-user-defined-literal
invalid suffix on literal; C\+\+11 requires a space between literal and identifier
err_unsupported_string_concat
Error
Lexical or Preprocessor Issue
Empty Group
unsupported non-standard concatenation of string literals
err_string_concat_mixed_suffix
Error
Lexical or Preprocessor Issue
Empty Group
differing user-defined suffixes \('.*' and '.*'\) in string literal concatenation
err_pp_invalid_udl
Error
Lexical or Preprocessor Issue
Empty Group
(character|integer) literal with user-defined suffix cannot be used in preprocessor constant expression
err_bad_string_encoding
Error
Lexical or Preprocessor Issue
Empty Group
illegal character encoding in string literal
warn_bad_string_encoding
ExtWarn
Lexical or Preprocessor Issue
invalid-source-encoding
illegal character encoding in string literal
err_bad_character_encoding
Error
Lexical or Preprocessor Issue
Empty Group
illegal character encoding in character literal
warn_bad_character_encoding
ExtWarn
Lexical or Preprocessor Issue
invalid-source-encoding
illegal character encoding in character literal
err_lexing_string
Error
Lexical or Preprocessor Issue
Empty Group
failure when lexing a string
err_placeholder_in_source
Error
Lexical or Preprocessor Issue
Empty Group
editor placeholder in source file
pp_hash_warning
Warning
User-Defined Issue
#warnings
.*
err_pp_hash_error
Error
User-Defined Issue
Empty Group
.*
pp_include_next_in_primary
Warning
Lexical or Preprocessor Issue
include-next-outside-header
#include_next in primary source file; will search from start of include path
pp_include_macros_out_of_predefines
Error
Lexical or Preprocessor Issue
Empty Group
the #__include_macros directive is only for internal use by -imacros
pp_include_next_absolute_path
Warning
Lexical or Preprocessor Issue
include-next-absolute-path
#include_next in file found relative to primary source file or found by absolute path; will search from start of include path
ext_c99_whitespace_required_after_macro_name
ExtWarn
Lexical or Preprocessor Issue
c99-extensions
ISO C99 requires whitespace after the macro name
ext_missing_whitespace_after_macro_name
ExtWarn
Lexical or Preprocessor Issue
Empty Group
whitespace required after macro name
warn_missing_whitespace_after_macro_name
Warning
Lexical or Preprocessor Issue
Empty Group
whitespace recommended after macro name
pp_nonportable_path
Warning
Lexical or Preprocessor Issue
nonportable-include-path
non-portable path to file '.*'; specified path differs in case from file name on disk
pp_nonportable_system_path
Warning
Lexical or Preprocessor Issue
nonportable-system-include-path
non-portable path to file '.*'; specified path differs in case from file name on disk
pp_pragma_once_in_main_file
Warning
Lexical or Preprocessor Issue
pragma-once-outside-header
#pragma once in main file
pp_pragma_sysheader_in_main_file
Warning
Lexical or Preprocessor Issue
pragma-system-header-outside-header
#pragma system_header ignored in main file
pp_poisoning_existing_macro
Warning
Lexical or Preprocessor Issue
Empty Group
poisoning existing macro
pp_out_of_date_dependency
Warning
Lexical or Preprocessor Issue
Empty Group
current file is older than dependency .*
ext_pp_undef_builtin_macro
ExtWarn
Lexical or Preprocessor Issue
builtin-macro-redefined
undefining builtin macro
ext_pp_redef_builtin_macro
ExtWarn
Lexical or Preprocessor Issue
builtin-macro-redefined
redefining builtin macro
pp_disabled_macro_expansion
Warning
Lexical or Preprocessor Issue
disabled-macro-expansion
disabled expansion of recursive macro
pp_macro_not_used
Warning
Lexical or Preprocessor Issue
unused-macros
macro is not used
warn_pp_undef_identifier
Warning
Lexical or Preprocessor Issue
undef
.* is not defined, evaluates to 0
warn_pp_undef_prefix
Warning
Lexical or Preprocessor Issue
undef-prefix
.* is not defined, evaluates to 0
warn_pp_ambiguous_macro
Warning
Lexical or Preprocessor Issue
ambiguous-macro
ambiguous expansion of macro .*
note_pp_ambiguous_macro_chosen
Note
Lexical or Preprocessor Issue
Empty Group
expanding this definition of .*
note_pp_ambiguous_macro_other
Note
Lexical or Preprocessor Issue
Empty Group
other definition of .*
warn_pp_macro_hides_keyword
Extension
Lexical or Preprocessor Issue
keyword-macro
keyword is hidden by macro definition
warn_pp_macro_is_reserved_id
Warning
Lexical or Preprocessor Issue
reserved-id-macro
macro name is a reserved identifier
warn_pp_objc_macro_redef_ignored
Warning
Lexical or Preprocessor Issue
objc-macro-redefinition
ignoring redefinition of Objective-C qualifier macro
pp_invalid_string_literal
Warning
Lexical or Preprocessor Issue
Empty Group
invalid string literal, ignoring final '\\'
warn_pp_expr_overflow
Warning
Lexical or Preprocessor Issue
Empty Group
integer overflow in preprocessor expression
warn_pp_convert_to_positive
Warning
Lexical or Preprocessor Issue
Empty Group
(left|right) side of operator converted from negative value to unsigned: .*
ext_pp_import_directive
Extension
Lexical or Preprocessor Issue
import-preprocessor-directive-pedantic
#import is a language extension
err_pp_import_directive_ms
Error
Lexical or Preprocessor Issue
Empty Group
#import of type library is an unsupported Microsoft feature
ext_pp_include_search_ms
ExtWarn
Lexical or Preprocessor Issue
microsoft-include
#include resolved using non-portable Microsoft search rules as: .*
ext_pp_ident_directive
Extension
Lexical or Preprocessor Issue
Empty Group
#ident is a language extension
ext_pp_include_next_directive
Extension
Lexical or Preprocessor Issue
gnu-include-next
#include_next is a language extension
ext_pp_warning_directive
Extension
Lexical or Preprocessor Issue
Empty Group
#warning is a language extension
ext_pp_extra_tokens_at_eol
ExtWarn
Lexical or Preprocessor Issue
extra-tokens
extra tokens at end of #.* directive
ext_pp_comma_expr
Extension
Lexical or Preprocessor Issue
Empty Group
comma operator in operand of #if
ext_pp_bad_vaargs_use
Extension
Lexical or Preprocessor Issue
Empty Group
__VA_ARGS__ can only appear in the expansion of a C99 variadic macro
ext_pp_bad_vaopt_use
ExtWarn
Lexical or Preprocessor Issue
variadic-macros
__VA_OPT__ can only appear in the expansion of a variadic macro
err_pp_missing_lparen_in_vaopt_use
Error
Lexical or Preprocessor Issue
Empty Group
missing '\(' following __VA_OPT__
err_pp_vaopt_nested_use
Error
Lexical or Preprocessor Issue
Empty Group
__VA_OPT__ cannot be nested within its own replacement tokens
err_vaopt_paste_at_start
Error
Lexical or Preprocessor Issue
Empty Group
'##' cannot appear at start of __VA_OPT__ argument
err_vaopt_paste_at_end
Error
Lexical or Preprocessor Issue
Empty Group
'##' cannot appear at end of __VA_OPT__ argument
ext_pp_macro_redef
ExtWarn
Lexical or Preprocessor Issue
macro-redefined
.* macro redefined
ext_variadic_macro
Extension
Lexical or Preprocessor Issue
variadic-macros
variadic macros are a C99 feature
warn_cxx98_compat_variadic_macro
Warning
Lexical or Preprocessor Issue
c++98-compat-pedantic
variadic macros are incompatible with C\+\+98
ext_named_variadic_macro
Extension
Lexical or Preprocessor Issue
variadic-macros
named variadic macros are a GNU extension
err_embedded_directive
Error
Lexical or Preprocessor Issue
Empty Group
embedding a #.* directive within macro arguments is not supported
ext_embedded_directive
Extension
Lexical or Preprocessor Issue
embedded-directive
embedding a directive within macro arguments has undefined behavior
ext_missing_varargs_arg
Extension
Lexical or Preprocessor Issue
gnu-zero-variadic-macro-arguments
must specify at least one argument for '\.\.\.' parameter of variadic macro
ext_empty_fnmacro_arg
Extension
Lexical or Preprocessor Issue
c99-extensions
empty macro arguments are a C99 feature
warn_cxx98_compat_empty_fnmacro_arg
Warning
Lexical or Preprocessor Issue
c++98-compat-pedantic
empty macro arguments are incompatible with C\+\+98
note_macro_here
Note
Lexical or Preprocessor Issue
Empty Group
macro .* defined here
note_macro_expansion_here
Note
Lexical or Preprocessor Issue
Empty Group
expansion of macro .* requested here
ext_pp_opencl_variadic_macros
Extension
Lexical or Preprocessor Issue
Empty Group
variadic macros are a Clang extension in OpenCL
err_pp_invalid_directive
Error
Lexical or Preprocessor Issue
Empty Group
invalid preprocessing directive
err_pp_directive_required
Error
Lexical or Preprocessor Issue
Empty Group
.* must be used within a preprocessing directive
err_pp_file_not_found
Error
Lexical or Preprocessor Issue
Empty Group
'.*' file not found
err_pp_through_header_not_found
Error
Lexical or Preprocessor Issue
Empty Group
'.*' required for precompiled header not found
err_pp_through_header_not_seen
Error
Lexical or Preprocessor Issue
Empty Group
#include of '.*' not seen while attempting to (create|use) precompiled header
err_pp_pragma_hdrstop_not_seen
Error
Lexical or Preprocessor Issue
Empty Group
#pragma hdrstop not seen while attempting to use precompiled header
warn_pp_macro_def_mismatch_with_pch
Warning
Lexical or Preprocessor Issue
clang-cl-pch
definition of macro .* does not match definition in precompiled header
warn_pp_hdrstop_filename_ignored
Warning
Lexical or Preprocessor Issue
clang-cl-pch
#pragma hdrstop filename not supported, /Fp can be used to specify precompiled header filename
err_pp_file_not_found_angled_include_not_fatal
Error
Lexical or Preprocessor Issue
Empty Group
'.*' file not found with <angled> (include|import); use \"quotes\" instead
err_pp_file_not_found_typo_not_fatal
Error
Lexical or Preprocessor Issue
Empty Group
'.*' file not found, did you mean '.*'\?
note_pp_framework_without_header
Note
Lexical or Preprocessor Issue
Empty Group
did not find header '.*' in framework '.*' \(loaded from '.*'\)
err_pp_error_opening_file
Error
Lexical or Preprocessor Issue
Empty Group
error opening file '.*': .*
err_pp_including_mainfile_in_preamble
Error
Lexical or Preprocessor Issue
Empty Group
main file cannot be included recursively when building a preamble
err_pp_empty_filename
Error
Lexical or Preprocessor Issue
Empty Group
empty filename
err_pp_include_too_deep
Error
Lexical or Preprocessor Issue
Empty Group
#include nested too deeply
err_pp_expects_filename
Error
Lexical or Preprocessor Issue
Empty Group
expected \"FILENAME\" or <FILENAME>
err_pp_macro_not_identifier
Error
Lexical or Preprocessor Issue
Empty Group
macro name must be an identifier
err_pp_missing_macro_name
Error
Lexical or Preprocessor Issue
Empty Group
macro name missing
err_pp_missing_rparen_in_macro_def
Error
Lexical or Preprocessor Issue
Empty Group
missing '\)' in macro parameter list
err_pp_invalid_tok_in_arg_list
Error
Lexical or Preprocessor Issue
Empty Group
invalid token in macro parameter list
err_pp_expected_ident_in_arg_list
Error
Lexical or Preprocessor Issue
Empty Group
expected identifier in macro parameter list
err_pp_expected_comma_in_arg_list
Error
Lexical or Preprocessor Issue
Empty Group
expected comma in macro parameter list
err_pp_duplicate_name_in_arg_list
Error
Lexical or Preprocessor Issue
Empty Group
duplicate macro parameter name .*
err_pp_stringize_not_parameter
Error
Lexical or Preprocessor Issue
Empty Group
'(#|#@)' is not followed by a macro parameter
err_pp_malformed_ident
Error
Lexical or Preprocessor Issue
Empty Group
invalid #ident directive
err_pp_unterminated_conditional
Error
Lexical or Preprocessor Issue
Empty Group
unterminated conditional directive
pp_err_else_after_else
Error
Lexical or Preprocessor Issue
Empty Group
#else after #else
pp_err_elif_after_else
Error
Lexical or Preprocessor Issue
Empty Group
#elif after #else
pp_err_else_without_if
Error
Lexical or Preprocessor Issue
Empty Group
#else without #if
pp_err_elif_without_if
Error
Lexical or Preprocessor Issue
Empty Group
#elif without #if
err_pp_endif_without_if
Error
Lexical or Preprocessor Issue
Empty Group
#endif without #if
err_pp_expected_value_in_expr
Error
Lexical or Preprocessor Issue
Empty Group
expected value in expression
err_pp_expected_rparen
Error
Lexical or Preprocessor Issue
Empty Group
expected '\)' in preprocessor expression
err_pp_expected_eol
Error
Lexical or Preprocessor Issue
Empty Group
expected end of line in preprocessor expression
err_pp_expected_after
Error
Lexical or Preprocessor Issue
Empty Group
missing .* after .*
err_pp_nested_paren
Error
Lexical or Preprocessor Issue
Empty Group
nested parentheses not permitted in .*
err_pp_colon_without_question
Error
Lexical or Preprocessor Issue
Empty Group
':' without preceding '\?'
err_pp_division_by_zero
Error
Lexical or Preprocessor Issue
Empty Group
division by zero in preprocessor expression
err_pp_remainder_by_zero
Error
Lexical or Preprocessor Issue
Empty Group
remainder by zero in preprocessor expression
err_pp_expr_bad_token_binop
Error
Lexical or Preprocessor Issue
Empty Group
token is not a valid binary operator in a preprocessor subexpression
err_pp_expr_bad_token_lparen
Error
Lexical or Preprocessor Issue
Empty Group
function-like macro .* is not defined
err_pp_expr_bad_token_start_expr
Error
Lexical or Preprocessor Issue
Empty Group
invalid token at start of a preprocessor expression
err_pp_invalid_poison
Error
Lexical or Preprocessor Issue
Empty Group
can only poison identifier tokens
err_pp_used_poisoned_id
Error
Lexical or Preprocessor Issue
Empty Group
attempt to use a poisoned identifier
err_feature_check_malformed
Error
Lexical or Preprocessor Issue
Empty Group
builtin feature check macro requires a parenthesized identifier
warn_has_warning_invalid_option
ExtWarn
Lexical or Preprocessor Issue
malformed-warning-check
__has_warning expected option name \(e\.g\. \"-Wundef\"\)
err_pp_identifier_arg_not_identifier
Error
Lexical or Preprocessor Issue
Empty Group
cannot convert .* token to an identifier
warn_pragma_include_alias_mismatch_angle
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
angle-bracketed include <.*> cannot be aliased to double-quoted include \".*\"
warn_pragma_include_alias_mismatch_quote
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
double-quoted include \".*\" cannot be aliased to angle-bracketed include <.*>
warn_pragma_include_alias_expected
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
pragma include_alias expected '.*'
warn_pragma_include_alias_expected_filename
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
pragma include_alias expected include filename
warn_pragma_warning_expected
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
#pragma warning expected '.*'
warn_pragma_warning_spec_invalid
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
#pragma warning expected 'push', 'pop', 'default', 'disable', 'error', 'once', 'suppress', 1, 2, 3, or 4
warn_pragma_warning_push_level
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
#pragma warning\(push, level\) requires a level between 0 and 4
warn_pragma_warning_expected_number
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
#pragma warning expected a warning number
warn_pragma_exec_charset_expected
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
#pragma execution_character_set expected '.*'
warn_pragma_exec_charset_spec_invalid
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
#pragma execution_character_set expected 'push' or 'pop'
warn_pragma_exec_charset_push_invalid
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
#pragma execution_character_set invalid value '.*', only 'UTF-8' is supported
err__Pragma_malformed
Error
Lexical or Preprocessor Issue
Empty Group
_Pragma takes a parenthesized string literal
err_pragma_message_malformed
Error
Lexical or Preprocessor Issue
Empty Group
pragma (message|warning|error) requires parenthesized string
err_pragma_push_pop_macro_malformed
Error
Lexical or Preprocessor Issue
Empty Group
pragma .* requires a parenthesized string
warn_pragma_pop_macro_no_push
Warning
Lexical or Preprocessor Issue
ignored-pragmas
pragma pop_macro could not pop '.*', no matching push_macro
warn_pragma_message
Warning
Lexical or Preprocessor Issue
#pragma-messages
.*
err_pragma_message
Error
Lexical or Preprocessor Issue
Empty Group
.*
warn_pragma_ignored
Warning
Lexical or Preprocessor Issue
unknown-pragmas
unknown pragma ignored
ext_on_off_switch_syntax
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
expected 'ON' or 'OFF' or 'DEFAULT' in pragma
ext_pragma_syntax_eod
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
expected end of directive in pragma
warn_pragma_diagnostic_invalid
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
pragma diagnostic expected 'error', 'warning', 'ignored', 'fatal', 'push', or 'pop'
warn_pragma_diagnostic_cannot_pop
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
pragma diagnostic pop could not pop, no matching push
warn_pragma_diagnostic_invalid_option
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
pragma diagnostic expected option name \(e\.g\. \"-Wundef\"\)
warn_pragma_diagnostic_invalid_token
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
unexpected token in pragma diagnostic
warn_pragma_diagnostic_unknown_warning
ExtWarn
Lexical or Preprocessor Issue
unknown-warning-option
unknown warning group '.*', ignored
warn_pragma_debug_unexpected_command
Warning
Lexical or Preprocessor Issue
ignored-pragmas
unexpected debug command '.*'
warn_pragma_debug_missing_argument
Warning
Lexical or Preprocessor Issue
ignored-pragmas
missing argument to debug command '.*'
warn_pragma_debug_unknown_module
Warning
Lexical or Preprocessor Issue
ignored-pragmas
unknown module '.*'
err_pp_expected_module_name
Error
Lexical or Preprocessor Issue
Empty Group
expected (identifier after '\.' in |)module name
err_pp_module_begin_wrong_module
Error
Lexical or Preprocessor Issue
Empty Group
must specify '-fmodule-name=.*' to enter (|submodule of )this module( \(current module is .*\)|)
err_pp_module_begin_no_module_map
Error
Lexical or Preprocessor Issue
Empty Group
no module map available for module .*
err_pp_module_begin_no_submodule
Error
Lexical or Preprocessor Issue
Empty Group
submodule .*\..* not declared in module map
err_pp_module_begin_without_module_end
Error
Lexical or Preprocessor Issue
Empty Group
no matching '#pragma clang module end' for this '#pragma clang module begin'
err_pp_module_end_without_module_begin
Error
Lexical or Preprocessor Issue
Empty Group
no matching '#pragma clang module begin' for this '#pragma clang module end'
note_pp_module_begin_here
Note
Lexical or Preprocessor Issue
Empty Group
entering module '.*' due to this pragma
err_pp_module_build_missing_end
Error
Lexical or Preprocessor Issue
Empty Group
no matching '#pragma clang module endbuild' for this '#pragma clang module build'
err_defined_macro_name
Error
Lexical or Preprocessor Issue
Empty Group
'defined' cannot be used as a macro name
err_paste_at_start
Error
Lexical or Preprocessor Issue
Empty Group
'##' cannot appear at start of macro expansion
err_paste_at_end
Error
Lexical or Preprocessor Issue
Empty Group
'##' cannot appear at end of macro expansion
ext_paste_comma
Extension
Lexical or Preprocessor Issue
gnu-zero-variadic-macro-arguments
token pasting of ',' and __VA_ARGS__ is a GNU extension
err_unterm_macro_invoc
Error
Lexical or Preprocessor Issue
Empty Group
unterminated function-like macro invocation
err_too_many_args_in_macro_invoc
Error
Lexical or Preprocessor Issue
Empty Group
too many arguments provided to function-like macro invocation
note_suggest_parens_for_macro
Note
Lexical or Preprocessor Issue
Empty Group
parentheses are required around macro argument containing braced initializer list
note_init_list_at_beginning_of_macro_argument
Note
Lexical or Preprocessor Issue
Empty Group
cannot use initializer list at the beginning of a macro argument
err_too_few_args_in_macro_invoc
Error
Lexical or Preprocessor Issue
Empty Group
too few arguments provided to function-like macro invocation
err_pp_bad_paste
Error
Lexical or Preprocessor Issue
Empty Group
pasting formed '.*', an invalid preprocessing token
ext_pp_bad_paste_ms
ExtWarn
Lexical or Preprocessor Issue
invalid-token-paste
pasting formed '.*', an invalid preprocessing token
err_pp_operator_used_as_macro_name
Error
Lexical or Preprocessor Issue
Empty Group
C\+\+ operator .* \(aka .*\) used as a macro name
ext_pp_operator_used_as_macro_name
Extension
Lexical or Preprocessor Issue
microsoft-cpp-macro
err_pp_operator_used_as_macro_name\.Text
err_pp_illegal_floating_literal
Error
Lexical or Preprocessor Issue
Empty Group
floating point literal in preprocessor expression
err_pp_line_requires_integer
Error
Lexical or Preprocessor Issue
Empty Group
#line directive requires a positive integer argument
ext_pp_line_zero
Extension
Lexical or Preprocessor Issue
gnu-zero-line-directive
#line directive with zero argument is a GNU extension
err_pp_line_invalid_filename
Error
Lexical or Preprocessor Issue
Empty Group
invalid filename for #line directive
warn_pp_line_decimal
Warning
Lexical or Preprocessor Issue
Empty Group
(#line|GNU line marker) directive interprets number as decimal, not octal
err_pp_line_digit_sequence
Error
Lexical or Preprocessor Issue
Empty Group
(#line|GNU line marker) directive requires a simple digit sequence
err_pp_linemarker_requires_integer
Error
Lexical or Preprocessor Issue
Empty Group
line marker directive requires a positive integer argument
err_pp_linemarker_invalid_filename
Error
Lexical or Preprocessor Issue
Empty Group
invalid filename for line marker directive
err_pp_linemarker_invalid_flag
Error
Lexical or Preprocessor Issue
Empty Group
invalid flag line marker directive
err_pp_linemarker_invalid_pop
Error
Lexical or Preprocessor Issue
Empty Group
invalid line marker flag '2': cannot pop empty include stack
ext_pp_line_too_big
Extension
Lexical or Preprocessor Issue
Empty Group
C requires #line number to be less than .*, allowed as extension
warn_cxx98_compat_pp_line_too_big
Warning
Lexical or Preprocessor Issue
c++98-compat-pedantic
#line number greater than 32767 is incompatible with C\+\+98
err_pp_visibility_non_macro
Error
Lexical or Preprocessor Issue
Empty Group
no macro named .*
err_pp_arc_cf_code_audited_syntax
Error
Lexical or Preprocessor Issue
Empty Group
expected 'begin' or 'end'
err_pp_double_begin_of_arc_cf_code_audited
Error
Lexical or Preprocessor Issue
Empty Group
already inside '#pragma clang arc_cf_code_audited'
err_pp_unmatched_end_of_arc_cf_code_audited
Error
Lexical or Preprocessor Issue
Empty Group
not currently inside '#pragma clang arc_cf_code_audited'
err_pp_include_in_arc_cf_code_audited
Error
Lexical or Preprocessor Issue
Empty Group
cannot (#include files|import headers) inside '#pragma clang arc_cf_code_audited'
err_pp_eof_in_arc_cf_code_audited
Error
Lexical or Preprocessor Issue
Empty Group
'#pragma clang arc_cf_code_audited' was not ended within this file
warn_pp_date_time
Warning
Lexical or Preprocessor Issue
date-time
expansion of date or time macro is not reproducible
err_mmap_unknown_token
Error
Lexical or Preprocessor Issue
Empty Group
skipping stray token
err_mmap_expected_module
Error
Lexical or Preprocessor Issue
Empty Group
expected module declaration
err_mmap_expected_module_name
Error
Lexical or Preprocessor Issue
Empty Group
expected module name
err_mmap_expected_lbrace
Error
Lexical or Preprocessor Issue
Empty Group
expected '\{' to start module '.*'
err_mmap_expected_rbrace
Error
Lexical or Preprocessor Issue
Empty Group
expected '\}'
note_mmap_lbrace_match
Note
Lexical or Preprocessor Issue
Empty Group
to match this '\{'
err_mmap_expected_rsquare
Error
Lexical or Preprocessor Issue
Empty Group
expected '\]' to close attribute
note_mmap_lsquare_match
Note
Lexical or Preprocessor Issue
Empty Group
to match this '\]'
err_mmap_expected_member
Error
Lexical or Preprocessor Issue
Empty Group
expected umbrella, header, submodule, or module export
err_mmap_expected_header
Error
Lexical or Preprocessor Issue
Empty Group
expected a header name after '.*'
err_mmap_expected_mmap_file
Error
Lexical or Preprocessor Issue
Empty Group
expected a module map file name
err_mmap_module_redefinition
Error
Lexical or Preprocessor Issue
Empty Group
redefinition of module '.*'
note_mmap_prev_definition
Note
Lexical or Preprocessor Issue
Empty Group
previously defined here
err_mmap_umbrella_clash
Error
Lexical or Preprocessor Issue
Empty Group
umbrella for module '.*' already covers this directory
err_mmap_module_id
Error
Lexical or Preprocessor Issue
Empty Group
expected a module name or '\*'
err_mmap_expected_library_name
Error
Lexical or Preprocessor Issue
Empty Group
expected (library|framework) name as a string
err_mmap_config_macro_submodule
Error
Lexical or Preprocessor Issue
Empty Group
configuration macros are only allowed in top-level modules
err_mmap_use_decl_submodule
Error
Lexical or Preprocessor Issue
Empty Group
use declarations are only allowed in top-level modules
err_mmap_expected_config_macro
Error
Lexical or Preprocessor Issue
Empty Group
expected configuration macro name after ','
err_mmap_expected_conflicts_comma
Error
Lexical or Preprocessor Issue
Empty Group
expected ',' after conflicting module name
err_mmap_expected_conflicts_message
Error
Lexical or Preprocessor Issue
Empty Group
expected a message describing the conflict with '.*'
err_mmap_missing_module_unqualified
Error
Lexical or Preprocessor Issue
Empty Group
no module named '.*' visible from '.*'
err_mmap_missing_module_qualified
Error
Lexical or Preprocessor Issue
Empty Group
no module named '.*' in '.*'
err_mmap_missing_parent_module
Error
Lexical or Preprocessor Issue
Empty Group
no module named '.*' (found|in '.*') parent module must be defined before the submodule
err_mmap_top_level_inferred_submodule
Error
Lexical or Preprocessor Issue
Empty Group
only submodules and framework modules may be inferred with wildcard syntax
err_mmap_inferred_no_umbrella
Error
Lexical or Preprocessor Issue
Empty Group
inferred submodules require a module with an umbrella
err_mmap_inferred_framework_submodule
Error
Lexical or Preprocessor Issue
Empty Group
inferred submodule cannot be a framework submodule
err_mmap_explicit_inferred_framework
Error
Lexical or Preprocessor Issue
Empty Group
inferred framework modules cannot be 'explicit'
err_mmap_missing_exclude_name
Error
Lexical or Preprocessor Issue
Empty Group
expected excluded module name
err_mmap_inferred_redef
Error
Lexical or Preprocessor Issue
Empty Group
redefinition of inferred submodule
err_mmap_expected_lbrace_wildcard
Error
Lexical or Preprocessor Issue
Empty Group
expected '\{' to start inferred submodule
err_mmap_expected_inferred_member
Error
Lexical or Preprocessor Issue
Empty Group
expected (module exclusion with 'exclude'|'export \*')
err_mmap_expected_export_wildcard
Error
Lexical or Preprocessor Issue
Empty Group
only '\*' can be exported from an inferred submodule
err_mmap_explicit_top_level
Error
Lexical or Preprocessor Issue
Empty Group
'explicit' is not permitted on top-level modules
err_mmap_nested_submodule_id
Error
Lexical or Preprocessor Issue
Empty Group
qualified module name can only be used to define modules at the top level
err_mmap_expected_feature
Error
Lexical or Preprocessor Issue
Empty Group
expected a feature name
err_mmap_expected_attribute
Error
Lexical or Preprocessor Issue
Empty Group
expected an attribute name
warn_mmap_unknown_attribute
Warning
Lexical or Preprocessor Issue
ignored-attributes
unknown attribute '.*'
warn_mmap_mismatched_private_submodule
Warning
Lexical or Preprocessor Issue
private-module
private submodule '.*' in private module map, expected top-level module
warn_mmap_mismatched_private_module_name
Warning
Lexical or Preprocessor Issue
private-module
expected canonical name for private module '.*'
note_mmap_rename_top_level_private_module
Note
Lexical or Preprocessor Issue
Empty Group
rename '.*' to ensure it can be found by name
warn_mmap_incomplete_framework_module_declaration
Warning
Lexical or Preprocessor Issue
incomplete-framework-module-declaration
skipping '.*' because module declaration of '.*' lacks the 'framework' qualifier
note_mmap_add_framework_keyword
Note
Lexical or Preprocessor Issue
Empty Group
use 'framework module' to declare module '.*'
err_mmap_duplicate_header_attribute
Error
Lexical or Preprocessor Issue
Empty Group
header attribute '.*' specified multiple times
err_mmap_invalid_header_attribute_value
Error
Lexical or Preprocessor Issue
Empty Group
expected integer literal as value for header attribute '.*'
err_mmap_expected_header_attribute
Error
Lexical or Preprocessor Issue
Empty Group
expected a header attribute name \('size' or 'mtime'\)
err_mmap_conflicting_export_as
Error
Lexical or Preprocessor Issue
Empty Group
conflicting re-export of module '.*' as '.*' or '.*'
warn_mmap_redundant_export_as
Warning
Lexical or Preprocessor Issue
private-module
module '.*' already re-exported as '.*'
err_mmap_submodule_export_as
Error
Lexical or Preprocessor Issue
Empty Group
only top-level modules can be re-exported as public
warn_quoted_include_in_framework_header
Warning
Lexical or Preprocessor Issue
quoted-include-in-framework-header
double-quoted include \".*\" in framework header, expected angle-bracketed instead
warn_framework_include_private_from_public
Warning
Lexical or Preprocessor Issue
framework-include-private-from-public
public framework header includes private framework header '.*'
warn_auto_module_import
Warning
Lexical or Preprocessor Issue
auto-import
treating #(include|import|include_next|__include_macros) as an import of module '.*'
note_implicit_top_level_module_import_here
Note
Lexical or Preprocessor Issue
Empty Group
submodule of top-level module '.*' implicitly imported here
warn_uncovered_module_header
Warning
Lexical or Preprocessor Issue
incomplete-umbrella
umbrella header for module '.*' does not include header '.*'
warn_mmap_umbrella_dir_not_found
Warning
Lexical or Preprocessor Issue
incomplete-umbrella
umbrella directory '.*' not found
err_expected_id_building_module
Error
Lexical or Preprocessor Issue
Empty Group
expected a module name in '__building_module' expression
warn_use_of_private_header_outside_module
Warning
Lexical or Preprocessor Issue
private-header
use of private header from outside its module: '.*'
err_undeclared_use_of_module
Error
Lexical or Preprocessor Issue
Empty Group
module .* does not depend on a module exporting '.*'
warn_non_modular_include_in_framework_module
Warning
Lexical or Preprocessor Issue
non-modular-include-in-framework-module
include of non-modular header inside framework module '.*': '.*'
warn_non_modular_include_in_module
Warning
Lexical or Preprocessor Issue
non-modular-include-in-module
include of non-modular header inside module '.*': '.*'
warn_module_conflict
Warning
Lexical or Preprocessor Issue
module-conflict
module '.*' conflicts with already-imported module '.*': .*
err_header_import_semi_in_macro
Error
Lexical or Preprocessor Issue
Empty Group
semicolon terminating header import declaration cannot be produced by a macro
err_header_import_not_header_unit
Error
Lexical or Preprocessor Issue
Empty Group
header file .* \(aka '.*'\) cannot be imported because it is not known to be a header unit
warn_header_guard
Warning
Lexical or Preprocessor Issue
header-guard
.* is used as a header guard here, followed by #define of a different macro
note_header_guard
Note
Lexical or Preprocessor Issue
Empty Group
.* is defined here; did you mean .*\?
warn_defined_in_object_type_macro
Warning
Lexical or Preprocessor Issue
expansion-to-defined
macro expansion producing 'defined' has undefined behavior
warn_defined_in_function_type_macro
Extension
Lexical or Preprocessor Issue
expansion-to-defined
macro expansion producing 'defined' has undefined behavior
err_pp_assume_nonnull_syntax
Error
Nullability Issue
Empty Group
expected 'begin' or 'end'
err_pp_double_begin_of_assume_nonnull
Error
Nullability Issue
Empty Group
already inside '#pragma clang assume_nonnull'
err_pp_unmatched_end_of_assume_nonnull
Error
Nullability Issue
Empty Group
not currently inside '#pragma clang assume_nonnull'
err_pp_include_in_assume_nonnull
Error
Nullability Issue
Empty Group
cannot (#include files|import headers) inside '#pragma clang assume_nonnull'
err_pp_eof_in_assume_nonnull
Error
Nullability Issue
Empty Group
'#pragma clang assume_nonnull' was not ended within this file
err_dep_source_minimizer_missing_sema_after_at_import
Error
Dependency Directive Source Minimization Issue
Empty Group
could not find ';' after @import
err_dep_source_minimizer_unexpected_tokens_at_import
Error
Dependency Directive Source Minimization Issue
Empty Group
unexpected extra tokens at end of @import declaration
err_asm_qualifier_ignored
Error
Empty Category
Empty Group
expected 'volatile', 'inline', 'goto', or '\('
err_global_asm_qualifier_ignored
Error
Empty Category
Empty Group
meaningless '.*' on asm outside function
err_asm_empty
Error
Inline Assembly Issue
Empty Group
__asm used with no assembly instructions
err_inline_ms_asm_parsing
Error
Inline Assembly Issue
Empty Group
.*
err_msasm_unsupported_arch
Error
Inline Assembly Issue
Empty Group
Unsupported architecture '.*' for MS-style inline assembly
err_msasm_unable_to_create_target
Error
Inline Assembly Issue
Empty Group
MS-style inline assembly is not available: .*
err_gnu_inline_asm_disabled
Error
Inline Assembly Issue
Empty Group
GNU-style inline assembly is disabled
err_asm_duplicate_qual
Error
Inline Assembly Issue
Empty Group
duplicate asm qualifier '.*'
ext_empty_translation_unit
Extension
Parse Issue
empty-translation-unit
ISO C requires a translation unit to contain at least one declaration
warn_cxx98_compat_top_level_semi
Warning
Parse Issue
c++98-compat-extra-semi
extra ';' outside of a function is incompatible with C\+\+98
ext_extra_semi
Extension
Parse Issue
extra-semi
extra ';' (outside of a function|inside a .*|inside instance variable list|after member function definition)
ext_extra_semi_cxx11
Extension
Parse Issue
c++11-extra-semi
extra ';' outside of a function is a C\+\+11 extension
warn_extra_semi_after_mem_fn_def
Warning
Parse Issue
extra-semi
extra ';' after member function definition
warn_null_statement
Warning
Parse Issue
extra-semi-stmt
empty expression statement has no effect; remove unnecessary ';' to silence this warning
warn_misleading_indentation
Warning
Parse Issue
misleading-indentation
misleading indentation; statement is not part of the previous '(if|else|for|while)'
note_previous_statement
Note
Parse Issue
Empty Group
previous statement is here
warn_compound_token_split_by_macro
Warning
Parse Issue
compound-token-split-by-macro
(.* and |).* tokens (introducing statement expression|terminating statement expression|introducing attribute|terminating attribute|forming pointer to member type) appear in different macro expansion contexts
note_compound_token_split_second_token_here
Note
Parse Issue
Empty Group
(|second ).* token is here
warn_compound_token_split_by_whitespace
Warning
Parse Issue
compound-token-split-by-space
(.* and |).* tokens (introducing statement expression|terminating statement expression|introducing attribute|terminating attribute|forming pointer to member type) are separated by whitespace
ext_thread_before
Extension
Parse Issue
Empty Group
'__thread' before '.*'
ext_keyword_as_ident
ExtWarn
Parse Issue
keyword-compat
keyword '.*' will be made available as an identifier (here|for the remainder of the translation unit)
ext_nullability
Extension
Parse Issue
nullability-extension
type nullability specifier .* is a Clang extension
err_empty_enum
Error
Parse Issue
Empty Group
use of empty enum
ext_ident_list_in_param
Extension
Parse Issue
Empty Group
type-less parameter names in function declaration
ext_c99_variable_decl_in_for_loop
Extension
Parse Issue
c99-extensions
variable declaration in for loop is a C99-specific feature
ext_c99_compound_literal
Extension
Parse Issue
c99-extensions
compound literals are a C99-specific feature
ext_enumerator_list_comma_c
Extension
Parse Issue
c99-extensions
commas at the end of enumerator lists are a C99-specific feature
ext_enumerator_list_comma_cxx
Extension
Parse Issue
c++11-extensions
commas at the end of enumerator lists are a C\+\+11 extension
warn_cxx98_compat_enumerator_list_comma
Warning
Parse Issue
c++98-compat-pedantic
commas at the end of enumerator lists are incompatible with C\+\+98
err_enumerator_list_missing_comma
Error
Parse Issue
Empty Group
missing ',' between enumerators
err_enumerator_unnamed_no_def
Error
Parse Issue
Empty Group
unnamed enumeration must be a definition
ext_cxx11_enum_fixed_underlying_type
Extension
Parse Issue
c++11-extensions
enumeration types with a fixed underlying type are a C\+\+11 extension
ext_ms_c_enum_fixed_underlying_type
Extension
Parse Issue
microsoft-fixed-enum
enumeration types with a fixed underlying type are a Microsoft extension
ext_clang_c_enum_fixed_underlying_type
Extension
Parse Issue
fixed-enum-extension
enumeration types with a fixed underlying type are a Clang extension
warn_cxx98_compat_enum_fixed_underlying_type
Warning
Parse Issue
c++98-compat
enumeration types with a fixed underlying type are incompatible with C\+\+98
ext_enum_base_in_type_specifier
ExtWarn
Parse Issue
elaborated-enum-base
non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration(|; missing list of enumerators\?)
ext_elaborated_enum_class
ExtWarn
Parse Issue
elaborated-enum-class
reference to enumeration must use 'enum' not 'enum (struct|class)'
err_scoped_enum_missing_identifier
Error
Parse Issue
Empty Group
scoped enumeration requires a name
ext_scoped_enum
ExtWarn
Parse Issue
c++11-extensions
scoped enumerations are a C\+\+11 extension
warn_cxx98_compat_scoped_enum
Warning
Parse Issue
c++98-compat
scoped enumerations are incompatible with C\+\+98
err_anonymous_enum_bitfield
Error
Parse Issue
Empty Group
ISO C\+\+ only allows ':' in member enumeration declaration to introduce a fixed underlying type, not an anonymous bit-field
warn_cxx98_compat_alignof
Warning
Parse Issue
c++98-compat
alignof expressions are incompatible with C\+\+98
ext_alignof_expr
ExtWarn
Parse Issue
gnu-alignof-expression
.* applied to an expression is a GNU extension
err_lambda_after_delete
Error
Parse Issue
Empty Group
'\[\]' after delete interpreted as 'delete\[\]'; add parentheses to treat this as a lambda-expression
warn_microsoft_dependent_exists
Warning
Parse Issue
microsoft-exists
dependent (__if_not_exists|__if_exists) declarations are ignored
warn_microsoft_qualifiers_ignored
Warning
Parse Issue
ignored-attributes
qualifiers after comma in declarator list are ignored
err_duplicate_default_assoc
Error
Parse Issue
Empty Group
duplicate default generic association
note_previous_default_assoc
Note
Parse Issue
Empty Group
previous default generic association is here
ext_c99_feature
Extension
Parse Issue
c99-extensions
'.*' is a C99 extension
ext_c11_feature
Extension
Parse Issue
c11-extensions
'.*' is a C11 extension
err_c11_noreturn_misplaced
Error
Parse Issue
Empty Group
'_Noreturn' keyword must precede function declarator
ext_gnu_indirect_goto
Extension
Parse Issue
gnu-label-as-value
use of GNU indirect-goto extension
ext_gnu_address_of_label
Extension
Parse Issue
gnu-label-as-value
use of GNU address-of-label extension
err_stmtexpr_file_scope
Error
Parse Issue
Empty Group
statement expression not allowed at file scope
ext_gnu_statement_expr
Extension
Parse Issue
gnu-statement-expression
use of GNU statement expression extension
ext_gnu_conditional_expr
Extension
Parse Issue
gnu-conditional-omitted-operand
use of GNU \?: conditional expression extension, omitting middle operand
ext_gnu_empty_initializer
Extension
Parse Issue
gnu-empty-initializer
use of GNU empty initializer extension
ext_gnu_array_range
Extension
Parse Issue
gnu-designator
use of GNU array range extension
ext_gnu_missing_equal_designator
ExtWarn
Parse Issue
gnu-designator
use of GNU 'missing =' extension in designator
err_expected_equal_designator
Error
Parse Issue
Empty Group
expected '=' or another designator
ext_gnu_old_style_field_designator
ExtWarn
Parse Issue
gnu-designator
use of GNU old-style field designator extension
ext_gnu_case_range
Extension
Parse Issue
gnu-case-range
use of GNU case range extension
err_expected_expression
Error
Parse Issue
Empty Group
expected expression
err_expected_type
Error
Parse Issue
Empty Group
expected a type
err_expected_external_declaration
Error
Parse Issue
Empty Group
expected external declaration
err_extraneous_closing_brace
Error
Parse Issue
Empty Group
extraneous closing brace \('\}'\)
err_expected_semi_declaration
Error
Parse Issue
Empty Group
expected ';' at end of declaration
err_expected_semi_decl_list
Error
Parse Issue
Empty Group
expected ';' at end of declaration list
ext_expected_semi_decl_list
ExtWarn
Parse Issue
Empty Group
expected ';' at end of declaration list
err_expected_member_name_or_semi
Error
Parse Issue
Empty Group
expected member name or ';' after declaration specifiers
err_function_declared_typedef
Error
Parse Issue
Empty Group
function definition declared 'typedef'
err_at_defs_cxx
Error
Parse Issue
Empty Group
@defs is not supported in Objective-C\+\+
err_at_in_class
Error
Parse Issue
Empty Group
unexpected '@' in member specification
err_unexpected_semi
Error
Parse Issue
Empty Group
unexpected ';' before .*
err_postfix_after_unary_requires_parens
Error
Parse Issue
Empty Group
expression cannot be followed by a postfix .* operator; add parentheses
err_unparenthesized_non_primary_expr_in_requires_clause
Error
Parse Issue
Empty Group
parentheses are required around this expression in a requires clause
note_unparenthesized_non_primary_expr_in_requires_clause
Note
Parse Issue
Empty Group
parentheses are required around this expression in a requires clause
err_expected_fn_body
Error
Parse Issue
Empty Group
expected function body after function declarator
warn_attribute_on_function_definition
Warning
Parse Issue
gcc-compat
GCC does not allow .* attribute in this position on a function definition
warn_gcc_attribute_location
Warning
Parse Issue
gcc-compat
GCC does not allow an attribute in this position on a function declaration
warn_gcc_variable_decl_in_for_loop
Warning
Parse Issue
gcc-compat
GCC does not allow variable declarations in for loop initializers before C99
warn_attribute_no_decl
Warning
Parse Issue
ignored-attributes
attribute .* ignored, because it is not attached to a declaration
err_ms_attributes_not_enabled
Error
Parse Issue
Empty Group
'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
err_expected_method_body
Error
Parse Issue
Empty Group
expected method body
err_declspec_after_virtspec
Error
Parse Issue
Empty Group
'.*' qualifier may not appear after the virtual specifier '.*'
err_invalid_token_after_toplevel_declarator
Error
Parse Issue
Empty Group
expected ';' after top level declarator
err_invalid_token_after_declarator_suggest_equal
Error
Parse Issue
Empty Group
invalid .* at end of declaration; did you mean '='\?
err_expected_statement
Error
Parse Issue
Empty Group
expected statement
err_expected_lparen_after
Error
Parse Issue
Empty Group
expected '\(' after '.*'
err_expected_rparen_after
Error
Parse Issue
Empty Group
expected '\)' after '.*'
err_expected_punc
Error
Parse Issue
Empty Group
expected '\)' or ',' after '.*'
err_expected_less_after
Error
Parse Issue
Empty Group
expected '<' after '.*'
err_expected_lbrace_in_compound_literal
Error
Parse Issue
Empty Group
expected '\{' in compound literal
err_expected_while
Error
Parse Issue
Empty Group
expected 'while' in do/while loop
err_expected_semi_after_stmt
Error
Parse Issue
Empty Group
expected ';' after .* statement
err_expected_semi_after_expr
Error
Parse Issue
Empty Group
expected ';' after expression
err_extraneous_token_before_semi
Error
Parse Issue
Empty Group
extraneous '.*' before ';'
err_expected_semi_after_method_proto
Error
Parse Issue
Empty Group
expected ';' after method prototype
err_expected_semi_after_namespace_name
Error
Parse Issue
Empty Group
expected ';' after namespace name
err_unexpected_namespace_attributes_alias
Error
Parse Issue
Empty Group
attributes cannot be specified on namespace alias
err_unexpected_nested_namespace_attribute
Error
Parse Issue
Empty Group
attributes cannot be specified on a nested namespace definition
err_inline_namespace_alias
Error
Parse Issue
Empty Group
namespace alias cannot be inline
err_namespace_nonnamespace_scope
Error
Parse Issue
Empty Group
namespaces can only be defined in global or namespace scope
ext_nested_namespace_definition
ExtWarn
Parse Issue
c++17-extensions
nested namespace definition is a C\+\+17 extension; define each namespace separately
warn_cxx14_compat_nested_namespace_definition
Warning
Parse Issue
c++98-c++11-c++14-compat
nested namespace definition is incompatible with C\+\+ standards before C\+\+17
ext_inline_nested_namespace_definition
ExtWarn
Parse Issue
c++20-extensions
inline nested namespace definition is a C\+\+20 extension
warn_cxx17_compat_inline_nested_namespace_definition
Warning
Parse Issue
c++98-c++11-c++14-c++17-compat
inline nested namespace definition is incompatible with C\+\+ standards before C\+\+20
err_inline_nested_namespace_definition
Error
Parse Issue
Empty Group
nested namespace definition cannot be 'inline'
err_expected_semi_after_attribute_list
Error
Parse Issue
Empty Group
expected ';' after attribute list
err_expected_semi_after_static_assert
Error
Parse Issue
Empty Group
expected ';' after static_assert
err_expected_semi_for
Error
Parse Issue
Empty Group
expected ';' in 'for' statement specifier
err_single_decl_assign_in_for_range
Error
Parse Issue
Empty Group
range-based 'for' statement uses ':', not '='
warn_missing_selector_name
Warning
Parse Issue
missing-selector-name
.* used as the name of the previous parameter rather than as part of the selector
note_missing_selector_name
Note
Parse Issue
Empty Group
introduce a parameter name to make .* part of the selector
note_force_empty_selector_name
Note
Parse Issue
Empty Group
or insert whitespace before ':' to use .* as parameter name and have an empty entry in the selector
err_label_end_of_compound_statement
Error
Parse Issue
Empty Group
label at end of compound statement: expected statement
err_address_of_label_outside_fn
Error
Parse Issue
Empty Group
use of address-of-label extension outside of a function body
err_asm_operand_wide_string_literal
Error
Parse Issue
Empty Group
cannot use (unicode|wide|an empty) string literal in 'asm'
err_expected_selector_for_method
Error
Parse Issue
Empty Group
expected selector for Objective-C method
err_expected_property_name
Error
Parse Issue
Empty Group
expected property name
err_unexpected_at
Error
Parse Issue
Empty Group
unexpected '@' in program
err_atimport
Error
Parse Issue
Empty Group
use of '@import' when modules are disabled
warn_atimport_in_framework_header
Warning
Parse Issue
atimport-in-framework-header
use of '@import' in framework header is discouraged, including this header requires -fmodules
err_invalid_reference_qualifier_application
Error
Parse Issue
Empty Group
'.*' qualifier may not be applied to a reference
err_illegal_decl_reference_to_reference
Error
Parse Issue
Empty Group
.* declared as a reference to a reference
ext_rvalue_reference
ExtWarn
Parse Issue
c++11-extensions
rvalue references are a C\+\+11 extension
warn_cxx98_compat_rvalue_reference
Warning
Parse Issue
c++98-compat
rvalue references are incompatible with C\+\+98
ext_ref_qualifier
ExtWarn
Parse Issue
c++11-extensions
reference qualifiers on functions are a C\+\+11 extension
warn_cxx98_compat_ref_qualifier
Warning
Parse Issue
c++98-compat
reference qualifiers on functions are incompatible with C\+\+98
ext_inline_namespace
ExtWarn
Parse Issue
c++11-inline-namespace
inline namespaces are a C\+\+11 feature
warn_cxx98_compat_inline_namespace
Warning
Parse Issue
c++98-compat
inline namespaces are incompatible with C\+\+98
ext_generalized_initializer_lists
ExtWarn
Parse Issue
c++11-extensions
generalized initializer lists are a C\+\+11 extension
warn_cxx98_compat_generalized_initializer_lists
Warning
Parse Issue
c++98-compat
generalized initializer lists are incompatible with C\+\+98
err_init_list_bin_op
Error
Parse Issue
Empty Group
initializer list cannot be used on the (left|right) hand side of operator '.*'
warn_cxx98_compat_trailing_return_type
Warning
Parse Issue
c++98-compat
trailing return types are incompatible with C\+\+98
err_requires_clause_must_appear_after_trailing_return
Error
Parse Issue
Empty Group
trailing return type must appear before trailing requires clause
err_requires_clause_on_declarator_not_declaring_a_function
Error
Parse Issue
Empty Group
trailing requires clause can only be used when declaring a function
err_requires_clause_inside_parens
Error
Parse Issue
Empty Group
trailing requires clause should be placed outside parentheses
ext_auto_storage_class
ExtWarn
Parse Issue
auto-storage-class
'auto' storage class specifier is not permitted in C\+\+11, and will not be supported in future releases
ext_decltype_auto_type_specifier
ExtWarn
Parse Issue
c++14-extensions
'decltype\(auto\)' type specifier is a C\+\+14 extension
warn_cxx11_compat_decltype_auto_type_specifier
Warning
Parse Issue
c++98-c++11-compat
'decltype\(auto\)' type specifier is incompatible with C\+\+ standards before C\+\+14
ext_auto_type
Extension
Parse Issue
gnu-auto-type
'__auto_type' is a GNU extension
ext_for_range
ExtWarn
Parse Issue
c++11-extensions
range-based for loop is a C\+\+11 extension
warn_cxx98_compat_for_range
Warning
Parse Issue
c++98-compat
range-based for loop is incompatible with C\+\+98
err_for_range_identifier
Error
Parse Issue
Empty Group
range-based for loop requires type for loop variable
err_for_range_expected_decl
Error
Parse Issue
Empty Group
for range declaration must declare a variable
err_argument_required_after_attribute
Error
Parse Issue
Empty Group
argument required after attribute
err_missing_param
Error
Parse Issue
Empty Group
expected parameter declarator
err_function_scope_depth_exceeded
Error
Parse Issue
Empty Group
function scope depth exceeded maximum of .*
err_missing_comma_before_ellipsis
Error
Parse Issue
Empty Group
C requires a comma prior to the ellipsis in a variadic function type
err_unexpected_typedef_ident
Error
Parse Issue
Empty Group
unexpected type name .*: expected identifier
warn_cxx98_compat_decltype
Warning
Parse Issue
c++98-compat
'decltype' type specifier is incompatible with C\+\+98
err_unexpected_scope_on_base_decltype
Error
Parse Issue
Empty Group
unexpected namespace scope prior to decltype
err_expected_class_name
Error
Parse Issue
Empty Group
expected class name
err_expected_class_name_not_template
Error
Parse Issue
Empty Group
'typename' is redundant; base classes are implicitly types
err_unspecified_vla_size_with_static
Error
Parse Issue
Empty Group
'static' may not be used with an unspecified variable length array size
err_unspecified_size_with_static
Error
Parse Issue
Empty Group
'static' may not be used without an array size
err_expected_parentheses_around_typename
Error
Parse Issue
Empty Group
expected parentheses around type name in .* expression
err_expected_case_before_expression
Error
Parse Issue
Empty Group
expected 'case' keyword before expression
ext_warn_gnu_final
ExtWarn
Parse Issue
gcc-compat
__final is a GNU extension, consider using C\+\+11 final
err_typename_requires_specqual
Error
Parse Issue
Empty Group
type name requires a specifier or qualifier
err_typename_invalid_storageclass
Error
Parse Issue
Empty Group
type name does not allow storage class to be specified
err_typename_invalid_functionspec
Error
Parse Issue
Empty Group
type name does not allow function specifier to be specified
err_typename_invalid_constexpr
Error
Parse Issue
Empty Group
type name does not allow (<ERROR>|constexpr|consteval|constinit) specifier to be specified
err_typename_identifiers_only
Error
Parse Issue
Empty Group
typename is allowed for identifiers only
err_friend_invalid_in_context
Error
Parse Issue
Empty Group
'friend' used outside of class
err_templated_using_directive_declaration
Error
Parse Issue
Empty Group
cannot template a using (directive|declaration)
err_unexpected_colon_in_nested_name_spec
Error
Parse Issue
Empty Group
unexpected ':' in nested name specifier; did you mean '::'\?
err_unexpected_token_in_nested_name_spec
Error
Parse Issue
Empty Group
'.*' cannot be a part of nested name specifier; did you mean ':'\?
err_bool_redeclaration
Error
Parse Issue
Empty Group
redeclaration of C\+\+ built-in type 'bool'
warn_cxx98_compat_static_assert
Warning
Parse Issue
c++98-compat
static_assert declarations are incompatible with C\+\+98
ext_static_assert_no_message
ExtWarn
Parse Issue
c++17-extensions
static_assert with no message is a C\+\+17 extension
warn_cxx14_compat_static_assert_no_message
Warning
Parse Issue
c++98-c++11-c++14-compat
static_assert with no message is incompatible with C\+\+ standards before C\+\+17
err_function_definition_not_allowed
Error
Parse Issue
Empty Group
function definition is not allowed here
err_expected_end_of_enumerator
Error
Parse Issue
Empty Group
expected '= constant-expression' or end of enumerator definition
err_expected_coloncolon_after_super
Error
Parse Issue
Empty Group
expected '::' after '__super'
ext_decomp_decl_empty
ExtWarn
Parse Issue
empty-decomposition
ISO C\+\+17 does not allow a decomposition group to be empty
err_expected_minus_or_plus
Error
Parse Issue
Empty Group
method type specifier must start with '-' or '\+'
err_objc_missing_end
Error
Parse Issue
Empty Group
missing '@end'
note_objc_container_start
Note
Parse Issue
Empty Group
(class|protocol|category|class extension|implementation|category implementation) started here
warn_objc_protocol_qualifier_missing_id
Warning
Parse Issue
Empty Group
protocol has no object type specified; defaults to qualified 'id'
err_objc_unknown_at
Error
Parse Issue
Empty Group
expected an Objective-C directive after '@'
err_illegal_super_cast
Error
Parse Issue
Empty Group
cannot cast 'super' \(it isn't an expression\)
err_nsnumber_nonliteral_unary
Error
Parse Issue
Empty Group
@.* must be followed by a number to form an NSNumber object
warn_cstyle_param
Warning
Parse Issue
deprecated-declarations
use of C-style parameters in Objective-C method declarations is deprecated
err_arc_bridge_retain
Error
ARC Parse Issue
Empty Group
unknown cast annotation __bridge_retain; did you mean __bridge_retained\?
warn_arc_bridge_cast_nonarc
Warning
ARC Parse Issue
arc-bridge-casts-disallowed-in-nonarc
'.*' casts have no effect when not using ARC
err_objc_illegal_visibility_spec
Error
Parse Issue
Empty Group
illegal visibility specification
err_objc_illegal_interface_qual
Error
Parse Issue
Empty Group
illegal interface qualifier
err_objc_expected_equal_for_getter
Error
Parse Issue
Empty Group
expected '=' for Objective-C getter
err_objc_expected_equal_for_setter
Error
Parse Issue
Empty Group
expected '=' for Objective-C setter
err_objc_expected_selector_for_getter_setter
Error
Parse Issue
Empty Group
expected selector for Objective-C (setter|getter)
err_objc_property_requires_field_name
Error
Parse Issue
Empty Group
property requires fields to be named
err_objc_property_bitfield
Error
Parse Issue
Empty Group
property name cannot be a bit-field
err_objc_expected_property_attr
Error
Parse Issue
Empty Group
unknown property attribute .*
err_objc_unexpected_attr
Error
Parse Issue
Empty Group
prefix attribute must be followed by an interface, protocol, or implementation
err_objc_postfix_attribute
Error
Parse Issue
Empty Group
postfix attributes are not allowed on Objective-C directives
err_objc_postfix_attribute_hint
Error
Parse Issue
Empty Group
postfix attributes are not allowed on Objective-C directives, place them in front of '(@interface|@protocol)'
err_objc_directive_only_in_protocol
Error
Parse Issue
Empty Group
directive may only be specified in protocols only
err_missing_catch_finally
Error
Parse Issue
Empty Group
@try statement without a @catch and @finally clause
err_objc_concat_string
Error
Parse Issue
Empty Group
unexpected token after Objective-C string
err_expected_objc_container
Error
Parse Issue
Empty Group
'@end' must appear in an Objective-C context
err_unexpected_protocol_qualifier
Error
Parse Issue
Empty Group
@implementation declaration cannot be protocol qualified
err_objc_unexpected_atend
Error
Parse Issue
Empty Group
'@end' appears where closing brace '\}' is expected
err_synthesized_property_name
Error
Parse Issue
Empty Group
expected a property name in @synthesize
warn_semicolon_before_method_body
Warning
Parse Issue
semicolon-before-method-body
semicolon before method body is ignored
note_extra_comma_message_arg
Note
Parse Issue
Empty Group
comma separating Objective-C messaging arguments
err_expected_field_designator
Error
Parse Issue
Empty Group
expected a field designator, such as '\.field = 4'
err_declaration_does_not_declare_param
Error
Parse Issue
Empty Group
declaration does not declare a parameter
err_no_matching_param
Error
Parse Issue
Empty Group
parameter named .* is missing
err_expected_token_instead_of_objcxx_keyword
Error
Parse Issue
Empty Group
expected .*; .* is a keyword in Objective-C\+\+
err_expected_member_name_or_semi_objcxx_keyword
Error
Parse Issue
Empty Group
expected member name or ';' after declaration specifiers; .* is a keyword in Objective-C\+\+
err_invalid_operator_on_type
Error
Parse Issue
Empty Group
cannot use (dot|arrow) operator on a type
err_expected_unqualified_id
Error
Parse Issue
Empty Group
expected (identifier|unqualified-id)
err_brackets_go_after_unqualified_id
Error
Parse Issue
Empty Group
brackets are not allowed here; to declare an array, place the brackets after the (identifier|name)
err_unexpected_unqualified_id
Error
Parse Issue
Empty Group
type-id cannot have a name
err_func_def_no_params
Error
Parse Issue
Empty Group
function definition does not declare parameters
err_expected_lparen_after_type
Error
Parse Issue
Empty Group
expected '\(' for function-style cast or type construction
err_expected_init_in_condition
Error
Parse Issue
Empty Group
variable declaration in condition must have an initializer
err_expected_init_in_condition_lparen
Error
Parse Issue
Empty Group
variable declaration in condition cannot have a parenthesized initializer
err_extraneous_rparen_in_condition
Error
Parse Issue
Empty Group
extraneous '\)' after condition, expected a statement
warn_dangling_else
Warning
Parse Issue
dangling-else
add explicit braces to avoid dangling else
err_expected_member_or_base_name
Error
Parse Issue
Empty Group
expected class member or base class name
err_expected_lbrace_after_base_specifiers
Error
Parse Issue
Empty Group
expected '\{' after base class list
err_missing_end_of_definition
Error
Parse Issue
Empty Group
missing '\}' at end of definition of .*
note_missing_end_of_definition_before
Note
Parse Issue
Empty Group
still within definition of .* here
ext_ellipsis_exception_spec
Extension
Parse Issue
microsoft-exception-spec
exception specification of '\.\.\.' is a Microsoft extension
err_dynamic_and_noexcept_specification
Error
Parse Issue
Empty Group
cannot have both throw\(\) and noexcept\(\) clause on the same function
err_except_spec_unparsed
Error
Parse Issue
Empty Group
unexpected end of exception specification
ext_dynamic_exception_spec
ExtWarn
Parse Issue
dynamic-exception-spec
ISO C\+\+17 does not allow dynamic exception specifications
warn_exception_spec_deprecated
Warning
Parse Issue
deprecated-dynamic-exception-spec
dynamic exception specifications are deprecated
note_exception_spec_deprecated
Note
Parse Issue
Empty Group
use '.*' instead
warn_cxx98_compat_noexcept_decl
Warning
Parse Issue
c++98-compat
noexcept specifications are incompatible with C\+\+98
err_expected_catch
Error
Parse Issue
Empty Group
expected catch
err_using_namespace_in_class
Error
Parse Issue
Empty Group
'using namespace' is not allowed in classes
err_constructor_bad_name
Error
Parse Issue
Empty Group
missing return type for function .*; did you mean the constructor name .*\?
err_destructor_tilde_identifier
Error
Parse Issue
Empty Group
expected a class name after '~' to name a destructor
err_destructor_tilde_scope
Error
Parse Issue
Empty Group
'~' in destructor name should be after nested name specifier
err_destructor_template_id
Error
Parse Issue
Empty Group
destructor name .* does not refer to a template
err_default_arg_unparsed
Error
Parse Issue
Empty Group
unexpected end of default argument expression
err_bracket_depth_exceeded
Error
Parse Issue
Empty Group
bracket nesting level exceeded maximum of .*
note_bracket_depth
Note
Parse Issue
Empty Group
use -fbracket-depth=N to increase maximum nesting level
err_misplaced_ellipsis_in_declaration
Error
Parse Issue
Empty Group
'\.\.\.' must (immediately precede declared identifier|be innermost component of anonymous pack declaration)
warn_misplaced_ellipsis_vararg
Warning
Parse Issue
ambiguous-ellipsis
'\.\.\.' in this location creates a C-style varargs function(, not a function parameter pack|)
note_misplaced_ellipsis_vararg_existing_ellipsis
Note
Parse Issue
Empty Group
preceding '\.\.\.' declares a function parameter pack
note_misplaced_ellipsis_vararg_add_ellipsis
Note
Parse Issue
Empty Group
place '\.\.\.' (immediately before declared identifier|here) to declare a function parameter pack
note_misplaced_ellipsis_vararg_add_comma
Note
Parse Issue
Empty Group
insert ',' before '\.\.\.' to silence this warning
ext_abstract_pack_declarator_parens
ExtWarn
Parse Issue
anonymous-pack-parens
ISO C\+\+11 requires a parenthesized pack declaration to have a name
err_function_is_not_record
Error
Parse Issue
Empty Group
unexpected .* in function call; perhaps remove the .*\?
err_super_in_using_declaration
Error
Parse Issue
Empty Group
'__super' cannot be used with a using declaration
ext_constexpr_if
ExtWarn
Parse Issue
c++17-extensions
constexpr if is a C\+\+17 extension
warn_cxx14_compat_constexpr_if
Warning
Parse Issue
c++98-c++11-c++14-compat
constexpr if is incompatible with C\+\+ standards before C\+\+17
ext_init_statement
ExtWarn
Parse Issue
c++17-extensions
'(if|switch)' initialization statements are a C\+\+17 extension
warn_cxx14_compat_init_statement
Warning
Parse Issue
c++98-c++11-c++14-compat
(if|switch) initialization statements are incompatible with C\+\+ standards before C\+\+17
ext_for_range_init_stmt
ExtWarn
Parse Issue
c++20-extensions
range-based for loop initialization statements are a C\+\+20 extension
warn_cxx17_compat_for_range_init_stmt
Warning
Parse Issue
c++98-c++11-c++14-c++17-compat
range-based for loop initialization statements are incompatible with C\+\+ standards before C\+\+20
warn_empty_init_statement
Warning
Parse Issue
empty-init-stmt
empty initialization statement of '(if|switch|range-based for)' has no effect
err_keyword_as_parameter
Error
Parse Issue
Empty Group
invalid parameter name: '.*' is a keyword
err_dup_virtual
Error
Parse Issue
Empty Group
duplicate 'virtual' in base specifier
err_literal_operator_string_prefix
Error
Parse Issue
Empty Group
string literal after 'operator' cannot have an encoding prefix
err_literal_operator_string_not_empty
Error
Parse Issue
Empty Group
string literal after 'operator' must be '\"\"'
warn_cxx98_compat_literal_operator
Warning
Parse Issue
c++98-compat
literal operators are incompatible with C\+\+98
err_anon_type_definition
Error
Parse Issue
Empty Group
declaration of anonymous .* must be a definition
err_default_delete_in_multiple_declaration
Error
Parse Issue
Empty Group
'= (default|delete)' is a function definition and must occur in a standalone declaration
warn_cxx98_compat_noexcept_expr
Warning
Parse Issue
c++98-compat
noexcept expressions are incompatible with C\+\+98
warn_cxx98_compat_nullptr
Warning
Parse Issue
c++98-compat
'nullptr' is incompatible with C\+\+98
warn_wrong_clang_attr_namespace
Warning
Parse Issue
ignored-attributes
'__clang__' is a predefined macro name, not an attribute scope specifier; did you mean '_Clang' instead\?
ext_ns_enum_attribute
Extension
Parse Issue
c++17-extensions
attributes on (a namespace|an enumerator) declaration are a C\+\+17 extension
warn_cxx14_compat_ns_enum_attribute
Warning
Parse Issue
c++98-c++11-c++14-compat-pedantic
attributes on (a namespace|an enumerator) declaration are incompatible with C\+\+ standards before C\+\+17
warn_cxx98_compat_alignas
Warning
Parse Issue
c++98-compat
'alignas' is incompatible with C\+\+98
warn_cxx98_compat_attribute
Warning
Parse Issue
c++98-compat
C\+\+11 attribute syntax is incompatible with C\+\+98
err_cxx11_attribute_forbids_arguments
Error
Parse Issue
Empty Group
attribute .* cannot have an argument list
err_attribute_requires_arguments
Error
Parse Issue
Empty Group
parentheses must be omitted if .* attribute's argument list is empty
err_cxx11_attribute_forbids_ellipsis
Error
Parse Issue
Empty Group
attribute .* cannot be used as an attribute pack
err_cxx11_attribute_repeated
Error
Parse Issue
Empty Group
attribute .* cannot appear multiple times in an attribute specifier
warn_cxx14_compat_using_attribute_ns
Warning
Parse Issue
c++98-c++11-c++14-compat
default scope specifier for attributes is incompatible with C\+\+ standards before C\+\+17
ext_using_attribute_ns
ExtWarn
Parse Issue
c++17-extensions
default scope specifier for attributes is a C\+\+17 extension
err_using_attribute_ns_conflict
Error
Parse Issue
Empty Group
attribute with scope specifier cannot follow default scope specifier
err_attributes_not_allowed
Error
Parse Issue
Empty Group
an attribute list cannot appear here
err_attributes_misplaced
Error
Parse Issue
Empty Group
misplaced attributes; expected attributes here
err_l_square_l_square_not_attribute
Error
Parse Issue
Empty Group
C\+\+11 only allows consecutive left square brackets when introducing an attribute
err_ms_declspec_type
Error
Parse Issue
Empty Group
__declspec attributes must be an identifier or string literal
err_ms_property_no_getter_or_putter
Error
Parse Issue
Empty Group
property does not specify a getter or a putter
err_ms_property_unknown_accessor
Error
Parse Issue
Empty Group
expected 'get' or 'put' in property declaration
err_ms_property_has_set_accessor
Error
Parse Issue
Empty Group
putter for property must be specified as 'put', not 'set'
err_ms_property_missing_accessor_kind
Error
Parse Issue
Empty Group
missing 'get=' or 'put='
err_ms_property_expected_equal
Error
Parse Issue
Empty Group
expected '=' after '.*'
err_ms_property_duplicate_accessor
Error
Parse Issue
Empty Group
property declaration specifies '.*' accessor twice
err_ms_property_expected_accessor_name
Error
Parse Issue
Empty Group
expected name of accessor method
err_ms_property_expected_comma_or_rparen
Error
Parse Issue
Empty Group
expected ',' or '\)' at end of property accessor list
err_ms_property_initializer
Error
Parse Issue
Empty Group
property declaration cannot have a default member initializer
warn_cxx20_compat_explicit_bool
Warning
Parse Issue
c++20-compat
this expression will be parsed as explicit\(bool\) in C\+\+20
warn_cxx17_compat_explicit_bool
Warning
Parse Issue
c++98-c++11-c++14-c++17-compat
explicit\(bool\) is incompatible with C\+\+ standards before C\+\+20
ext_explicit_bool
ExtWarn
Parse Issue
c++20-extensions
explicit\(bool\) is a C\+\+20 extension
err_expected_template
Error
Parse Issue
Empty Group
expected template
err_unknown_template_name
Error
Parse Issue
Empty Group
unknown template name .*
err_expected_comma_greater
Error
Parse Issue
Empty Group
expected ',' or '>' in template-parameter-list
err_class_on_template_template_param
Error
Parse Issue
Empty Group
template template parameter requires 'class' after the parameter list
ext_template_template_param_typename
ExtWarn
Parse Issue
c++17-extensions
template template parameter using 'typename' is a C\+\+17 extension
warn_cxx14_compat_template_template_param_typename
Warning
Parse Issue
c++98-c++11-c++14-compat
template template parameter using 'typename' is incompatible with C\+\+ standards before C\+\+17
err_template_spec_syntax_non_template
Error
Parse Issue
Empty Group
identifier followed by '<' indicates a class template specialization but .* (does not refer to a template|refers to a function template|<unused>|refers to a variable template|<unused>|refers to a concept)
err_id_after_template_in_nested_name_spec
Error
Parse Issue
Empty Group
expected template name after 'template' keyword in nested name specifier
err_unexpected_template_in_unqualified_id
Error
Parse Issue
Empty Group
'template' keyword not permitted here
err_unexpected_template_in_destructor_name
Error
Parse Issue
Empty Group
'template' keyword not permitted in destructor name
err_unexpected_template_after_using
Error
Parse Issue
Empty Group
'template' keyword not permitted after 'using' keyword
err_two_right_angle_brackets_need_space
Error
Parse Issue
Empty Group
a space is required between consecutive right angle brackets \(use '> >'\)
err_right_angle_bracket_equal_needs_space
Error
Parse Issue
Empty Group
a space is required between a right angle bracket and an equals sign \(use '> ='\)
warn_cxx11_right_shift_in_template_arg
Warning
Parse Issue
c++11-compat
use of right-shift operator \('>>'\) in template argument will require parentheses in C\+\+11
warn_cxx98_compat_two_right_angle_brackets
Warning
Parse Issue
c++98-compat
consecutive right angle brackets are incompatible with C\+\+98 \(use '> >'\)
err_templated_invalid_declaration
Error
Parse Issue
Empty Group
a static_assert declaration cannot be a template
err_multiple_template_declarators
Error
Parse Issue
Empty Group
(|a template declaration|an explicit template specialization|an explicit template instantiation) can only (|declare|declare|instantiate) a single entity
err_explicit_instantiation_with_definition
Error
Parse Issue
Empty Group
explicit template instantiation cannot have a definition; if this definition is meant to be an explicit specialization, add '<>' after the 'template' keyword
err_template_defn_explicit_instantiation
Error
Parse Issue
Empty Group
(function|class|variable) cannot be defined in an explicit instantiation; if this declaration is meant to be a (function|class|variable) definition, remove the 'template' keyword
err_friend_explicit_instantiation
Error
Parse Issue
Empty Group
friend cannot be declared in an explicit instantiation; if this declaration is meant to be a friend declaration, remove the 'template' keyword
err_explicit_instantiation_enum
Error
Parse Issue
Empty Group
enumerations cannot be explicitly instantiated
err_expected_template_parameter
Error
Parse Issue
Empty Group
expected template parameter
err_empty_requires_expr
Error
Parse Issue
Empty Group
a requires expression must contain at least one requirement
err_requires_expr_parameter_list_ellipsis
Error
Parse Issue
Empty Group
varargs not allowed in requires expression
err_expected_semi_requirement
Error
Parse Issue
Empty Group
expected ';' at end of requirement
err_requires_expr_missing_arrow
Error
Parse Issue
Empty Group
expected '->' before expression type requirement
err_requires_expr_expected_type_constraint
Error
Parse Issue
Empty Group
expected concept name with optional arguments
err_requires_expr_simple_requirement_noexcept
Error
Parse Issue
Empty Group
'noexcept' can only be used in a compound requirement \(with '\{' '\}' around the expression\)
warn_requires_expr_in_simple_requirement
Warning
Parse Issue
requires-expression
this requires expression will only be checked for syntactic validity; did you intend to place it in a nested requirement\? \(add another 'requires' before the expression\)
err_missing_dependent_template_keyword
Error
Parse Issue
Empty Group
use 'template' keyword to treat '.*' as a dependent template name
warn_missing_dependent_template_keyword
ExtWarn
Parse Issue
Empty Group
use 'template' keyword to treat '.*' as a dependent template name
ext_extern_template
Extension
Parse Issue
c++11-extensions
extern templates are a C\+\+11 extension
warn_cxx98_compat_extern_template
Warning
Parse Issue
c++98-compat-pedantic
extern templates are incompatible with C\+\+98
warn_static_inline_explicit_inst_ignored
Warning
Parse Issue
static-inline-explicit-instantiation
ignoring '(static|inline)' keyword on explicit template instantiation
err_out_of_line_constructor_template_id
Error
Parse Issue
Empty Group
out-of-line constructor for .* cannot have template arguments
err_expected_qualified_after_typename
Error
Parse Issue
Empty Group
expected a qualified name after 'typename'
warn_expected_qualified_after_typename
ExtWarn
Parse Issue
Empty Group
expected a qualified name after 'typename'
err_typename_refers_to_non_type_template
Error
Parse Issue
Empty Group
typename specifier refers to a non-type template
err_expected_type_name_after_typename
Error
Parse Issue
Empty Group
expected an identifier or template-id after '::'
err_explicit_spec_non_template
Error
Parse Issue
Empty Group
explicit (specialization|instantiation) of (non-|undeclared )template .* .*
err_default_template_template_parameter_not_template
Error
Parse Issue
Empty Group
default template argument for a template template parameter must be a class template
ext_fold_expression
ExtWarn
Parse Issue
c++17-extensions
pack fold expression is a C\+\+17 extension
warn_cxx14_compat_fold_expression
Warning
Parse Issue
c++98-c++11-c++14-compat
pack fold expression is incompatible with C\+\+ standards before C\+\+17
err_expected_fold_operator
Error
Parse Issue
Empty Group
expected a foldable binary operator in fold expression
err_fold_operator_mismatch
Error
Parse Issue
Empty Group
operators in fold expression must be the same
err_ctor_init_missing_comma
Error
Parse Issue
Empty Group
missing ',' between base or member initializers
err_friend_decl_defines_type
Error
Parse Issue
Empty Group
cannot define a type in a friend declaration
err_missing_whitespace_digraph
Error
Parse Issue
Empty Group
found '<::' after a (template name|addrspace_cast|const_cast|dynamic_cast|reinterpret_cast|static_cast) which forms the digraph '<:' \(aka '\['\) and a ':', did you mean '< ::'\?
ext_defaulted_deleted_function
ExtWarn
Parse Issue
c++11-extensions
(defaulted|deleted) function definitions are a C\+\+11 extension
warn_cxx98_compat_defaulted_deleted_function
Warning
Parse Issue
c++98-compat
(defaulted|deleted) function definitions are incompatible with C\+\+98
ext_nonstatic_member_init
ExtWarn
Parse Issue
c++11-extensions
default member initializer for non-static data member is a C\+\+11 extension
warn_cxx98_compat_nonstatic_member_init
Warning
Parse Issue
c++98-compat
default member initializer for non-static data members is incompatible with C\+\+98
ext_bitfield_member_init
ExtWarn
Parse Issue
c++20-extensions
default member initializer for bit-field is a C\+\+20 extension
warn_cxx17_compat_bitfield_member_init
Warning
Parse Issue
c++98-c++11-c++14-c++17-compat
default member initializer for bit-field is incompatible with C\+\+ standards before C\+\+20
err_anon_bitfield_member_init
Error
Parse Issue
Empty Group
anonymous bit-field cannot have a default member initializer
err_incomplete_array_member_init
Error
Parse Issue
Empty Group
array bound cannot be deduced from a default member initializer
ext_alias_declaration
ExtWarn
Parse Issue
c++11-extensions
alias declarations are a C\+\+11 extension
warn_cxx98_compat_alias_declaration
Warning
Parse Issue
c++98-compat
alias declarations are incompatible with C\+\+98
err_alias_declaration_not_identifier
Error
Parse Issue
Empty Group
name defined in alias declaration must be an identifier
err_alias_declaration_specialization
Error
Parse Issue
Empty Group
(partial specialization|explicit specialization|explicit instantiation) of alias templates is not permitted
err_alias_declaration_pack_expansion
Error
Parse Issue
Empty Group
alias declaration cannot be a pack expansion
ext_multi_using_declaration
ExtWarn
Parse Issue
c++17-extensions
use of multiple declarators in a single using declaration is a C\+\+17 extension
warn_cxx17_compat_multi_using_declaration
Warning
Parse Issue
c++98-c++11-c++14-compat
use of multiple declarators in a single using declaration is incompatible with C\+\+ standards before C\+\+17
ext_using_declaration_pack
ExtWarn
Parse Issue
c++17-extensions
pack expansion of using declaration is a C\+\+17 extension
warn_cxx17_compat_using_declaration_pack
Warning
Parse Issue
c++98-c++11-c++14-compat
pack expansion using declaration is incompatible with C\+\+ standards before C\+\+17
ext_override_control_keyword
ExtWarn
Parse Issue
c++11-extensions
'.*' keyword is a C\+\+11 extension
warn_cxx98_compat_override_control_keyword
Warning
Parse Issue
c++98-compat
'.*' keyword is incompatible with C\+\+98
err_override_control_interface
Error
Parse Issue
Empty Group
'.*' keyword not permitted with interface types
ext_ms_sealed_keyword
ExtWarn
Parse Issue
microsoft-sealed
'sealed' keyword is a Microsoft extension
err_access_specifier_interface
Error
Parse Issue
Empty Group
interface types cannot specify '(private|protected)' access
err_duplicate_virt_specifier
Error
Parse Issue
Empty Group
class member already marked '.*'
err_expected_parameter_pack
Error
Parse Issue
Empty Group
expected the name of a parameter pack
err_paren_sizeof_parameter_pack
Error
Parse Issue
Empty Group
missing parentheses around the size of parameter pack .*
err_sizeof_parameter_pack
Error
Parse Issue
Empty Group
expected parenthesized parameter pack name in 'sizeof\.\.\.' expression
err_expected_comma_or_rsquare
Error
Parse Issue
Empty Group
expected ',' or '\]' in lambda capture list
err_this_captured_by_reference
Error
Parse Issue
Empty Group
'this' cannot be captured by reference
err_expected_capture
Error
Parse Issue
Empty Group
expected variable name or 'this' in lambda capture list
err_expected_lambda_body
Error
Parse Issue
Empty Group
expected body of lambda expression
warn_cxx98_compat_lambda
Warning
Parse Issue
c++98-compat
lambda expressions are incompatible with C\+\+98
err_lambda_missing_parens
Error
Parse Issue
Empty Group
lambda requires '\(\)' before ('mutable'|return type|attribute specifier|'constexpr'|'consteval'|'requires' clause)
err_lambda_decl_specifier_repeated
Error
Parse Issue
Empty Group
('mutable'|'constexpr'|'consteval') cannot appear multiple times in a lambda declarator
err_lambda_capture_misplaced_ellipsis
Error
Parse Issue
Empty Group
ellipsis in pack (|init-)capture must appear (after|before) the name of the capture
err_lambda_capture_multiple_ellipses
Error
Parse Issue
Empty Group
multiple ellipses in pack capture
err_capture_default_first
Error
Parse Issue
Empty Group
capture default must be first
err_expected_star_this_capture
Error
Parse Issue
Empty Group
expected 'this' following '\*' in lambda capture list
warn_cxx14_compat_constexpr_on_lambda
Warning
Parse Issue
c++98-c++11-c++14-compat
constexpr on lambda expressions is incompatible with C\+\+ standards before C\+\+17
ext_constexpr_on_lambda_cxx17
ExtWarn
Parse Issue
c++17-extensions
'constexpr' on lambda expressions is a C\+\+17 extension
ext_lambda_template_parameter_list
ExtWarn
Parse Issue
c++20-extensions
explicit template parameter list for lambdas is a C\+\+20 extension
warn_cxx17_compat_lambda_template_parameter_list
Warning
Parse Issue
c++98-c++11-c++14-c++17-compat
explicit template parameter list for lambdas is incompatible with C\+\+ standards before C\+\+20
err_lambda_template_parameter_list_empty
Error
Parse Issue
Empty Group
lambda template parameter list cannot be empty
err_expected_version
Error
Parse Issue
Empty Group
expected a version of the form 'major\[\.minor\[\.subminor\]\]'
warn_expected_consistent_version_separator
Warning
Parse Issue
availability
use same version number separators '_' or '\.'; as in 'major\[\.minor\[\.subminor\]\]'
err_zero_version
Error
Parse Issue
Empty Group
version number must have non-zero major, minor, or sub-minor version
err_availability_expected_platform
Error
Parse Issue
Empty Group
expected a platform name, e\.g\., 'macos'
err_objcbridge_related_expected_related_class
Error
Parse Issue
Empty Group
expected a related ObjectiveC class name, e\.g\., 'NSColor'
err_objcbridge_related_selector_name
Error
Parse Issue
Empty Group
expected a class method selector with single argument, e\.g\., 'colorWithCGColor:'
err_availability_expected_change
Error
Parse Issue
Empty Group
expected 'introduced', 'deprecated', or 'obsoleted'
err_availability_unknown_change
Error
Parse Issue
Empty Group
.* is not an availability stage; use 'introduced', 'deprecated', or 'obsoleted'
err_availability_redundant
Error
Parse Issue
Empty Group
redundant .* availability change; only the last specified change will be used
warn_availability_and_unavailable
Warning
Parse Issue
availability
'unavailable' availability overrides all other availability information
err_avail_query_expected_platform_name
Error
Parse Issue
Empty Group
expected a platform name here
err_avail_query_unrecognized_platform_name
Error
Parse Issue
Empty Group
unrecognized platform name .*
err_availability_query_wildcard_required
Error
Parse Issue
Empty Group
must handle potential future platforms with '\*'
err_availability_query_repeated_platform
Error
Parse Issue
Empty Group
version for '.*' already specified
err_availability_query_repeated_star
Error
Parse Issue
Empty Group
'\*' query has already been specified
err_external_source_symbol_expected_keyword
Error
Parse Issue
Empty Group
expected 'language', 'defined_in', or 'generated_declaration'
err_external_source_symbol_duplicate_clause
Error
Parse Issue
Empty Group
duplicate .* clause in an 'external_source_symbol' attribute
err_type_safety_unknown_flag
Error
Parse Issue
Empty Group
invalid comparison flag .*; use 'layout_compatible' or 'must_be_null'
err_type_trait_arity
Error
Parse Issue
Empty Group
type trait requires .*(| or more) argument(|s); have .* argument.*
warn_pragma_expected_lparen
Warning
Parse Issue
ignored-pragmas
missing '\(' after '#pragma .*' - ignoring
warn_pragma_expected_rparen
Warning
Parse Issue
ignored-pragmas
missing '\)' after '#pragma .*' - ignoring
warn_pragma_expected_identifier
Warning
Parse Issue
ignored-pragmas
expected identifier in '#pragma .*' - ignored
warn_pragma_expected_string
Warning
Parse Issue
ignored-pragmas
expected string literal in '#pragma .*' - ignoring
warn_pragma_missing_argument
Warning
Parse Issue
ignored-pragmas
missing argument to '#pragma .*'(|; expected .*)
warn_pragma_invalid_argument
Warning
Parse Issue
ignored-pragmas
unexpected argument '.*' to '#pragma .*'(|; expected .*)
err_pragma_misplaced_in_decl
Error
Parse Issue
Empty Group
this pragma cannot appear in .* declaration
err_pragma_expected_clang_section_name
Error
Parse Issue
Empty Group
expected one of \[bss\|data\|rodata\|text\|relro\] section kind in '#pragma .*'
err_pragma_clang_section_expected_equal
Error
Parse Issue
Empty Group
expected '=' following '#pragma clang section (invalid|bss|data|rodata|text|relro)'
warn_pragma_expected_section_name
Warning
Parse Issue
ignored-pragmas
expected a string literal for the section name in '#pragma .*' - ignored
warn_pragma_expected_section_push_pop_or_name
Warning
Parse Issue
ignored-pragmas
expected push, pop or a string literal for the section name in '#pragma .*' - ignored
warn_pragma_expected_section_label_or_name
Warning
Parse Issue
ignored-pragmas
expected a stack label or a string literal for the section name in '#pragma .*' - ignored
warn_pragma_expected_init_seg
Warning
Parse Issue
ignored-pragmas
expected 'compiler', 'lib', 'user', or a string literal for the section name in '#pragma .*' - ignored
err_pragma_expected_integer
Error
Parse Issue
Empty Group
expected an integer argument in '#pragma .*'
warn_pragma_expected_integer
Warning
Parse Issue
ignored-pragmas
expected integer between .* and .* inclusive in '#pragma .*' - ignored
warn_pragma_ms_struct
Warning
Parse Issue
ignored-pragmas
incorrect use of '#pragma ms_struct on\|off' - ignored
warn_pragma_extra_tokens_at_eol
Warning
Parse Issue
ignored-pragmas
extra tokens at end of '#pragma .*' - ignored
warn_pragma_expected_comma
Warning
Parse Issue
ignored-pragmas
expected ',' in '#pragma .*'
warn_pragma_expected_punc
Warning
Parse Issue
ignored-pragmas
expected '\)' or ',' in '#pragma .*'
warn_pragma_expected_non_wide_string
Warning
Parse Issue
ignored-pragmas
expected non-wide string literal in '#pragma .*'
err_pragma_missing_argument
Error
Parse Issue
Empty Group
missing argument to '#pragma .*'(|; expected .*)
warn_pragma_options_expected_align
Warning
Parse Issue
ignored-pragmas
expected 'align' following '#pragma options' - ignored
warn_pragma_align_expected_equal
Warning
Parse Issue
ignored-pragmas
expected '=' following '#pragma (align|options align)' - ignored
warn_pragma_align_invalid_option
Warning
Parse Issue
ignored-pragmas
invalid alignment option in '#pragma (align|options align)' - ignored
warn_pragma_unsupported_action
Warning
Parse Issue
ignored-pragmas
known but unsupported action '.*' for '#pragma .*' - ignored
warn_pragma_invalid_specific_action
Warning
Parse Issue
ignored-pragmas
unknown action '.*' for '#pragma .*' - ignored
warn_pragma_expected_action_or_r_paren
Warning
Parse Issue
ignored-pragmas
expected action or '\)' in '#pragma .*' - ignored
warn_pragma_invalid_action
Warning
Parse Issue
ignored-pragmas
unknown action for '#pragma .*' - ignored
warn_pragma_pack_malformed
Warning
Parse Issue
ignored-pragmas
expected integer or identifier in '#pragma pack' - ignored
warn_pragma_intrinsic_builtin
Warning
Parse Issue
ignored-pragma-intrinsic
.* is not a recognized builtin(|; consider including <intrin\.h> to access non-builtin intrinsics)
warn_pragma_optimize
Warning
Parse Issue
ignored-pragma-optimize
'#pragma optimize' is not supported
warn_pragma_unused_expected_var
Warning
Parse Issue
ignored-pragmas
expected '#pragma unused' argument to be a variable name
warn_pragma_init_seg_unsupported_target
Warning
Parse Issue
ignored-pragmas
'#pragma init_seg' is only supported when targeting a Microsoft environment
err_pragma_file_or_compound_scope
Error
Parse Issue
Empty Group
'#pragma .*' can only appear at file scope or at the start of a compound statement
ext_stdc_pragma_ignored
ExtWarn
Parse Issue
unknown-pragmas
unknown pragma in STDC namespace
warn_stdc_fenv_access_not_supported
Warning
Parse Issue
unknown-pragmas
pragma STDC FENV_ACCESS ON is not supported, ignoring pragma
warn_stdc_fenv_round_not_supported
Warning
Parse Issue
unknown-pragmas
pragma STDC FENV_ROUND is not supported
warn_stdc_unknown_rounding_mode
Warning
Parse Issue
ignored-pragmas
invalid or unsupported rounding mode in '#pragma STDC FENV_ROUND' - ignored
err_pragma_comment_malformed
Error
Parse Issue
Empty Group
pragma comment requires parenthesized identifier and optional string
err_pragma_comment_unknown_kind
Error
Parse Issue
Empty Group
unknown kind of pragma comment
warn_pragma_comment_ignored
Warning
Parse Issue
ignored-pragmas
'#pragma comment .*' ignored
err_pragma_detect_mismatch_malformed
Error
Parse Issue
Empty Group
pragma detect_mismatch is malformed; it requires two comma-separated string literals
err_pragma_float_control_malformed
Error
Parse Issue
Empty Group
pragma float_control is malformed; use 'float_control\(\{push\|pop\}\)' or 'float_control\(\{precise\|except\}, \{on\|off\} \[,push\]\)'
err_pragma_pointers_to_members_unknown_kind
Error
Parse Issue
Empty Group
unexpected .*, expected to see one of (|'best_case', 'full_generality', )'single_inheritance', 'multiple_inheritance', or 'virtual_inheritance'
err_pragma_optimize_invalid_argument
Error
Parse Issue
Empty Group
unexpected argument '.*' to '#pragma clang optimize'; expected 'on' or 'off'
err_pragma_optimize_extra_argument
Error
Parse Issue
Empty Group
unexpected extra argument '.*' to '#pragma clang optimize'
err_pragma_attribute_expected_push_pop_paren
Error
Parse Issue
Empty Group
expected 'push', 'pop', or '\(' after '#pragma clang attribute'
err_pragma_attribute_invalid_argument
Error
Parse Issue
Empty Group
unexpected argument '.*' to '#pragma clang attribute'; expected 'push' or 'pop'
err_pragma_attribute_expected_attribute
Error
Parse Issue
Empty Group
expected an attribute after '\('
err_pragma_attribute_expected_attribute_name
Error
Parse Issue
Empty Group
expected identifier that represents an attribute name
err_pragma_attribute_extra_tokens_after_attribute
Error
Parse Issue
Empty Group
extra tokens after attribute in a '#pragma clang attribute push'
err_pragma_attribute_unsupported_attribute
Error
Parse Issue
Empty Group
attribute .* is not supported by '#pragma clang attribute'
err_pragma_attribute_multiple_attributes
Error
Parse Issue
Empty Group
more than one attribute specified in '#pragma clang attribute push'
err_pragma_attribute_expected_attribute_syntax
Error
Parse Issue
Empty Group
expected an attribute that is specified using the GNU, C\+\+11 or '__declspec' syntax
note_pragma_attribute_use_attribute_kw
Note
Parse Issue
Empty Group
use the GNU '__attribute__' syntax
err_pragma_attribute_invalid_subject_set_specifier
Error
Parse Issue
Empty Group
expected attribute subject set specifier 'apply_to'
err_pragma_attribute_expected_subject_identifier
Error
Parse Issue
Empty Group
expected an identifier that corresponds to an attribute subject rule
err_pragma_attribute_unknown_subject_rule
Error
Parse Issue
Empty Group
unknown attribute subject rule '.*'
err_pragma_attribute_expected_subject_sub_identifier
Error
Parse Issue
Empty Group
expected an identifier that corresponds to an attribute subject matcher sub-rule; '.*' matcher (does not support sub-rules|supports the following sub-rules: .*|)
err_pragma_attribute_unknown_subject_sub_rule
Error
Parse Issue
Empty Group
(invalid use of|unknown) attribute subject matcher sub-rule '.*'; '.*' matcher (does not support sub-rules|supports the following sub-rules: .*)
err_pragma_attribute_duplicate_subject
Error
Parse Issue
Empty Group
duplicate attribute subject matcher '.*'
err_pragma_attribute_expected_period
Error
Parse Issue
Empty Group
expected '\.' after pragma attribute namespace .*
err_pragma_attribute_namespace_on_attribute
Error
Parse Issue
Empty Group
namespace can only apply to 'push' or 'pop' directives
note_pragma_attribute_namespace_on_attribute
Note
Parse Issue
Empty Group
omit the namespace to add attributes to the most-recently pushed attribute group
err_opencl_unroll_hint_on_non_loop
Error
Parse Issue
Empty Group
OpenCL only supports 'opencl_unroll_hint' attribute on for, while, and do statements
warn_pragma_expected_colon
Warning
Parse Issue
ignored-pragmas
missing ':' after .* - ignoring
warn_pragma_expected_predicate
Warning
Parse Issue
ignored-pragmas
expected ('enable', 'disable', 'begin' or 'end'|'disable') - ignoring
warn_pragma_begin_end_mismatch
Warning
Parse Issue
ignored-pragmas
OpenCL extension end directive mismatches begin directive - ignoring
warn_pragma_unknown_extension
Warning
Parse Issue
ignored-pragmas
unknown OpenCL extension .* - ignoring
warn_pragma_unsupported_extension
Warning
Parse Issue
ignored-pragmas
unsupported OpenCL extension .* - ignoring
warn_pragma_extension_is_core
Warning
Parse Issue
pedantic-core-features
OpenCL extension .* is core feature or supported optional core feature - ignoring
err_opencl_taking_function_address_parser
Error
Parse Issue
Empty Group
taking address of function is not allowed
err_opencl_logical_exclusive_or
Error
Parse Issue
Empty Group
^^ is a reserved operator in OpenCL
err_openclcxx_virtual_function
Error
Parse Issue
Empty Group
virtual functions are not supported in C\+\+ for OpenCL
warn_pragma_omp_ignored
Warning
Parse Issue
source-uses-openmp
unexpected '#pragma omp \.\.\.' in program
warn_omp_extra_tokens_at_eol
Warning
Parse Issue
extra-tokens
extra tokens at the end of '#pragma omp .*' are ignored
warn_pragma_expected_colon_r_paren
Warning
Parse Issue
ignored-pragmas
missing ':' or '\)' after .* - ignoring
err_omp_unknown_directive
Error
Parse Issue
Empty Group
expected an OpenMP directive
err_omp_unexpected_directive
Error
Parse Issue
Empty Group
unexpected OpenMP directive (|'#pragma omp .*')
err_omp_expected_punc
Error
Parse Issue
Empty Group
expected ',' or '\)' in '.*' (clause|directive)
err_omp_unexpected_clause
Error
Parse Issue
Empty Group
unexpected OpenMP clause '.*' in directive '#pragma omp .*'
err_omp_immediate_directive
Error
Parse Issue
Empty Group
'#pragma omp .*' (|with '.*' clause )cannot be an immediate substatement
err_omp_expected_identifier_for_critical
Error
Parse Issue
Empty Group
expected identifier specifying the name of the 'omp critical' directive
err_omp_expected_reduction_identifier
Error
Parse Issue
Empty Group
expected identifier or one of the following operators: '\+', '-', '\*', '&', '\|', '^', '&&', or '\|\|'
err_omp_expected_equal_in_iterator
Error
Parse Issue
Empty Group
expected '=' in iterator specifier
err_omp_expected_punc_after_iterator
Error
Parse Issue
Empty Group
expected ',' or '\)' after iterator specifier
err_omp_decl_in_declare_simd_variant
Error
Parse Issue
Empty Group
function declaration is expected after 'declare (simd|variant)' directive
err_omp_unknown_map_type
Error
Parse Issue
Empty Group
incorrect map type, expected one of 'to', 'from', 'tofrom', 'alloc', 'release', or 'delete'
err_omp_unknown_map_type_modifier
Error
Parse Issue
Empty Group
incorrect map type modifier, expected 'always', 'close', (or 'mapper'|'mapper', or 'present')
err_omp_map_type_missing
Error
Parse Issue
Empty Group
missing map type
err_omp_map_type_modifier_missing
Error
Parse Issue
Empty Group
missing map type modifier
err_omp_declare_simd_inbranch_notinbranch
Error
Parse Issue
Empty Group
unexpected '.*' clause, '.*' is specified already
err_expected_end_declare_target_or_variant
Error
Parse Issue
Empty Group
expected '#pragma omp end declare (target|variant)'
err_expected_begin_declare_variant
Error
Parse Issue
Empty Group
'#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
err_omp_declare_target_unexpected_clause
Error
Parse Issue
Empty Group
unexpected '.*' clause, only ('to' or 'link'|'to', 'link' or 'device_type') clauses expected
err_omp_expected_clause
Error
Parse Issue
Empty Group
expected at least one clause on '#pragma omp .*' directive
err_omp_mapper_illegal_identifier
Error
Parse Issue
Empty Group
illegal OpenMP user-defined mapper identifier
err_omp_mapper_expected_declarator
Error
Parse Issue
Empty Group
expected declarator on 'omp declare mapper' directive
err_omp_declare_variant_wrong_clause
Error
Parse Issue
Empty Group
expected '.*' clause on 'omp declare variant' directive
err_omp_declare_variant_duplicate_nested_trait
Error
Parse Issue
Empty Group
nested OpenMP context selector contains duplicated trait '.*' in selector '.*' and set '.*' with different score
err_omp_declare_variant_nested_user_condition
Error
Parse Issue
Empty Group
nested user conditions in OpenMP context selector not supported \(yet\)
warn_omp_declare_variant_string_literal_or_identifier
Warning
Parse Issue
openmp-clauses
expected identifier or string literal describing a context (set|selector|property); (set|selector|property) skipped
warn_unknown_begin_declare_variant_isa_trait
Warning
Parse Issue
source-uses-openmp
isa trait '.*' is not known to the current target; verify the spelling or consider restricting the context selector with the 'arch' selector further
note_omp_declare_variant_ctx_options
Note
Parse Issue
Empty Group
context (set|selector|property) options are: .*
warn_omp_declare_variant_expected
Warning
Parse Issue
openmp-clauses
expected '.*' after the .*; '.*' assumed
warn_omp_declare_variant_ctx_not_a_property
Warning
Parse Issue
openmp-clauses
'.*' is not a valid context property for the context selector '.*' and the context set '.*'; property ignored
note_omp_declare_variant_ctx_is_a
Note
Parse Issue
Empty Group
'.*' is a context (set|selector|property) not a context (set|selector|property)
note_omp_declare_variant_ctx_try
Note
Parse Issue
Empty Group
try 'match\(.*=\{.*.*\}\)'
warn_omp_declare_variant_ctx_not_a_selector
Warning
Parse Issue
openmp-clauses
'.*' is not a valid context selector for the context set '.*'; selector ignored
warn_omp_declare_variant_ctx_not_a_set
Warning
Parse Issue
openmp-clauses
'.*' is not a valid context set in a `declare variant`; set ignored
warn_omp_declare_variant_ctx_mutiple_use
Warning
Parse Issue
openmp-clauses
the context (set|selector|property) '.*' was used already in the same 'omp declare variant' directive; (set|selector|property) ignored
note_omp_declare_variant_ctx_used_here
Note
Parse Issue
Empty Group
the previous context (set|selector|property) '.*' used here
note_omp_declare_variant_ctx_continue_here
Note
Parse Issue
Empty Group
the ignored (set|selector|property) spans until here
warn_omp_ctx_incompatible_selector_for_set
Warning
Parse Issue
openmp-clauses
the context selector '.*' is not valid for the context set '.*'; selector ignored
note_omp_ctx_compatible_set_for_selector
Note
Parse Issue
Empty Group
the context selector '.*' can be nested in the context set '.*'; try 'match\(.*=\{.*(|\(property\))\}\)'
warn_omp_ctx_selector_without_properties
Warning
Parse Issue
openmp-clauses
the context selector '.*' in context set '.*' requires a context property defined in parentheses; selector ignored
warn_omp_ctx_incompatible_property_for_selector
Warning
Parse Issue
openmp-clauses
the context property '.*' is not valid for the context selector '.*' and the context set '.*'; property ignored
note_omp_ctx_compatible_set_and_selector_for_property
Note
Parse Issue
Empty Group
the context property '.*' can be nested in the context selector '.*' which is nested in the context set '.*'; try 'match\(.*=\{.*\(.*\)\}\)'
warn_omp_ctx_incompatible_score_for_property
Warning
Parse Issue
openmp-clauses
the context selector '.*' in the context set '.*' cannot have a score \('.*'\); score ignored
warn_omp_more_one_device_type_clause
Warning
Parse Issue
openmp-clauses
more than one 'device_type' clause is specified
err_omp_variant_ctx_second_match_extension
Error
Parse Issue
Empty Group
only a single match extension allowed per OpenMP context selector
err_omp_invalid_dsa
Error
Parse Issue
Empty Group
data-sharing attribute '.*' in '.*' clause requires OpenMP version .* or above
err_pragma_loop_missing_argument
Error
Parse Issue
Empty Group
missing argument; expected (an integer value|'enable'(|, 'full')(|, 'assume_safety') or 'disable')
err_pragma_loop_invalid_option
Error
Parse Issue
Empty Group
(invalid|missing) option( .*|); expected vectorize, vectorize_width, interleave, interleave_count, unroll, unroll_count, pipeline, pipeline_initiation_interval, vectorize_predicate, or distribute
err_pragma_fp_invalid_option
Error
Parse Issue
Empty Group
(invalid|missing) option( .*|); expected 'contract' or 'reassociate'
err_pragma_fp_invalid_argument
Error
Parse Issue
Empty Group
unexpected argument '.*' to '#pragma clang fp .*'; (expected 'fast' or 'on' or 'off'|expected 'on' or 'off')
err_pragma_invalid_keyword
Error
Parse Issue
Empty Group
invalid argument; expected 'enable'(|, 'full')(|, 'assume_safety') or 'disable'
err_pragma_pipeline_invalid_keyword
Error
Parse Issue
Empty Group
invalid argument; expected 'disable'
err_type_unparsed
Error
Parse Issue
Empty Group
unparsed tokens following type
warn_pragma_unroll_cuda_value_in_parens
Warning
Parse Issue
cuda-compat
argument to '#pragma unroll' should not be in parentheses in CUDA C/C\+\+
warn_cuda_attr_lambda_position
Warning
Parse Issue
cuda-compat
nvcc does not allow '__.*__' to appear after '\(\)' in lambdas
warn_pragma_force_cuda_host_device_bad_arg
Warning
Parse Issue
ignored-pragmas
incorrect use of #pragma clang force_cuda_host_device begin\|end
err_pragma_cannot_end_force_cuda_host_device
Error
Parse Issue
Empty Group
force_cuda_host_device end pragma without matching force_cuda_host_device begin
err_unexpected_module_decl
Error
Modules Issue
Empty Group
module declaration can only appear at the top level
err_module_expected_ident
Error
Modules Issue
Empty Group
expected a module name after '(module|import)'
err_attribute_not_module_attr
Error
Modules Issue
Empty Group
.* attribute cannot be applied to a module
err_attribute_not_import_attr
Error
Modules Issue
Empty Group
.* attribute cannot be applied to a module import
err_module_expected_semi
Error
Modules Issue
Empty Group
expected ';' after module name
err_global_module_introducer_not_at_start
Error
Modules Issue
Empty Group
'module;' introducing a global module fragment can appear only at the start of the translation unit
err_module_fragment_exported
Error
Modules Issue
Empty Group
(global|private) module fragment cannot be exported
err_private_module_fragment_expected_semi
Error
Modules Issue
Empty Group
expected ';' after private module fragment declaration
err_missing_before_module_end
Error
Modules Issue
Empty Group
expected .* at end of module
err_unsupported_module_partition
Error
Modules Issue
Empty Group
sorry, module partitions are not yet supported
err_export_empty
Error
Modules Issue
Empty Group
export declaration cannot be empty
err_objc_expected_type_parameter
Error
Generics Issue
Empty Group
expected type parameter name
err_objc_parameterized_implementation
Error
Generics Issue
Empty Group
@implementation cannot have type parameters
err_objc_type_args_after_protocols
Error
Generics Issue
Empty Group
protocol qualifiers must precede type arguments
note_meant_to_use_typename
Note
Generics Issue
Empty Group
did you mean to use 'typename'\?
err_for_co_await_not_range_for
Error
Coroutines Issue
Empty Group
'co_await' modifier can only be applied to range-based for loop
err_concept_definition_not_identifier
Error
Concepts Issue
Empty Group
name defined in concept definition must be an identifier
ext_concept_legacy_bool_keyword
ExtWarn
Concepts Issue
concepts-ts-compat
ISO C\+\+20 does not permit the 'bool' keyword after 'concept'
err_placeholder_expected_auto_or_decltype_auto
Error
Concepts Issue
Empty Group
expected 'auto' or 'decltype\(auto\)' after concept name
warn_max_tokens
Warning
Empty Category
max-tokens
the number of preprocessor source tokens \(.*\) exceeds this token limit \(.*\)
warn_max_tokens_total
Warning
Empty Category
max-tokens
the total number of preprocessor source tokens \(.*\) exceeds the token limit \(.*\)
note_max_tokens_total_override
Note
Empty Category
Empty Group
total token limit set here
note_previous_decl
Note
Semantic Issue
Empty Group
.* declared here
note_entity_declared_at
Note
Semantic Issue
Empty Group
.* declared here
note_callee_decl
Note
Semantic Issue
Empty Group
.* declared here
note_defined_here
Note
Semantic Issue
Empty Group
.* defined here
warn_variables_not_in_loop_body
Warning
Semantic Issue
for-loop-analysis
variable(s| .*|s .* and .*|s .*, .*, and .*|s .*, .*, .*, and .*) used in loop condition not modified in loop body
warn_redundant_loop_iteration
Warning
Semantic Issue
for-loop-analysis
variable .* is (decremented|incremented) both in the loop header and in the loop body
note_loop_iteration_here
Note
Semantic Issue
Empty Group
(decremented|incremented) here
warn_duplicate_enum_values
Warning
Semantic Issue
duplicate-enum
element .* has been implicitly assigned .* which another element has been assigned
note_duplicate_element
Note
Semantic Issue
Empty Group
element .* also has value .*
warn_unsigned_abs
Warning
Semantic Issue
absolute-value
taking the absolute value of unsigned type .* has no effect
note_remove_abs
Note
Semantic Issue
Empty Group
remove the call to '.*' since unsigned values cannot be negative
warn_abs_too_small
Warning
Semantic Issue
absolute-value
absolute value function .* given an argument of type .* but has parameter of type .* which may cause truncation of value
warn_wrong_absolute_value_type
Warning
Semantic Issue
absolute-value
using (integer|floating point|complex) absolute value function .* when argument is of (integer|floating point|complex) type
note_replace_abs_function
Note
Semantic Issue
Empty Group
use function '.*' instead
warn_pointer_abs
Warning
Semantic Issue
absolute-value
taking the absolute value of (pointer|function|array) type .* is suspicious
warn_max_unsigned_zero
Warning
Semantic Issue
max-unsigned-zero
taking the max of (a value and unsigned zero|unsigned zero and a value) is always equal to the other value
note_remove_max_call
Note
Semantic Issue
Empty Group
remove call to max function and unsigned zero argument
warn_infinite_recursive_function
Warning
Semantic Issue
infinite-recursion
all paths through this function will call itself
warn_comma_operator
Warning
Semantic Issue
comma
possible misuse of comma operator here
note_cast_to_void
Note
Semantic Issue
Empty Group
cast expression to void to silence warning
err_expr_not_ice
Error
Semantic Issue
Empty Group
expression is not an (integer|integral) constant expression
ext_expr_not_ice
Extension
Semantic Issue
gnu-folding-constant
expression is not an (integer|integral) constant expression; folding it to a constant is a GNU extension
err_typecheck_converted_constant_expression
Error
Semantic Issue
Empty Group
value of type .* is not implicitly convertible to .*
err_typecheck_converted_constant_expression_disallowed
Error
Semantic Issue
Empty Group
conversion from .* to .* is not allowed in a converted constant expression
err_typecheck_converted_constant_expression_indirect
Error
Semantic Issue
Empty Group
conversion from .* to .* in converted constant expression would bind reference to a temporary
err_expr_not_cce
Error
Semantic Issue
Empty Group
(case value|enumerator value|non-type template argument|array size|constexpr if condition|explicit specifier argument) is not a constant expression
ext_cce_narrowing
ExtWarn
Semantic Issue
c++11-narrowing
(case value|enumerator value|non-type template argument|array size|constexpr if condition|explicit specifier argument) (cannot be narrowed from type .* to .*|evaluates to .*, which cannot be narrowed to type .*)
err_ice_not_integral
Error
Semantic Issue
Empty Group
(integer|integral) constant expression must have (integer|integral or unscoped enumeration) type, not .*
err_ice_incomplete_type
Error
Semantic Issue
Empty Group
integral constant expression has incomplete class type .*
err_ice_explicit_conversion
Error
Semantic Issue
Empty Group
integral constant expression requires explicit conversion from .* to .*
note_ice_conversion_here
Note
Semantic Issue
Empty Group
conversion to (integral|enumeration) type .* declared here
err_ice_ambiguous_conversion
Error
Semantic Issue
Empty Group
ambiguous conversion from type .* to an integral or unscoped enumeration type
err_ice_too_large
Error
Semantic Issue
Empty Group
integer constant expression evaluates to value .* that cannot be represented in a .*-bit (signed|unsigned) integer type
err_expr_not_string_literal
Error
Semantic Issue
Empty Group
expression is not a string literal
ext_predef_outside_function
Warning
Semantic Issue
predefined-identifier-outside-function
predefined identifier is only valid inside function
warn_float_overflow
Warning
Semantic Issue
literal-range
magnitude of floating-point constant too large for type .*; maximum is .*
warn_float_underflow
Warning
Semantic Issue
literal-range
magnitude of floating-point constant too small for type .*; minimum is .*
warn_double_const_requires_fp64
Warning
Semantic Issue
Empty Group
double precision constant requires cl_khr_fp64, casting to single precision
err_half_const_requires_fp16
Error
Semantic Issue
Empty Group
half precision constant requires cl_khr_fp16
ext_vla
Extension
Semantic Issue
vla-extension
variable length arrays are a C99 feature
warn_vla_used
Warning
Semantic Issue
vla
variable length array used
err_vla_in_sfinae
Error
Semantic Issue
Empty Group
variable length array cannot be formed during template argument deduction
err_array_star_in_function_definition
Error
Semantic Issue
Empty Group
variable length array must be bound in function definition
err_vla_decl_in_file_scope
Error
Semantic Issue
Empty Group
variable length array declaration not allowed at file scope
err_vla_decl_has_static_storage
Error
Semantic Issue
Empty Group
variable length array declaration cannot have 'static' storage duration
err_vla_decl_has_extern_linkage
Error
Semantic Issue
Empty Group
variable length array declaration cannot have 'extern' linkage
ext_vla_folded_to_constant
Extension
Semantic Issue
gnu-folding-constant
variable length array folded to constant array as an extension
err_vla_unsupported
Error
Semantic Issue
Empty Group
variable length arrays are not supported for the current target
note_vla_unsupported
Note
Semantic Issue
Empty Group
variable length arrays are not supported for the current target
err_variably_modified_template_arg
Error
Semantic Issue
Empty Group
variably modified type .* cannot be used as a template argument
err_variably_modified_nontype_template_param
Error
Semantic Issue
Empty Group
non-type template parameter of variably modified type .*
err_variably_modified_new_type
Error
Semantic Issue
Empty Group
'new' cannot allocate object of variably modified type .*
ext_designated_init
Extension
Semantic Issue
c99-designator
designated initializers are a C99 feature
err_array_designator_negative
Error
Semantic Issue
Empty Group
array designator value '.*' is negative
err_array_designator_empty_range
Error
Semantic Issue
Empty Group
array designator range \[.*, .*\] is empty
err_array_designator_non_array
Error
Semantic Issue
Empty Group
array designator cannot initialize non-array type .*
err_array_designator_too_large
Error
Semantic Issue
Empty Group
array designator index \(.*\) exceeds array bounds \(.*\)
err_field_designator_non_aggr
Error
Semantic Issue
Empty Group
field designator cannot initialize a (non-struct, non-union|non-class) type .*
err_field_designator_unknown
Error
Semantic Issue
Empty Group
field designator .* does not refer to any field in type .*
err_field_designator_nonfield
Error
Semantic Issue
Empty Group
field designator .* does not refer to a non-static data member
note_field_designator_found
Note
Semantic Issue
Empty Group
field designator refers here
err_designator_for_scalar_or_sizeless_init
Error
Semantic Issue
Empty Group
designator in initializer for (scalar|indivisible sizeless) type .*
warn_initializer_overrides
Warning
Semantic Issue
initializer-overrides
initializer (partially |)overrides prior initialization of this subobject
ext_initializer_overrides
ExtWarn
Semantic Issue
initializer-overrides
warn_initializer_overrides\.Text
err_initializer_overrides_destructed
Error
Semantic Issue
Empty Group
initializer would partially override prior initialization of object of type .* with non-trivial destruction
note_previous_initializer
Note
Semantic Issue
Empty Group
previous initialization (|with side effects )is here(| \(side effects will not occur at run time\))
err_designator_into_flexible_array_member
Error
Semantic Issue
Empty Group
designator into flexible array member subobject
note_flexible_array_member
Note
Semantic Issue
Empty Group
initialized flexible array member .* is here
ext_flexible_array_init
Extension
Semantic Issue
gnu-flexible-array-initializer
flexible array initialization is a GNU extension
ext_cxx_designated_init
Extension
Semantic Issue
c++20-designator
designated initializers are a C\+\+20 extension
warn_cxx17_compat_designated_init
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat-pedantic
designated initializers are incompatible with C\+\+ standards before C\+\+20
ext_designated_init_mixed
ExtWarn
Semantic Issue
c99-designator
mixture of designated and non-designated initializers in the same initializer list is a C99 extension
note_designated_init_mixed
Note
Semantic Issue
Empty Group
first non-designated initializer is here
ext_designated_init_array
ExtWarn
Semantic Issue
c99-designator
array designators are a C99 extension
ext_designated_init_nested
ExtWarn
Semantic Issue
c99-designator
nested designators are a C99 extension
ext_designated_init_reordered
ExtWarn
Semantic Issue
reorder-init-list
ISO C\+\+ requires field designators to be specified in declaration order; field .* will be initialized after field .*
note_previous_field_init
Note
Semantic Issue
Empty Group
previous initialization for field .* is here
ext_plain_complex
ExtWarn
Semantic Issue
Empty Group
plain '_Complex' requires a type specifier; assuming '_Complex double'
ext_imaginary_constant
Extension
Semantic Issue
gnu-imaginary-constant
imaginary constants are a GNU extension
ext_integer_complex
Extension
Semantic Issue
gnu-complex-integer
complex integer types are a GNU extension
err_invalid_saturation_spec
Error
Semantic Issue
Empty Group
'_Sat' specifier is only valid on '_Fract' or '_Accum', not '.*'
err_invalid_sign_spec
Error
Semantic Issue
Empty Group
'.*' cannot be signed or unsigned
err_invalid_width_spec
Error
Semantic Issue
Empty Group
'(|short|long|long long) .*' is invalid
err_invalid_complex_spec
Error
Semantic Issue
Empty Group
'_Complex .*' is invalid
ext_auto_type_specifier
ExtWarn
Semantic Issue
c++11-extensions
'auto' type specifier is a C\+\+11 extension
warn_auto_storage_class
Warning
Semantic Issue
c++11-compat
'auto' storage class specifier is redundant and incompatible with C\+\+11
warn_deprecated_register
Warning
Semantic Issue
deprecated-register
'register' storage class specifier is deprecated and incompatible with C\+\+17
ext_register_storage_class
ExtWarn
Semantic Issue
register
ISO C\+\+17 does not allow 'register' storage class specifier
err_invalid_decl_spec_combination
Error
Semantic Issue
Empty Group
cannot combine with previous '.*' declaration specifier
err_invalid_vector_decl_spec_combination
Error
Semantic Issue
Empty Group
cannot combine with previous '.*' declaration specifier\. '__vector' must be first
err_invalid_pixel_decl_spec_combination
Error
Semantic Issue
Empty Group
'__pixel' must be preceded by '__vector'\.  '.*' declaration specifier not allowed here
err_invalid_vector_bool_decl_spec
Error
Semantic Issue
Empty Group
cannot use '.*' with '__vector bool'
err_invalid_vector_long_decl_spec
Error
Semantic Issue
Empty Group
cannot use 'long' with '__vector'
err_invalid_vector_float_decl_spec
Error
Semantic Issue
Empty Group
cannot use 'float' with '__vector'
err_invalid_vector_double_decl_spec
Error
Semantic Issue
Empty Group
use of 'double' with '__vector' requires VSX support to be enabled \(available on POWER7 or later\)
err_invalid_vector_bool_int128_decl_spec
Error
Semantic Issue
Empty Group
use of '__int128' with '__vector bool' requires VSX support enabled \(on POWER10 or later\)
err_invalid_vector_long_long_decl_spec
Error
Semantic Issue
Empty Group
use of 'long long' with '__vector bool' requires VSX support \(available on POWER7 or later\) or extended Altivec support \(available on POWER8 or later\) to be enabled
err_invalid_vector_long_double_decl_spec
Error
Semantic Issue
Empty Group
cannot use 'long double' with '__vector'
warn_vector_long_decl_spec_combination
Warning
Semantic Issue
deprecated
Use of 'long' with '__vector' is deprecated
err_redeclaration_different_type
Error
Semantic Issue
Empty Group
redeclaration of .* with a different type(: .* vs .*|)
err_bad_variable_name
Error
Semantic Issue
Empty Group
.* cannot be the name of a variable or data member
err_bad_parameter_name
Error
Semantic Issue
Empty Group
.* cannot be the name of a parameter
err_bad_parameter_name_template_id
Error
Semantic Issue
Empty Group
parameter name cannot have template arguments
ext_parameter_name_omitted_c2x
ExtWarn
Semantic Issue
c2x-extensions
omitting the parameter name in a function definition is a C2x extension
err_anyx86_interrupt_attribute
Error
Semantic Issue
Empty Group
(x86|x86-64) 'interrupt' attribute only applies to functions that have (a 'void' return type|only a pointer parameter optionally followed by an integer parameter|a pointer as the first parameter|a .* type as the second parameter)
err_anyx86_interrupt_called
Error
Semantic Issue
Empty Group
interrupt service routine cannot be called directly
warn_arm_interrupt_calling_convention
Warning
Semantic Issue
extra
call to function without interrupt attribute could clobber interruptee's VFP registers
warn_interrupt_attribute_invalid
Warning
Semantic Issue
ignored-attributes
(MIPS|MSP430|RISC-V) 'interrupt' attribute only applies to functions that have (no parameters|a 'void' return type)
warn_riscv_repeated_interrupt_attribute
Warning
Semantic Issue
ignored-attributes
repeated RISC-V 'interrupt' attribute
note_riscv_repeated_interrupt_attribute
Note
Semantic Issue
Empty Group
repeated RISC-V 'interrupt' attribute is here
warn_unused_parameter
Warning
Semantic Issue
unused-parameter
unused parameter .*
warn_unused_variable
Warning
Semantic Issue
unused-variable
unused variable .*
warn_unused_local_typedef
Warning
Semantic Issue
unused-local-typedef
unused (typedef|type alias) .*
warn_unused_property_backing_ivar
Warning
Semantic Issue
unused-property-ivar
ivar .* which backs the property is not referenced in this property's accessor
warn_unused_const_variable
Warning
Semantic Issue
unused-const-variable
unused variable .*
warn_unused_exception_param
Warning
Semantic Issue
unused-exception-parameter
unused exception parameter .*
warn_decl_in_param_list
Warning
Semantic Issue
visibility
declaration of .* will not be visible outside of this function
warn_redefinition_in_param_list
Warning
Semantic Issue
visibility
redefinition of .* will not be visible outside of this function
warn_empty_parens_are_function_decl
Warning
Semantic Issue
vexing-parse
empty parentheses interpreted as a function declaration
warn_parens_disambiguated_as_function_declaration
Warning
Semantic Issue
vexing-parse
parentheses were disambiguated as a function declaration
warn_parens_disambiguated_as_variable_declaration
Warning
Semantic Issue
vexing-parse
parentheses were disambiguated as redundant parentheses around declaration of variable named .*
warn_redundant_parens_around_declarator
Warning
Semantic Issue
redundant-parens
redundant parentheses surrounding declarator
note_additional_parens_for_variable_declaration
Note
Semantic Issue
Empty Group
add a pair of parentheses to declare a variable
note_raii_guard_add_name
Note
Semantic Issue
Empty Group
add a variable name to declare a .* initialized with .*
note_function_style_cast_add_parentheses
Note
Semantic Issue
Empty Group
add enclosing parentheses to perform a function-style cast
note_remove_parens_for_variable_declaration
Note
Semantic Issue
Empty Group
remove parentheses to silence this warning
note_empty_parens_function_call
Note
Semantic Issue
Empty Group
change this ',' to a ';' to call .*
note_empty_parens_default_ctor
Note
Semantic Issue
Empty Group
remove parentheses to declare a variable
note_empty_parens_zero_initialize
Note
Semantic Issue
Empty Group
replace parentheses with an initializer to declare a variable
warn_unused_function
Warning
Semantic Issue
unused-function
unused function .*
warn_unused_template
Warning
Semantic Issue
unused-template
unused (function|variable) template .*
warn_unused_member_function
Warning
Semantic Issue
unused-member-function
unused member function .*
warn_used_but_marked_unused
Warning
Semantic Issue
used-but-marked-unused
.* was marked unused but was used
warn_unneeded_internal_decl
Warning
Semantic Issue
unneeded-internal-declaration
(function|variable) .* is not needed and will not be emitted
warn_unneeded_static_internal_decl
Warning
Semantic Issue
unneeded-internal-declaration
'static' function .* declared in header file should be declared 'static inline'
warn_unneeded_member_function
Warning
Semantic Issue
unneeded-member-function
member function .* is not needed and will not be emitted
warn_unused_private_field
Warning
Semantic Issue
unused-private-field
private field .* is not used
warn_unused_lambda_capture
Warning
Semantic Issue
unused-lambda-capture
lambda capture .* is not (used|required to be captured for this use)
warn_parameter_size
Warning
Semantic Issue
large-by-value-copy
.* is a large \(.* bytes\) pass-by-value argument; pass it by reference instead \?
warn_return_value_size
Warning
Semantic Issue
large-by-value-copy
return value of .* is a large \(.* bytes\) pass-by-value object; pass it by reference instead \?
warn_return_value_udt
Warning
Semantic Issue
return-type-c-linkage
.* has C-linkage specified, but returns user-defined type .* which is incompatible with C
warn_return_value_udt_incomplete
Warning
Semantic Issue
return-type-c-linkage
.* has C-linkage specified, but returns incomplete type .* which could be incompatible with C
warn_implicit_function_decl
Warning
Semantic Issue
implicit-function-declaration
implicit declaration of function .*
ext_implicit_function_decl
ExtWarn
Semantic Issue
implicit-function-declaration
implicit declaration of function .* is invalid in C99
note_function_suggestion
Note
Semantic Issue
Empty Group
did you mean .*\?
err_ellipsis_first_param
Error
Semantic Issue
Empty Group
ISO C requires a named parameter before '\.\.\.'
err_declarator_need_ident
Error
Semantic Issue
Empty Group
declarator requires an identifier
err_language_linkage_spec_unknown
Error
Semantic Issue
Empty Group
unknown linkage language
err_language_linkage_spec_not_ascii
Error
Semantic Issue
Empty Group
string literal in language linkage specifier cannot have an encoding-prefix
ext_use_out_of_scope_declaration
ExtWarn
Semantic Issue
out-of-scope-function
use of out-of-scope declaration of .*(| whose type is not compatible with that of an implicit declaration)
err_inline_non_function
Error
Semantic Issue
Empty Group
'inline' can only appear on functions(| and non-local variables)
err_noreturn_non_function
Error
Semantic Issue
Empty Group
'_Noreturn' can only appear on functions
warn_qual_return_type
Warning
Semantic Issue
ignored-qualifiers
'.*' type qualifier.* on return type (has|have) no effect
warn_deprecated_redundant_constexpr_static_def
Warning
Semantic Issue
deprecated
out-of-line definition of constexpr static data member is redundant in C\+\+17 and is deprecated
warn_decl_shadow
Warning
Semantic Issue
shadow
declaration shadows a (local variable|variable in .*|static data member of .*|field of .*|typedef in .*|type alias in .*)
warn_decl_shadow_uncaptured_local
Warning
Semantic Issue
shadow-uncaptured-local
warn_decl_shadow\.Text
warn_ctor_parm_shadows_field
Warning
Semantic Issue
shadow-field-in-constructor
constructor parameter .* shadows the field .* of .*
warn_modifying_shadowing_decl
Warning
Semantic Issue
shadow-field-in-constructor-modified
modifying constructor parameter .* that shadows a field of .*
err_decomp_decl_context
Error
Semantic Issue
Empty Group
decomposition declaration not permitted in this context
warn_cxx14_compat_decomp_decl
Warning
Semantic Issue
c++98-c++11-c++14-compat
decomposition declarations are incompatible with C\+\+ standards before C\+\+17
ext_decomp_decl
ExtWarn
Semantic Issue
c++17-extensions
decomposition declarations are a C\+\+17 extension
ext_decomp_decl_cond
ExtWarn
Semantic Issue
binding-in-condition
ISO C\+\+17 does not permit structured binding declaration in a condition
err_decomp_decl_spec
Error
Semantic Issue
Empty Group
decomposition declaration cannot be declared ('.*'|with '.*' specifiers)
ext_decomp_decl_spec
ExtWarn
Semantic Issue
c++20-extensions
decomposition declaration declared ('.*'|with '.*' specifiers) is a C\+\+20 extension
warn_cxx17_compat_decomp_decl_spec
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
decomposition declaration declared ('.*'|with '.*' specifiers) is incompatible with C\+\+ standards before C\+\+20
err_decomp_decl_type
Error
Semantic Issue
Empty Group
decomposition declaration cannot be declared with type .*; declared type must be 'auto' or reference to 'auto'
err_decomp_decl_parens
Error
Semantic Issue
Empty Group
decomposition declaration cannot be declared with parentheses
err_decomp_decl_template
Error
Semantic Issue
Empty Group
decomposition declaration template not supported
err_decomp_decl_not_alone
Error
Semantic Issue
Empty Group
decomposition declaration must be the only declaration in its group
err_decomp_decl_requires_init
Error
Semantic Issue
Empty Group
decomposition declaration .* requires an initializer
err_decomp_decl_wrong_number_bindings
Error
Semantic Issue
Empty Group
type .* decomposes into .* elements, but (only |).* names were provided
err_decomp_decl_unbindable_type
Error
Semantic Issue
Empty Group
cannot decompose (union|non-class, non-array) type .*
err_decomp_decl_multiple_bases_with_members
Error
Semantic Issue
Empty Group
cannot decompose class type .*: (its base classes .* and|both it and its base class) .* have non-static data members
err_decomp_decl_ambiguous_base
Error
Semantic Issue
Empty Group
cannot decompose members of ambiguous base class .* of .*:.*
err_decomp_decl_inaccessible_base
Error
Semantic Issue
Empty Group
cannot decompose members of inaccessible base class .* of .*
err_decomp_decl_inaccessible_field
Error
Semantic Issue
Empty Group
cannot decompose (private|protected) member .* of .*
err_decomp_decl_anon_union_member
Error
Semantic Issue
Empty Group
cannot decompose class type .* because it has an anonymous (struct|union) member
err_decomp_decl_std_tuple_element_not_specialized
Error
Semantic Issue
Empty Group
cannot decompose this type; 'std::tuple_element<.*>::type' does not name a type
err_decomp_decl_std_tuple_size_not_constant
Error
Semantic Issue
Empty Group
cannot decompose this type; 'std::tuple_size<.*>::value' is not a valid integral constant expression
note_in_binding_decl_init
Note
Semantic Issue
Empty Group
in implicit initialization of binding declaration .*
err_std_type_trait_not_class_template
Error
Semantic Issue
Empty Group
unsupported standard library implementation: 'std::.*' is not a class template
err_using_requires_qualname
Error
Semantic Issue
Empty Group
using declaration requires a qualified name
err_using_typename_non_type
Error
Semantic Issue
Empty Group
'typename' keyword used on a non-type
err_using_dependent_value_is_type
Error
Semantic Issue
Empty Group
dependent using declaration resolved to type without 'typename'
err_using_decl_nested_name_specifier_is_not_class
Error
Semantic Issue
Empty Group
using declaration in class refers into '.*', which is not a class
err_using_decl_nested_name_specifier_is_current_class
Error
Semantic Issue
Empty Group
using declaration refers to its own class
err_using_decl_nested_name_specifier_is_not_base_class
Error
Semantic Issue
Empty Group
using declaration refers into '.*', which is not a base class of .*
err_using_decl_constructor_not_in_direct_base
Error
Semantic Issue
Empty Group
.* is not a direct base of .*, cannot inherit constructors
err_using_decl_can_not_refer_to_class_member
Error
Semantic Issue
Empty Group
using declaration cannot refer to class member
err_ambiguous_inherited_constructor
Error
Semantic Issue
Empty Group
constructor of .* inherited from multiple base class subobjects
note_ambiguous_inherited_constructor_using
Note
Semantic Issue
Empty Group
inherited from base class .* here
note_using_decl_class_member_workaround
Note
Semantic Issue
Empty Group
use (an alias declaration|a typedef declaration|a reference|a const variable|a constexpr variable) instead
err_using_decl_can_not_refer_to_namespace
Error
Semantic Issue
Empty Group
using declaration cannot refer to a namespace
err_using_decl_can_not_refer_to_scoped_enum
Error
Semantic Issue
Empty Group
using declaration cannot refer to a scoped enumerator
err_using_decl_constructor
Error
Semantic Issue
Empty Group
using declaration cannot refer to a constructor
warn_cxx98_compat_using_decl_constructor
Warning
Semantic Issue
c++98-compat
inheriting constructors are incompatible with C\+\+98
err_using_decl_destructor
Error
Semantic Issue
Empty Group
using declaration cannot refer to a destructor
err_using_decl_template_id
Error
Semantic Issue
Empty Group
using declaration cannot refer to a template specialization
note_using_decl_target
Note
Semantic Issue
Empty Group
target of using declaration
note_using_decl_conflict
Note
Semantic Issue
Empty Group
conflicting declaration
err_using_decl_redeclaration
Error
Semantic Issue
Empty Group
redeclaration of using declaration
err_using_decl_conflict
Error
Semantic Issue
Empty Group
target of using declaration conflicts with declaration already in scope
err_using_decl_conflict_reverse
Error
Semantic Issue
Empty Group
declaration conflicts with target of using declaration already in scope
note_using_decl
Note
Semantic Issue
Empty Group
(|previous )using declaration
err_using_decl_redeclaration_expansion
Error
Semantic Issue
Empty Group
using declaration pack expansion at block scope produces multiple values
warn_access_decl_deprecated
Warning
Semantic Issue
deprecated
access declarations are deprecated; use using declarations instead
err_access_decl
Error
Semantic Issue
Empty Group
ISO C\+\+11 does not allow access declarations; use using declarations instead
warn_deprecated_copy_operation
Warning
Semantic Issue
deprecated-copy
definition of implicit copy (constructor|assignment operator) for .* is deprecated because it has a user-declared copy (assignment operator|constructor)
warn_deprecated_copy_dtor_operation
Warning
Semantic Issue
deprecated-copy-dtor
definition of implicit copy (constructor|assignment operator) for .* is deprecated because it has a user-declared destructor
warn_cxx17_compat_exception_spec_in_signature
Warning
Semantic Issue
c++17-compat-mangling
mangled name of .* will change in C\+\+17 due to non-throwing exception specification in function signature
warn_global_constructor
Warning
Semantic Issue
global-constructors
declaration requires a global constructor
warn_global_destructor
Warning
Semantic Issue
global-constructors
declaration requires a global destructor
warn_exit_time_destructor
Warning
Semantic Issue
exit-time-destructors
declaration requires an exit-time destructor
err_invalid_thread
Error
Semantic Issue
Empty Group
'.*' is only allowed on variable declarations
err_thread_non_global
Error
Semantic Issue
Empty Group
'.*' variables must have global storage
err_thread_unsupported
Error
Semantic Issue
Empty Group
thread-local storage is not supported for the current target
warn_maybe_falloff_nonvoid_function
Warning
Semantic Issue
return-type
non-void function does not return a value in all control paths
warn_falloff_nonvoid_function
Warning
Semantic Issue
return-type
non-void function does not return a value
err_maybe_falloff_nonvoid_block
Error
Semantic Issue
Empty Group
non-void block does not return a value in all control paths
err_falloff_nonvoid_block
Error
Semantic Issue
Empty Group
non-void block does not return a value
warn_maybe_falloff_nonvoid_coroutine
Warning
Semantic Issue
return-type
non-void coroutine does not return a value in all control paths
warn_falloff_nonvoid_coroutine
Warning
Semantic Issue
return-type
non-void coroutine does not return a value
warn_suggest_noreturn_function
Warning
Semantic Issue
missing-noreturn
(function|method) .* could be declared with attribute 'noreturn'
warn_suggest_noreturn_block
Warning
Semantic Issue
missing-noreturn
block could be declared with attribute 'noreturn'
warn_unreachable
Warning
Semantic Issue
unreachable-code
code will never be executed
warn_unreachable_break
Warning
Semantic Issue
unreachable-code-break
'break' will never be executed
warn_unreachable_return
Warning
Semantic Issue
unreachable-code-return
'return' will never be executed
warn_unreachable_loop_increment
Warning
Semantic Issue
unreachable-code-loop-increment
loop will run at most once \(loop increment never executed\)
note_unreachable_silence
Note
Semantic Issue
Empty Group
silence by adding parentheses to mark code as explicitly dead
ext_implicit_lib_function_decl
ExtWarn
Semantic Issue
implicit-function-declaration
implicitly declaring library function '.*' with type .*
note_include_header_or_declare
Note
Semantic Issue
Empty Group
include the header <.*> or explicitly provide a declaration for '.*'
note_previous_builtin_declaration
Note
Semantic Issue
Empty Group
.* is a builtin with type .*
warn_implicit_decl_no_jmp_buf
Warning
Semantic Issue
incomplete-setjmp-declaration
declaration of built-in function '.*' requires the declaration of the 'jmp_buf' type, commonly provided in the header <setjmp\.h>\.
warn_implicit_decl_requires_sysheader
Warning
Semantic Issue
builtin-requires-header
declaration of built-in function '.*' requires inclusion of the header <.*>
warn_redecl_library_builtin
Warning
Semantic Issue
incompatible-library-redeclaration
incompatible redeclaration of library function .*
err_builtin_definition
Error
Semantic Issue
Empty Group
definition of builtin function .*
err_builtin_redeclare
Error
Semantic Issue
Empty Group
cannot redeclare builtin function .*
err_arm_invalid_specialreg
Error
Semantic Issue
Empty Group
invalid special register for builtin
err_arm_invalid_coproc
Error
Semantic Issue
Empty Group
coprocessor .* must be configured as (GCP|CDE)
err_invalid_cpu_supports
Error
Semantic Issue
Empty Group
invalid cpu feature string for builtin
err_invalid_cpu_is
Error
Semantic Issue
Empty Group
invalid cpu name for builtin
err_invalid_cpu_specific_dispatch_value
Error
Semantic Issue
Empty Group
invalid option '.*' for (cpu_specific|cpu_dispatch)
warn_builtin_unknown
Warning
Semantic Issue
implicit-function-declaration
use of unknown builtin .*
warn_cstruct_memaccess
Warning
Semantic Issue
nontrivial-memaccess
(destination for|source of|first operand of|second operand of) this .* call is a pointer to record .* that is not trivial to (primitive-default-initialize|primitive-copy)
note_nontrivial_field
Note
Semantic Issue
Empty Group
field is non-trivial to (copy|default-initialize)
err_non_trivial_c_union_in_invalid_context
Error
Semantic Issue
Empty Group
cannot (use type .* for a function/method parameter|use type .* for function/method return|default-initialize an object of type .*|declare an automatic variable of type .*|copy-initialize an object of type .*|assign to a variable of type .*|construct an automatic compound literal of type .*|capture a variable of type .*|cannot use volatile type .* where it causes an lvalue-to-rvalue conversion) since it (contains|is) a union that is non-trivial to (default-initialize|destruct|copy)
note_non_trivial_c_union
Note
Semantic Issue
Empty Group
(.* has subobjects that are|.* has type .* that is) non-trivial to (default-initialize|destruct|copy)
warn_dyn_class_memaccess
Warning
Semantic Issue
dynamic-class-memaccess
(destination for|source of|first operand of|second operand of) this .* call is a pointer to (|class containing a )dynamic class .*; vtable pointer will be (overwritten|copied|moved|compared)
note_bad_memaccess_silence
Note
Semantic Issue
Empty Group
explicitly cast the pointer to silence this warning
warn_sizeof_pointer_expr_memaccess
Warning
Semantic Issue
sizeof-pointer-memaccess
'.*' call operates on objects of type .* while the size is based on a different type .*
warn_sizeof_pointer_expr_memaccess_note
Note
Semantic Issue
Empty Group
did you mean to (dereference the argument to 'sizeof' \(and multiply it by the number of elements\)|remove the addressof in the argument to 'sizeof' \(and multiply it by the number of elements\)|provide an explicit length)\?
warn_sizeof_pointer_type_memaccess
Warning
Semantic Issue
sizeof-pointer-memaccess
argument to 'sizeof' in .* call is the same pointer type .* as the (destination|source); expected .* or an explicit length
warn_strlcpycat_wrong_size
Warning
Semantic Issue
strlcpy-strlcat-size
size argument in .* call appears to be size of the source; expected the size of the destination
note_strlcpycat_wrong_size
Note
Semantic Issue
Empty Group
change size argument to be the size of the destination
warn_memsize_comparison
Warning
Semantic Issue
memsize-comparison
size argument in .* call is a comparison
note_memsize_comparison_paren
Note
Semantic Issue
Empty Group
did you mean to compare the result of .* instead\?
note_memsize_comparison_cast_silence
Note
Semantic Issue
Empty Group
explicitly cast the argument to size_t to silence this warning
warn_suspicious_sizeof_memset
Warning
Semantic Issue
memset-transposed-args
('size' argument to memset is '0'|setting buffer to a 'sizeof' expression); did you mean to transpose the last two arguments\?
note_suspicious_sizeof_memset_silence
Note
Semantic Issue
Empty Group
(parenthesize the third argument|cast the second argument to 'int') to silence
warn_suspicious_bzero_size
Warning
Semantic Issue
suspicious-bzero
'size' argument to bzero is '0'
note_suspicious_bzero_size_silence
Note
Semantic Issue
Empty Group
parenthesize the second argument to silence
warn_strncat_large_size
Warning
Semantic Issue
strncat-size
the value of the size argument in 'strncat' is too large, might lead to a buffer overflow
warn_strncat_src_size
Warning
Semantic Issue
strncat-size
size argument in 'strncat' call appears to be size of the source
warn_strncat_wrong_size
Warning
Semantic Issue
strncat-size
the value of the size argument to 'strncat' is wrong
note_strncat_wrong_size
Note
Semantic Issue
Empty Group
change the argument to be the free space in the destination buffer minus the terminating null byte
warn_assume_side_effects
Warning
Semantic Issue
assume
the argument to .* has side effects that will be discarded
warn_builtin_chk_overflow
Warning
Semantic Issue
builtin-memcpy-chk-size
'.*' will always overflow; destination buffer has size .*, but size argument is .*
warn_fortify_source_overflow
Warning
Semantic Issue
fortify-source
warn_builtin_chk_overflow\.Text
warn_fortify_source_size_mismatch
Warning
Semantic Issue
fortify-source
'.*' size argument is too large; destination buffer has size .*, but size argument is .*
warn_fortify_source_format_overflow
Warning
Semantic Issue
fortify-source
'.*' will always overflow; destination buffer has size .*, but format string expands to at least .*
err_ptrauth_disabled_target
Error
Semantic Issue
Empty Group
this target does not support pointer authentication
err_ptrauth_disabled
Error
Semantic Issue
Empty Group
pointer authentication is disabled for the current target
err_ptrauth_invalid_key
Error
Semantic Issue
Empty Group
.* does not identify a valid pointer authentication key for the current target
err_ptrauth_value_bad_type
Error
Semantic Issue
Empty Group
(signed value|extra discriminator|blended pointer|blended integer) must have (pointer|integer|pointer or integer) type; type here is .*
err_ptrauth_bad_constant_pointer
Error
Semantic Issue
Empty Group
argument to ptrauth_sign_constant must refer to a global variable or function
err_ptrauth_bad_constant_discriminator
Error
Semantic Issue
Empty Group
discriminator argument to ptrauth_sign_constant must be a constant integer, the address of the global variable where the result will be stored, or a blend of the two
warn_ptrauth_sign_null_pointer
Warning
Semantic Issue
ptrauth-null-pointers
signing a null pointer will yield a non-null pointer
warn_ptrauth_auth_null_pointer
Warning
Semantic Issue
ptrauth-null-pointers
authenticating a null pointer will almost certainly trap
err_ptrauth_string_not_literal
Error
Semantic Issue
Empty Group
argument must be a string literal(| of char type)
err_ptrauth_type_disc_variably_modified
Error
Semantic Issue
Empty Group
cannot pass variably-modified type .* to '__builtin_ptrauth_type_discriminator'
note_ptrauth_virtual_function_pointer_incomplete_arg_ret
Note
Semantic Issue
Empty Group
cannot take an address of a virtual member function if its return or argument types are incomplete
note_ptrauth_virtual_function_incomplete_arg_ret_type
Note
Semantic Issue
Empty Group
.* is incomplete
err_ptrauth_qualifier_return
Error
Semantic Issue
Empty Group
return types may not be qualified with __ptrauth; type is .*
err_ptrauth_qualifier_param
Error
Semantic Issue
Empty Group
parameter types may not be qualified with __ptrauth; type is .*
err_ptrauth_qualifier_cast
Error
Semantic Issue
Empty Group
cast types may not be qualified with __ptrauth; type is .*
err_ptrauth_qualifier_nonpointer
Error
Semantic Issue
Empty Group
__ptrauth qualifier may only be applied to pointer types; type here is .*
err_ptrauth_qualifier_redundant
Error
Semantic Issue
Empty Group
type .* is already __ptrauth-qualified
err_ptrauth_qualifier_bad_arg_count
Error
Semantic Issue
Empty Group
__ptrauth qualifier must take between 1 and 3 arguments
err_ptrauth_qualifier_arg_not_ice
Error
Semantic Issue
Empty Group
argument to __ptrauth must be an integer constant expression
err_ptrauth_qualifier_address_discrimination_invalid
Error
Semantic Issue
Empty Group
address discrimination flag for __ptrauth must be 0 or 1; value is .*
err_ptrauth_qualifier_extra_discriminator_invalid
Error
Semantic Issue
Empty Group
extra discriminator for __ptrauth must be between 0 and .*; value is .*
warn_static_main
Warning
Semantic Issue
main
'main' should not be declared static
err_static_main
Error
Semantic Issue
Empty Group
'main' is not allowed to be declared static
err_inline_main
Error
Semantic Issue
Empty Group
'main' is not allowed to be declared inline
ext_variadic_main
ExtWarn
Semantic Issue
main
'main' is not allowed to be declared variadic
ext_noreturn_main
ExtWarn
Semantic Issue
main
'main' is not allowed to be declared _Noreturn
note_main_remove_noreturn
Note
Semantic Issue
Empty Group
remove '_Noreturn'
err_constexpr_main
Error
Semantic Issue
Empty Group
'main' is not allowed to be declared (constexpr|consteval)
err_deleted_main
Error
Semantic Issue
Empty Group
'main' is not allowed to be deleted
err_mainlike_template_decl
Error
Semantic Issue
Empty Group
.* cannot be a template
err_main_returns_nonint
Error
Semantic Issue
Empty Group
'main' must return 'int'
ext_main_returns_nonint
ExtWarn
Semantic Issue
main-return-type
return type of 'main' is not 'int'
note_main_change_return_type
Note
Semantic Issue
Empty Group
change return type to 'int'
err_main_surplus_args
Error
Semantic Issue
Empty Group
too many parameters \(.*\) for 'main': must be 0, 2, or 3
warn_main_one_arg
Warning
Semantic Issue
main
only one parameter on 'main' declaration
err_main_arg_wrong
Error
Semantic Issue
Empty Group
(first|second|third|fourth) parameter of 'main' \((argument count|argument array|environment|platform-specific data)\) must be of type .*
warn_main_returns_bool_literal
Warning
Semantic Issue
main
bool literal returned from 'main'
err_main_global_variable
Error
Semantic Issue
Empty Group
main cannot be declared as global variable
warn_main_redefined
Warning
Semantic Issue
main
variable named 'main' with external linkage has undefined behavior
ext_main_used
Extension
Semantic Issue
main
ISO C\+\+ does not allow 'main' to be used by a program
ext_no_declarators
ExtWarn
Semantic Issue
missing-declarations
declaration does not declare anything
err_no_declarators
Error
Semantic Issue
Empty Group
declaration does not declare anything
ext_typedef_without_a_name
ExtWarn
Semantic Issue
missing-declarations
typedef requires a name
err_typedef_not_identifier
Error
Semantic Issue
Empty Group
typedef name must be an identifier
ext_non_c_like_anon_struct_in_typedef
ExtWarn
Semantic Issue
non-c-typedef-for-linkage
anonymous non-C-compatible type given name for linkage purposes by (typedef|alias) declaration; add a tag name here
err_non_c_like_anon_struct_in_typedef
Error
Semantic Issue
Empty Group
anonymous non-C-compatible type given name for linkage purposes by (typedef|alias) declaration after its linkage was computed; add a tag name here to establish linkage prior to definition
err_typedef_changes_linkage
Error
Semantic Issue
Empty Group
unsupported: anonymous type given name for linkage purposes by (typedef|alias) declaration after its linkage was computed; add a tag name here to establish linkage prior to definition
note_non_c_like_anon_struct
Note
Semantic Issue
Empty Group
type is not C-compatible due to this (base class|default member initializer|lambda expression|friend declaration|member declaration)
note_typedef_for_linkage_here
Note
Semantic Issue
Empty Group
type is given name .* for linkage purposes by this (typedef|alias) declaration
err_statically_allocated_object
Error
Semantic Issue
Empty Group
interface type cannot be statically allocated
err_object_cannot_be_passed_returned_by_value
Error
Semantic Issue
Empty Group
interface type .* cannot be (returned|passed) by value; did you forget \* in .*\?
err_parameters_retval_cannot_have_fp16_type
Error
Semantic Issue
Empty Group
(parameters|function return value) cannot have __fp16 type; did you forget \* \?
err_opencl_half_load_store
Error
Semantic Issue
Empty Group
(loading directly from|assigning directly to) pointer to type .* requires cl_khr_fp16\. Use vector data (load|store) builtin functions instead
err_opencl_cast_to_half
Error
Semantic Issue
Empty Group
casting to type .* is not allowed
err_opencl_half_declaration
Error
Semantic Issue
Empty Group
declaring variable of type .* is not allowed
err_opencl_invalid_param
Error
Semantic Issue
Empty Group
declaring function parameter of type .* is not allowed(; did you forget \* \?|)
err_opencl_invalid_return
Error
Semantic Issue
Empty Group
declaring function return value of type .* is not allowed (; did you forget \* \?|)
warn_enum_value_overflow
Warning
Semantic Issue
Empty Group
overflow in enumeration value
warn_pragma_options_align_reset_failed
Warning
Semantic Issue
ignored-pragmas
#pragma options align=reset failed: .*
err_pragma_options_align_mac68k_target_unsupported
Error
Semantic Issue
Empty Group
mac68k alignment pragma is not supported on this target
warn_pragma_pack_invalid_alignment
Warning
Semantic Issue
ignored-pragmas
expected #pragma pack parameter to be '1', '2', '4', '8', or '16'
warn_pragma_pack_non_default_at_include
Warning
Semantic Issue
pragma-pack-suspicious-include
non-default #pragma pack value changes the alignment of struct or union members in the included file
warn_pragma_pack_modified_after_include
Warning
Semantic Issue
pragma-pack
the current #pragma pack alignment value is modified in the included file
warn_pragma_pack_no_pop_eof
Warning
Semantic Issue
pragma-pack
unterminated '#pragma pack \(push, \.\.\.\)' at end of file
note_pragma_pack_here
Note
Semantic Issue
Empty Group
previous '#pragma pack' directive that modifies alignment is here
note_pragma_pack_pop_instead_reset
Note
Semantic Issue
Empty Group
did you intend to use '#pragma pack \(pop\)' instead of '#pragma pack\(\)'\?
warn_pragma_pack_show
Warning
Semantic Issue
Empty Group
value of #pragma pack\(show\) == .*
warn_pragma_pack_pop_identifier_and_alignment
Warning
Semantic Issue
Empty Group
specifying both a name and alignment to 'pop' is undefined
warn_pragma_pop_failed
Warning
Semantic Issue
ignored-pragmas
#pragma .*\(pop, \.\.\.\) failed: .*
err_pragma_fc_pp_scope
Error
Semantic Issue
Empty Group
'#pragma float_control push/pop' can only appear at file scope or namespace scope
err_pragma_fc_noprecise_requires_nofenv
Error
Semantic Issue
Empty Group
'#pragma float_control\(precise, off\)' is illegal when fenv_access is enabled
err_pragma_fc_except_requires_precise
Error
Semantic Issue
Empty Group
'#pragma float_control\(except, on\)' is illegal when precise is disabled
err_pragma_fc_noprecise_requires_noexcept
Error
Semantic Issue
Empty Group
'#pragma float_control\(precise, off\)' is illegal when except is enabled
err_pragma_fenv_requires_precise
Error
Semantic Issue
Empty Group
'#pragma STDC FENV_ACCESS ON' is illegal when precise is disabled
warn_cxx_ms_struct
Warning
Semantic Issue
incompatible-ms-struct
ms_struct may not produce Microsoft-compatible layouts for classes with base classes or virtual functions
err_section_conflict
Error
Semantic Issue
Empty Group
.* causes a section type conflict with .*
err_no_base_classes
Error
Semantic Issue
Empty Group
invalid use of '__super', .* has no base classes
err_invalid_super_scope
Error
Semantic Issue
Empty Group
invalid use of '__super', this keyword can only be used inside class or member function scope
err_super_in_lambda_unsupported
Error
Semantic Issue
Empty Group
use of '__super' inside a lambda is unsupported
warn_pragma_unused_undeclared_var
Warning
Semantic Issue
ignored-pragmas
undeclared variable .* used as an argument for '#pragma unused'
warn_atl_uuid_deprecated
Warning
Semantic Issue
deprecated-declarations
specifying 'uuid' as an ATL attribute is deprecated; use __declspec instead
warn_pragma_unused_expected_var_arg
Warning
Semantic Issue
ignored-pragmas
only variables can be arguments to '#pragma unused'
err_pragma_push_visibility_mismatch
Error
Semantic Issue
Empty Group
#pragma visibility push with no matching #pragma visibility pop
note_surrounding_namespace_ends_here
Note
Semantic Issue
Empty Group
surrounding namespace with visibility attribute ends here
err_pragma_pop_visibility_mismatch
Error
Semantic Issue
Empty Group
#pragma visibility pop with no matching #pragma visibility push
note_surrounding_namespace_starts_here
Note
Semantic Issue
Empty Group
surrounding namespace with visibility attribute starts here
err_pragma_loop_invalid_argument_type
Error
Semantic Issue
Empty Group
invalid argument of type .*; expected an integer type
err_pragma_loop_invalid_argument_value
Error
Semantic Issue
Empty Group
(invalid value '.*'; must be positive|value '.*' is too large)
err_pragma_loop_compatibility
Error
Semantic Issue
Empty Group
(incompatible|duplicate) directives '.*' and '.*'
err_pragma_loop_precedes_nonloop
Error
Semantic Issue
Empty Group
expected a for, while, or do-while loop to follow '.*'
err_pragma_attribute_matcher_subrule_contradicts_rule
Error
Semantic Issue
Empty Group
redundant attribute subject matcher sub-rule '.*'; '.*' already matches those declarations
err_pragma_attribute_matcher_negated_subrule_contradicts_subrule
Error
Semantic Issue
Empty Group
negated attribute subject matcher sub-rule '.*' contradicts sub-rule '.*'
err_pragma_attribute_invalid_matchers
Error
Semantic Issue
Empty Group
attribute .* can't be applied to .*
err_pragma_attribute_stack_mismatch
Error
Semantic Issue
Empty Group
'#pragma clang attribute (.*\.|)pop' with no matching '#pragma clang attribute (.*\.|)push'
warn_pragma_attribute_unused
Warning
Semantic Issue
pragma-clang-attribute
unused attribute .* in '#pragma clang attribute push' region
note_pragma_attribute_region_ends_here
Note
Semantic Issue
Empty Group
'#pragma clang attribute push' regions ends here
err_pragma_attribute_no_pop_eof
Error
Semantic Issue
Empty Group
unterminated '#pragma clang attribute push' at end of file
note_pragma_attribute_applied_decl_here
Note
Semantic Issue
Empty Group
when applied to this declaration
err_pragma_attr_attr_no_push
Error
Semantic Issue
Empty Group
'#pragma clang attribute' attribute with no matching '#pragma clang attribute push'
err_duplicate_class_def
Error
Semantic Issue
Empty Group
duplicate interface definition for class .*
err_undef_superclass
Error
Semantic Issue
Empty Group
cannot find interface declaration for .*, superclass of .*
err_forward_superclass
Error
Semantic Issue
Empty Group
attempting to use the forward class .* as superclass of .*
err_no_nsconstant_string_class
Error
Semantic Issue
Empty Group
cannot find interface declaration for .*
err_recursive_superclass
Error
Semantic Issue
Empty Group
trying to recursively use .* as superclass of .*
err_conflicting_aliasing_type
Error
Semantic Issue
Empty Group
conflicting types for alias .*
warn_undef_interface
Warning
Semantic Issue
Empty Group
cannot find interface declaration for .*
warn_duplicate_protocol_def
Warning
Semantic Issue
duplicate-protocol
duplicate protocol definition of .* is ignored
err_protocol_has_circular_dependency
Error
Semantic Issue
Empty Group
protocol has circular dependency
err_undeclared_protocol
Error
Semantic Issue
Empty Group
cannot find protocol declaration for .*
warn_undef_protocolref
Warning
Semantic Issue
Empty Group
cannot find protocol definition for .*
warn_atprotocol_protocol
Warning
Semantic Issue
at-protocol
@protocol is using a forward protocol declaration of .*
warn_readonly_property
Warning
Semantic Issue
property-attribute-mismatch
attribute 'readonly' of property .* restricts attribute 'readwrite' of property inherited from .*
warn_property_attribute
Warning
Semantic Issue
property-attribute-mismatch
'.*' attribute on property .* does not match the property inherited from .*
warn_property_types_are_incompatible
Warning
Semantic Issue
incompatible-property-type
property type .* is incompatible with type .* inherited from .*
warn_protocol_property_mismatch
Warning
Semantic Issue
protocol-property-synthesis-ambiguity
property (of type .*|with attribute '.*'|without attribute '.*'|with getter .*|with setter .*) was selected for synthesis
err_protocol_property_mismatch
Error
Semantic Issue
Empty Group
warn_protocol_property_mismatch\.Text
err_undef_interface
Error
Semantic Issue
Empty Group
cannot find interface declaration for .*
err_category_forward_interface
Error
Semantic Issue
Empty Group
cannot define (category|class extension) for undefined class .*
err_class_extension_after_impl
Error
Semantic Issue
Empty Group
cannot declare class extension for .* after class implementation
note_implementation_declared
Note
Semantic Issue
Empty Group
class implementation is declared here
note_while_in_implementation
Note
Semantic Issue
Empty Group
detected while default synthesizing properties in class implementation
note_class_declared
Note
Semantic Issue
Empty Group
class is declared here
note_receiver_class_declared
Note
Semantic Issue
Empty Group
receiver is instance of class declared here
note_receiver_expr_here
Note
Semantic Issue
Empty Group
receiver expression is here
note_receiver_is_id
Note
Semantic Issue
Empty Group
receiver is treated with 'id' type for purpose of method lookup
note_suppressed_class_declare
Note
Semantic Issue
Empty Group
class with specified objc_requires_property_definitions attribute is declared here
err_objc_root_class_subclass
Error
Semantic Issue
Empty Group
objc_root_class attribute may only be specified on a root class declaration
err_restricted_superclass_mismatch
Error
Semantic Issue
Empty Group
cannot subclass a class that was declared with the 'objc_subclassing_restricted' attribute
err_class_stub_subclassing_mismatch
Error
Semantic Issue
Empty Group
'objc_class_stub' attribute cannot be specified on a class that does not have the 'objc_subclassing_restricted' attribute
err_implementation_of_class_stub
Error
Semantic Issue
Empty Group
cannot declare implementation of a class declared with the 'objc_class_stub' attribute
warn_objc_root_class_missing
Warning
Semantic Issue
objc-root-class
class .* defined without specifying a base class
err_objc_runtime_visible_category
Error
Semantic Issue
Empty Group
cannot implement a category for class .* that is only visible via the Objective-C runtime
err_objc_runtime_visible_subclass
Error
Semantic Issue
Empty Group
cannot implement subclass .* of a superclass .* that is only visible via the Objective-C runtime
note_objc_needs_superclass
Note
Semantic Issue
Empty Group
add a super class to fix this problem
err_conflicting_super_class
Error
Semantic Issue
Empty Group
conflicting super class name .*
err_dup_implementation_class
Error
Semantic Issue
Empty Group
reimplementation of class .*
err_dup_implementation_category
Error
Semantic Issue
Empty Group
reimplementation of category .* for class .*
err_conflicting_ivar_type
Error
Semantic Issue
Empty Group
instance variable .* has conflicting type(: .* vs .*|)
err_duplicate_ivar_declaration
Error
Semantic Issue
Empty Group
instance variable is already declared
warn_on_superclass_use
Warning
Semantic Issue
Empty Group
class implementation may not have super class
err_conflicting_ivar_bitwidth
Error
Semantic Issue
Empty Group
instance variable .* has conflicting bit-field width
err_conflicting_ivar_name
Error
Semantic Issue
Empty Group
conflicting instance variable names: .* vs .*
err_inconsistent_ivar_count
Error
Semantic Issue
Empty Group
inconsistent number of instance variables specified
warn_undef_method_impl
Warning
Semantic Issue
incomplete-implementation
method definition for .* not found
warn_objc_boxing_invalid_utf8_string
Warning
Semantic Issue
objc-boxing
string is ill-formed as UTF-8 and will become a null .* when boxed
err_objc_direct_on_protocol
Error
Semantic Issue
Empty Group
'objc_direct' attribute cannot be applied to (methods|properties) declared in an Objective-C protocol
err_objc_direct_duplicate_decl
Error
Semantic Issue
Empty Group
(|direct )(method|property) declaration conflicts with previous (|direct )declaration of (method|property) .*
err_objc_direct_impl_decl_mismatch
Error
Semantic Issue
Empty Group
direct method was declared in (the primary interface|an extension|a category) but is implemented in (the primary interface|a category|a different category)
err_objc_direct_missing_on_decl
Error
Semantic Issue
Empty Group
direct method implementation was previously declared not direct
err_objc_direct_on_override
Error
Semantic Issue
Empty Group
methods that (override superclass methods|implement protocol requirements) cannot be direct
err_objc_override_direct_method
Error
Semantic Issue
Empty Group
cannot override a method that is declared direct by a superclass
warn_objc_direct_ignored
Warning
Semantic Issue
ignored-attributes
.* attribute isn't implemented by this Objective-C runtime
warn_objc_direct_property_ignored
Warning
Semantic Issue
ignored-attributes
direct attribute on property .* ignored \(not implemented by this Objective-C runtime\)
err_objc_direct_dynamic_property
Error
Semantic Issue
Empty Group
direct property cannot be @dynamic
warn_conflicting_overriding_ret_types
Warning
Semantic Issue
overriding-method-mismatch
conflicting return type in declaration of .*(: .* vs .*|)
warn_conflicting_ret_types
Warning
Semantic Issue
mismatched-return-types
conflicting return type in implementation of .*(: .* vs .*|)
warn_conflicting_overriding_ret_type_modifiers
Warning
Semantic Issue
overriding-method-mismatch
conflicting distributed object modifiers on return type in declaration of .*
warn_conflicting_ret_type_modifiers
Warning
Semantic Issue
distributed-object-modifiers
conflicting distributed object modifiers on return type in implementation of .*
warn_non_covariant_overriding_ret_types
Warning
Semantic Issue
overriding-method-mismatch
conflicting return type in declaration of .*: .* vs .*
warn_non_covariant_ret_types
Warning
Semantic Issue
method-signatures
conflicting return type in implementation of .*: .* vs .*
warn_conflicting_overriding_param_types
Warning
Semantic Issue
overriding-method-mismatch
conflicting parameter types in declaration of .*(: .* vs .*|)
warn_conflicting_param_types
Warning
Semantic Issue
mismatched-parameter-types
conflicting parameter types in implementation of .*(: .* vs .*|)
warn_conflicting_param_modifiers
Warning
Semantic Issue
distributed-object-modifiers
conflicting distributed object modifiers on parameter type in implementation of .*
warn_conflicting_overriding_param_modifiers
Warning
Semantic Issue
overriding-method-mismatch
conflicting distributed object modifiers on parameter type in declaration of .*
warn_non_contravariant_overriding_param_types
Warning
Semantic Issue
overriding-method-mismatch
conflicting parameter types in declaration of .*: .* vs .*
warn_non_contravariant_param_types
Warning
Semantic Issue
method-signatures
conflicting parameter types in implementation of .*: .* vs .*
warn_conflicting_overriding_variadic
Warning
Semantic Issue
overriding-method-mismatch
conflicting variadic declaration of method and its implementation
warn_conflicting_variadic
Warning
Semantic Issue
Empty Group
conflicting variadic declaration of method and its implementation
warn_category_method_impl_match
Warning
Semantic Issue
objc-protocol-method-implementation
category is implementing a method which will also be implemented by its primary class
warn_implements_nscopying
Warning
Semantic Issue
Empty Group
default assign attribute on property .* which implements NSCopying protocol is not appropriate with -fobjc-gc\[-only\]
warn_multiple_method_decl
Warning
Semantic Issue
objc-multiple-method-names
multiple methods named .* found
warn_strict_multiple_method_decl
Warning
Semantic Issue
strict-selector-match
multiple methods named .* found
warn_accessor_property_type_mismatch
Warning
Semantic Issue
Empty Group
type of property .* does not match type of accessor .*
note_conv_function_declared_at
Note
Semantic Issue
Empty Group
type conversion function declared here
note_method_declared_at
Note
Semantic Issue
Empty Group
method .* declared here
note_direct_method_declared_at
Note
Semantic Issue
Empty Group
direct method .* declared here
note_property_attribute
Note
Semantic Issue
Empty Group
property .* is declared (deprecated|unavailable|partial) here
err_setter_type_void
Error
Semantic Issue
Empty Group
type of setter must be void
err_duplicate_method_decl
Error
Semantic Issue
Empty Group
duplicate declaration of method .*
warn_duplicate_method_decl
Warning
Semantic Issue
duplicate-method-match
multiple declarations of method .* found and ignored
warn_objc_cdirective_format_string
Warning
Semantic Issue
cstring-format-directive
using .* directive in (NSString|CFString) which is being passed as a formatting argument to the formatting (method|CFfunction)
err_objc_var_decl_inclass
Error
Semantic Issue
Empty Group
cannot declare variable inside @interface or @protocol
err_missing_method_context
Error
Semantic Issue
Empty Group
missing context for method declaration
err_objc_property_attr_mutually_exclusive
Error
Semantic Issue
Empty Group
property attributes '.*' and '.*' are mutually exclusive
err_objc_property_requires_object
Error
Semantic Issue
Empty Group
property with '.*' attribute must be of object type
warn_objc_property_assign_on_object
Warning
Semantic Issue
objc-property-assign-on-object-type
'assign' property of object type may become a dangling reference; consider using 'unsafe_unretained'
warn_objc_property_no_assignment_attribute
Warning
Semantic Issue
objc-property-no-attribute
no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
warn_objc_isa_use
Warning
Semantic Issue
deprecated-objc-isa-usage
direct access to Objective-C's isa is deprecated in favor of object_getClass\(\)
warn_objc_isa_assign
Warning
Semantic Issue
deprecated-objc-isa-usage
assignment to Objective-C's isa is deprecated in favor of object_setClass\(\)
warn_objc_pointer_masking
Warning
Semantic Issue
deprecated-objc-pointer-introspection
bitmasking for introspection of Objective-C object pointers is strongly discouraged
warn_objc_pointer_masking_performSelector
Warning
Semantic Issue
deprecated-objc-pointer-introspection-performSelector
warn_objc_pointer_masking\.Text
warn_objc_property_default_assign_on_object
Warning
Semantic Issue
objc-property-no-attribute
default property attribute 'assign' not appropriate for object
warn_property_attr_mismatch
Warning
Semantic Issue
property-attribute-mismatch
property attribute in class extension does not match the primary class
warn_property_implicitly_mismatched
Warning
Semantic Issue
objc-property-implicit-mismatch
primary property declaration is implicitly strong while redeclaration in class extension is weak
warn_objc_property_copy_missing_on_block
Warning
Semantic Issue
Empty Group
'copy' attribute must be specified for the block property when -fobjc-gc-only is specified
warn_objc_property_retain_of_block
Warning
Semantic Issue
objc-noncopy-retain-block-property
retain'ed block property does not copy the block - use copy attribute instead
warn_objc_readonly_property_has_setter
Warning
Semantic Issue
objc-readonly-with-setter-property
setter cannot be specified for a readonly property
warn_atomic_property_rule
Warning
Semantic Issue
atomic-property-with-user-defined-accessor
writable atomic property .* cannot pair a synthesized (getter|setter) with a user defined (getter|setter)
note_atomic_property_fixup_suggest
Note
Semantic Issue
Empty Group
setter and getter must both be synthesized, or both be user defined,or the property must be nonatomic
err_atomic_property_nontrivial_assign_op
Error
Semantic Issue
Empty Group
atomic property of reference type .* cannot have non-trivial assignment operator
warn_cocoa_naming_owned_rule
Warning
Semantic Issue
objc-property-matches-cocoa-ownership-rule
property follows Cocoa naming convention for returning 'owned' objects
err_cocoa_naming_owned_rule
Error
Semantic Issue
Empty Group
property follows Cocoa naming convention for returning 'owned' objects
note_cocoa_naming_declare_family
Note
Semantic Issue
Empty Group
explicitly declare getter .* with '.*' to return an 'unowned' object
warn_auto_synthesizing_protocol_property
Warning
Semantic Issue
objc-protocol-property-synthesis
auto property synthesis will not synthesize property .* declared in protocol .*
note_add_synthesize_directive
Note
Semantic Issue
Empty Group
add a '@synthesize' directive
warn_no_autosynthesis_shared_ivar_property
Warning
Semantic Issue
objc-property-synthesis
auto property synthesis will not synthesize property .* because it cannot share an ivar with another synthesized property
warn_no_autosynthesis_property
Warning
Semantic Issue
objc-property-synthesis
auto property synthesis will not synthesize property .* because it is 'readwrite' but it will be synthesized 'readonly' via another property
warn_autosynthesis_property_in_superclass
Warning
Semantic Issue
objc-property-synthesis
auto property synthesis will not synthesize property .*; it will be implemented by its superclass, use @dynamic to acknowledge intention
warn_autosynthesis_property_ivar_match
Warning
Semantic Issue
objc-autosynthesis-property-ivar-name-match
autosynthesized property .* will use (|synthesized) instance variable .*, not existing instance variable .*
warn_missing_explicit_synthesis
Warning
Semantic Issue
objc-missing-property-synthesis
auto property synthesis is synthesizing property not explicitly synthesized
warn_property_getter_owning_mismatch
Warning
Semantic Issue
Empty Group
property declared as returning non-retained objects; getter returning retained objects
warn_property_redecl_getter_mismatch
Warning
Semantic Issue
property-attribute-mismatch
getter name mismatch between property redeclaration \(.*\) and its original declaration \(.*\)
err_property_setter_ambiguous_use
Error
Semantic Issue
Empty Group
synthesized properties .* and .* both claim setter .* - use of this setter will cause unexpected behavior
warn_default_atomic_custom_getter_setter
Warning
Semantic Issue
custom-atomic-properties
atomic by default property .* has a user defined (getter|setter) \(property should be marked 'atomic' if this is intended\)
err_use_continuation_class
Error
Semantic Issue
Empty Group
illegal redeclaration of property in class extension .* \(attribute must be 'readwrite', while its primary must be 'readonly'\)
err_type_mismatch_continuation_class
Error
Semantic Issue
Empty Group
type of property .* in class extension does not match property type in primary class
err_use_continuation_class_redeclaration_readwrite
Error
Semantic Issue
Empty Group
illegal redeclaration of 'readwrite' property in class extension .* \(perhaps you intended this to be a 'readwrite' redeclaration of a 'readonly' public property\?\)
err_continuation_class
Error
Semantic Issue
Empty Group
class extension has no primary class
err_property_type
Error
Semantic Issue
Empty Group
property cannot have array or function type .*
err_missing_property_context
Error
Semantic Issue
Empty Group
missing context for property implementation declaration
err_bad_property_decl
Error
Semantic Issue
Empty Group
property implementation must have its declaration in interface .* or one of its extensions
err_category_property
Error
Semantic Issue
Empty Group
property declared in category .* cannot be implemented in class implementation
note_property_declare
Note
Semantic Issue
Empty Group
property declared here
note_protocol_property_declare
Note
Semantic Issue
Empty Group
it could also be property (of type .*|without attribute '.*'|with attribute '.*'|with getter .*|with setter .*) declared here
note_property_synthesize
Note
Semantic Issue
Empty Group
property synthesized here
err_synthesize_category_decl
Error
Semantic Issue
Empty Group
@synthesize not allowed in a category's implementation
err_synthesize_on_class_property
Error
Semantic Issue
Empty Group
@synthesize not allowed on a class property .*
err_missing_property_interface
Error
Semantic Issue
Empty Group
property implementation in a category with no category declaration
err_bad_category_property_decl
Error
Semantic Issue
Empty Group
property implementation must have its declaration in the category .*
err_bad_property_context
Error
Semantic Issue
Empty Group
property implementation must be in a class or category implementation
err_missing_property_ivar_decl
Error
Semantic Issue
Empty Group
synthesized property .* must either be named the same as a compatible instance variable or must explicitly name an instance variable
err_arc_perform_selector_retains
Error
Semantic Issue
Empty Group
performSelector names a selector which retains the object
warn_arc_perform_selector_leaks
Warning
Semantic Issue
arc-performSelector-leaks
performSelector may cause a leak because its selector is unknown
warn_dealloc_in_category
Warning
Semantic Issue
dealloc-in-category
-dealloc is being overridden in a category
err_gc_weak_property_strong_type
Error
Semantic Issue
Empty Group
weak attribute declared on a __strong type property in GC mode
warn_arc_repeated_use_of_weak
Warning
Semantic Issue
arc-repeated-use-of-weak
weak (variable|property|implicit property|instance variable) .* is accessed multiple times in this (function|method|block|lambda) but may be unpredictably set to nil; assign to a strong variable to keep the object alive
warn_implicitly_retains_self
Warning
Semantic Issue
implicit-retain-self
block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior
warn_arc_possible_repeated_use_of_weak
Warning
Semantic Issue
arc-maybe-repeated-use-of-weak
weak (variable|property|implicit property|instance variable) .* may be accessed multiple times in this (function|method|block|lambda) and may be unpredictably set to nil; assign to a strong variable to keep the object alive
note_arc_weak_also_accessed_here
Note
Semantic Issue
Empty Group
also accessed here
err_incomplete_synthesized_property
Error
Semantic Issue
Empty Group
cannot synthesize property .* with incomplete type .*
err_property_ivar_type
Error
Semantic Issue
Empty Group
type of property .* \(.*\) does not match type of instance variable .* \(.*\)
err_property_accessor_type
Error
Semantic Issue
Empty Group
type of property .* \(.*\) does not match type of accessor .* \(.*\)
err_ivar_in_superclass_use
Error
Semantic Issue
Empty Group
property .* attempting to use instance variable .* declared in super class .*
err_weak_property
Error
Semantic Issue
Empty Group
existing instance variable .* for __weak property .* must be __weak
err_strong_property
Error
Semantic Issue
Empty Group
existing instance variable .* for strong property .* may not be __weak
err_dynamic_property_ivar_decl
Error
Semantic Issue
Empty Group
dynamic property cannot have instance variable specification
err_duplicate_ivar_use
Error
Semantic Issue
Empty Group
synthesized properties .* and .* both claim instance variable .*
err_property_implemented
Error
Semantic Issue
Empty Group
property .* is already implemented
warn_objc_missing_super_call
Warning
Semantic Issue
objc-missing-super-calls
method possibly missing a \[super .*\] call
err_dealloc_bad_result_type
Error
Semantic Issue
Empty Group
dealloc return type must be correctly specified as 'void' under ARC, instead of .*
warn_undeclared_selector
Warning
Semantic Issue
undeclared-selector
undeclared selector .*
warn_undeclared_selector_with_typo
Warning
Semantic Issue
undeclared-selector
undeclared selector .*; did you mean .*\?
warn_implicit_atomic_property
Warning
Semantic Issue
implicit-atomic-properties
property is assumed atomic by default
note_auto_readonly_iboutlet_fixup_suggest
Note
Semantic Issue
Empty Group
property should be changed to be readwrite
warn_auto_readonly_iboutlet_property
Warning
Semantic Issue
readonly-iboutlet-property
readonly IBOutlet property .* when auto-synthesized may not work correctly with 'nib' loader
warn_auto_implicit_atomic_property
Warning
Semantic Issue
implicit-atomic-properties
property is assumed atomic when auto-synthesizing the property
warn_unimplemented_selector
Warning
Semantic Issue
selector
no method with selector .* is implemented in this translation unit
warn_unimplemented_protocol_method
Warning
Semantic Issue
protocol
method .* in protocol .* not implemented
warn_class_does_not_conform_protocol
Warning
Semantic Issue
protocol
(class|category) .* does not conform to protocol( .*|s .* and .*|s .*, .* and .*|s .*, .*, .*, \.\.\.)
note_add_missing_protocol_stubs
Note
Semantic Issue
Empty Group
add stubs for missing protocol requirements
warn_multiple_selectors
Warning
Semantic Issue
selector-type-mismatch
several methods with selector .* of mismatched types are found for the @selector expression
err_direct_selector_expression
Error
Semantic Issue
Empty Group
@selector expression formed with direct selector .*
warn_potentially_direct_selector_expression
Warning
Semantic Issue
potentially-direct-selector
@selector expression formed with potentially direct selector .*
warn_strict_potentially_direct_selector_expression
Warning
Semantic Issue
strict-potentially-direct-selector
warn_potentially_direct_selector_expression\.Text
err_objc_kindof_nonobject
Error
Semantic Issue
Empty Group
'__kindof' specifier cannot be applied to non-object type .*
err_objc_kindof_wrong_position
Error
Semantic Issue
Empty Group
'__kindof' type specifier must precede the declarator
err_objc_method_unsupported_param_ret_type
Error
Semantic Issue
Empty Group
.* (parameter|return) type is unsupported; support for vector types for this target is introduced in .*
warn_messaging_unqualified_id
Warning
Semantic Issue
objc-messaging-id
messaging unqualified id
err_messaging_unqualified_id_with_direct_method
Error
Semantic Issue
Empty Group
messaging unqualified id with a method that is possibly direct
err_messaging_super_with_direct_method
Error
Semantic Issue
Empty Group
messaging super with a direct method
err_messaging_class_with_direct_method
Error
Semantic Issue
Empty Group
messaging a Class with a method that is possibly direct
err_static_assert_expression_is_not_constant
Error
Semantic Issue
Empty Group
static_assert expression is not an integral constant expression
err_static_assert_failed
Error
Semantic Issue
Empty Group
static_assert failed( .*|)
err_static_assert_requirement_failed
Error
Semantic Issue
Empty Group
static_assert failed due to requirement '.*'( .*|)
ext_inline_variable
ExtWarn
Semantic Issue
c++17-extensions
inline variables are a C\+\+17 extension
warn_cxx14_compat_inline_variable
Warning
Semantic Issue
c++98-c++11-c++14-compat
inline variables are incompatible with C\+\+ standards before C\+\+17
warn_inline_namespace_reopened_noninline
Warning
Semantic Issue
inline-namespace-reopened-noninline
inline namespace reopened as a non-inline namespace
err_inline_namespace_mismatch
Error
Semantic Issue
Empty Group
non-inline namespace cannot be reopened as inline
err_unexpected_friend
Error
Semantic Issue
Empty Group
friends can only be classes or functions
ext_enum_friend
ExtWarn
Semantic Issue
c++11-extensions
befriending enumeration type .* is a C\+\+11 extension
warn_cxx98_compat_enum_friend
Warning
Semantic Issue
c++98-compat
befriending enumeration type .* is incompatible with C\+\+98
ext_nonclass_type_friend
ExtWarn
Semantic Issue
c++11-extensions
non-class friend type .* is a C\+\+11 extension
warn_cxx98_compat_nonclass_type_friend
Warning
Semantic Issue
c++98-compat
non-class friend type .* is incompatible with C\+\+98
err_friend_is_member
Error
Semantic Issue
Empty Group
friends cannot be members of the declaring class
warn_cxx98_compat_friend_is_member
Warning
Semantic Issue
c++98-compat
friend declaration naming a member of the declaring class is incompatible with C\+\+98
ext_unelaborated_friend_type
ExtWarn
Semantic Issue
c++11-extensions
unelaborated friend declaration is a C\+\+11 extension; specify '(struct|interface|union|class|enum)' to befriend .*
warn_cxx98_compat_unelaborated_friend_type
Warning
Semantic Issue
c++98-compat
befriending .* without '(struct|interface|union|class|enum)' keyword is incompatible with C\+\+98
err_qualified_friend_no_match
Error
Semantic Issue
Empty Group
friend declaration of .* does not match any declaration in .*
err_introducing_special_friend
Error
Semantic Issue
Empty Group
(\[0,2\]:must use a qualified name when declaring|cannot declare) a (constructor|destructor|conversion operator|deduction guide) as a friend
err_tagless_friend_type_template
Error
Semantic Issue
Empty Group
friend type templates must use an elaborated type
err_no_matching_local_friend
Error
Semantic Issue
Empty Group
no matching function found in local scope
err_no_matching_local_friend_suggest
Error
Semantic Issue
Empty Group
no matching function .* found in local scope; did you mean .*\?
err_partial_specialization_friend
Error
Semantic Issue
Empty Group
partial specialization cannot be declared as a friend
err_qualified_friend_def
Error
Semantic Issue
Empty Group
friend function definition cannot be qualified with '.*'
err_friend_def_in_local_class
Error
Semantic Issue
Empty Group
friend function cannot be defined in a local class
err_friend_not_first_in_declaration
Error
Semantic Issue
Empty Group
'friend' must appear first in a non-function declaration
err_using_decl_friend
Error
Semantic Issue
Empty Group
cannot befriend target of using declaration
warn_template_qualified_friend_unsupported
Warning
Semantic Issue
unsupported-friend
dependent nested name specifier '.*' for friend class declaration is not supported; turning off access control for .*
warn_template_qualified_friend_ignored
Warning
Semantic Issue
unsupported-friend
dependent nested name specifier '.*' for friend template declaration is not supported; ignoring this friend declaration
ext_friend_tag_redecl_outside_namespace
ExtWarn
Semantic Issue
microsoft-unqualified-friend
unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension; add a nested name specifier
err_pure_friend
Error
Semantic Issue
Empty Group
friend declaration cannot have a pure-specifier
err_invalid_base_in_interface
Error
Semantic Issue
Empty Group
interface type cannot inherit from (struct|non-public interface|class) .*
err_abstract_type_in_decl
Error
Semantic Issue
Empty Group
(return|parameter|variable|field|instance variable|synthesized instance variable) type .* is an abstract class
err_allocation_of_abstract_type
Error
Semantic Issue
Empty Group
allocating an object of abstract class type .*
err_throw_abstract_type
Error
Semantic Issue
Empty Group
cannot throw an object of abstract type .*
err_array_of_abstract_type
Error
Semantic Issue
Empty Group
array of abstract class type .*
err_capture_of_abstract_type
Error
Semantic Issue
Empty Group
by-copy capture of value of abstract type .*
err_capture_of_incomplete_or_sizeless_type
Error
Semantic Issue
Empty Group
by-copy capture of variable .* with (incomplete|sizeless) type .*
err_capture_default_non_local
Error
Semantic Issue
Empty Group
non-local lambda expression cannot have a capture-default
err_multiple_final_overriders
Error
Semantic Issue
Empty Group
virtual function .* has more than one final overrider in .*
note_final_overrider
Note
Semantic Issue
Empty Group
final overrider of .* in .*
err_type_defined_in_type_specifier
Error
Semantic Issue
Empty Group
.* cannot be defined in a type specifier
err_type_defined_in_result_type
Error
Semantic Issue
Empty Group
.* cannot be defined in the result type of a function
err_type_defined_in_param_type
Error
Semantic Issue
Empty Group
.* cannot be defined in a parameter type
err_type_defined_in_alias_template
Error
Semantic Issue
Empty Group
.* cannot be defined in a type alias template
err_type_defined_in_condition
Error
Semantic Issue
Empty Group
.* cannot be defined in a condition
err_type_defined_in_enum
Error
Semantic Issue
Empty Group
.* cannot be defined in an enumeration
note_pure_virtual_function
Note
Semantic Issue
Empty Group
unimplemented pure virtual method .* in .*
note_pure_qualified_call_kext
Note
Semantic Issue
Empty Group
qualified call to .*::.* is treated as a virtual call to .* due to -fapple-kext
err_deleted_decl_not_first
Error
Semantic Issue
Empty Group
deleted definition must be first declaration
err_deleted_override
Error
Semantic Issue
Empty Group
deleted function .* cannot override a non-deleted function
err_non_deleted_override
Error
Semantic Issue
Empty Group
non-deleted function .* cannot override a deleted function
err_consteval_override
Error
Semantic Issue
Empty Group
consteval function .* cannot override a non-consteval function
err_non_consteval_override
Error
Semantic Issue
Empty Group
non-consteval function .* cannot override a consteval function
warn_weak_vtable
Warning
Semantic Issue
weak-vtables
.* has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit
warn_weak_template_vtable
Warning
Semantic Issue
weak-template-vtables
explicit template instantiation .* will emit a vtable in every translation unit
ext_using_undefined_std
ExtWarn
Semantic Issue
Empty Group
using directive refers to implicitly-defined namespace 'std'
err_exception_spec_in_typedef
Error
Semantic Issue
Empty Group
exception specifications are not allowed in (typedefs|type aliases)
err_distant_exception_spec
Error
Semantic Issue
Empty Group
exception specifications are not allowed beyond a single level of indirection
err_incomplete_in_exception_spec
Error
Semantic Issue
Empty Group
(|pointer to |reference to )incomplete type .* is not allowed in exception specification
err_sizeless_in_exception_spec
Error
Semantic Issue
Empty Group
(|reference to )sizeless type .* is not allowed in exception specification
ext_incomplete_in_exception_spec
ExtWarn
Semantic Issue
microsoft-exception-spec
err_incomplete_in_exception_spec\.Text
err_rref_in_exception_spec
Error
Semantic Issue
Empty Group
rvalue reference type .* is not allowed in exception specification
err_mismatched_exception_spec
Error
Semantic Issue
Empty Group
exception specification in declaration does not match previous declaration
ext_mismatched_exception_spec
ExtWarn
Semantic Issue
microsoft-exception-spec
err_mismatched_exception_spec\.Text
err_override_exception_spec
Error
Semantic Issue
Empty Group
exception specification of overriding function is more lax than base version
ext_override_exception_spec
ExtWarn
Semantic Issue
microsoft-exception-spec
err_override_exception_spec\.Text
err_incompatible_exception_specs
Error
Semantic Issue
Empty Group
target exception specification is not superset of source
warn_incompatible_exception_specs
Warning
Semantic Issue
incompatible-exception-spec
err_incompatible_exception_specs\.Text
err_deep_exception_specs_differ
Error
Semantic Issue
Empty Group
exception specifications of (return|argument) types differ
warn_deep_exception_specs_differ
Warning
Semantic Issue
incompatible-exception-spec
err_deep_exception_specs_differ\.Text
err_missing_exception_specification
Error
Semantic Issue
Empty Group
.* is missing exception specification '.*'
ext_missing_exception_specification
ExtWarn
Semantic Issue
missing-exception-spec
err_missing_exception_specification\.Text
ext_ms_missing_exception_specification
ExtWarn
Semantic Issue
microsoft-exception-spec
err_missing_exception_specification\.Text
err_noexcept_needs_constant_expression
Error
Semantic Issue
Empty Group
argument to noexcept specifier must be a constant expression
err_exception_spec_not_parsed
Error
Semantic Issue
Empty Group
exception specification is not available until end of class definition
err_exception_spec_cycle
Error
Semantic Issue
Empty Group
exception specification of .* uses itself
err_exception_spec_incomplete_type
Error
Semantic Issue
Empty Group
exception specification needed for member of incomplete class .*
warn_wasm_dynamic_exception_spec_ignored
ExtWarn
Semantic Issue
wasm-exception-spec
dynamic exception specifications with types are currently ignored in wasm
err_class_redeclared_with_different_access
Error
Semantic Issue
Empty Group
.* redeclared with '.*' access
err_access
Error
Semantic Issue
Empty Group
.* is a (private|protected) member of .*
ext_ms_using_declaration_inaccessible
ExtWarn
Semantic Issue
microsoft-using-decl
using declaration referring to inaccessible member '.*' \(which refers to accessible member '.*'\) is a Microsoft compatibility extension
err_access_ctor
Error
Semantic Issue
Empty Group
calling a (private|protected) constructor of class .*
ext_rvalue_to_reference_access_ctor
Extension
Semantic Issue
bind-to-temporary-copy
C\+\+98 requires an accessible copy constructor for class .* when binding a reference to a temporary; was (private|protected)
err_access_base_ctor
Error
Semantic Issue
Empty Group
(base class|inherited virtual base class) .* has (private|protected) (default |copy |move |\*ERROR\* |\*ERROR\* |\*ERROR\*|)constructor
err_access_field_ctor
Error
Semantic Issue
Empty Group
field of type .* has (private|protected) (default |copy |move |\*ERROR\* |\*ERROR\* |\*ERROR\* |)constructor
err_access_friend_function
Error
Semantic Issue
Empty Group
friend function .* is a (private|protected) member of .*
err_access_dtor
Error
Semantic Issue
Empty Group
calling a (private|protected) destructor of class .*
err_access_dtor_base
Error
Semantic Issue
Empty Group
base class .* has (private|protected) destructor
err_access_dtor_vbase
Error
Semantic Issue
Empty Group
inherited virtual base class .* has (private|protected) destructor
err_access_dtor_temp
Error
Semantic Issue
Empty Group
temporary of type .* has (private|protected) destructor
err_access_dtor_exception
Error
Semantic Issue
Empty Group
exception object of type .* has (private|protected) destructor
err_access_dtor_field
Error
Semantic Issue
Empty Group
field of type .* has (private|protected) destructor
err_access_dtor_var
Error
Semantic Issue
Empty Group
variable of type .* has (private|protected) destructor
err_access_dtor_ivar
Error
Semantic Issue
Empty Group
instance variable of type .* has (private|protected) destructor
note_previous_access_declaration
Note
Semantic Issue
Empty Group
previously declared '.*' here
note_access_natural
Note
Semantic Issue
Empty Group
(|implicitly )declared (private|protected) here
note_access_constrained_by_path
Note
Semantic Issue
Empty Group
constrained by (|implicitly )(private|protected) inheritance here
note_access_protected_restricted_noobject
Note
Semantic Issue
Empty Group
must name member using the type of the current context .*
note_access_protected_restricted_ctordtor
Note
Semantic Issue
Empty Group
protected (constructor|destructor) can only be used to (construct|destroy) a base class subobject
note_access_protected_restricted_object
Note
Semantic Issue
Empty Group
can only access this member on an object of type .*
warn_cxx98_compat_sfinae_access_control
Warning
Semantic Issue
c++98-compat
substitution failure due to access control is incompatible with C\+\+98
err_incomplete_nested_name_spec
Error
Semantic Issue
Empty Group
incomplete type .* named in nested name specifier
err_dependent_nested_name_spec
Error
Semantic Issue
Empty Group
nested name specifier for a declaration cannot depend on a template parameter
err_nested_name_member_ref_lookup_ambiguous
Error
Semantic Issue
Empty Group
lookup of .* in member access expression is ambiguous
ext_nested_name_member_ref_lookup_ambiguous
ExtWarn
Semantic Issue
ambiguous-member-template
lookup of .* in member access expression is ambiguous; using member of .*
note_ambig_member_ref_object_type
Note
Semantic Issue
Empty Group
lookup in the object type .* refers here
note_ambig_member_ref_scope
Note
Semantic Issue
Empty Group
lookup from the current scope refers here
err_qualified_member_nonclass
Error
Semantic Issue
Empty Group
qualified member access refers to a member in .*
err_incomplete_member_access
Error
Semantic Issue
Empty Group
member access into incomplete type .*
err_incomplete_type
Error
Semantic Issue
Empty Group
incomplete type .* where a complete type is required
warn_cxx98_compat_enum_nested_name_spec
Warning
Semantic Issue
c++98-compat
enumeration type in nested name specifier is incompatible with C\+\+98
err_nested_name_spec_is_not_class
Error
Semantic Issue
Empty Group
.* cannot appear before '::' because it is not a class( or namespace|, namespace, or enumeration); did you mean ':'\?
ext_nested_name_spec_is_enum
ExtWarn
Semantic Issue
c++11-extensions
use of enumeration in a nested name specifier is a C\+\+11 extension
err_out_of_line_qualified_id_type_names_constructor
Error
Semantic Issue
Empty Group
qualified reference to .* is a constructor name rather than a (template name|type) in this context
ext_out_of_line_qualified_id_type_names_constructor
ExtWarn
Semantic Issue
injected-class-name
ISO C\+\+ specifies that qualified reference to .* is a constructor name rather than a (template name|type) in this context, despite preceding ('typename'|'template') keyword
err_storageclass_invalid_for_member
Error
Semantic Issue
Empty Group
storage class specified for a member declaration
err_mutable_function
Error
Semantic Issue
Empty Group
'mutable' cannot be applied to functions
err_mutable_reference
Error
Semantic Issue
Empty Group
'mutable' cannot be applied to references
ext_mutable_reference
ExtWarn
Semantic Issue
microsoft-mutable-reference
'mutable' on a reference type is a Microsoft extension
err_mutable_const
Error
Semantic Issue
Empty Group
'mutable' and 'const' cannot be mixed
err_mutable_nonmember
Error
Semantic Issue
Empty Group
'mutable' can only be applied to member variables
err_virtual_in_union
Error
Semantic Issue
Empty Group
unions cannot have virtual functions
err_virtual_non_function
Error
Semantic Issue
Empty Group
'virtual' can only appear on non-static member functions
err_virtual_out_of_class
Error
Semantic Issue
Empty Group
'virtual' can only be specified inside the class definition
err_virtual_member_function_template
Error
Semantic Issue
Empty Group
'virtual' cannot be specified on member function templates
err_static_overrides_virtual
Error
Semantic Issue
Empty Group
'static' member function .* overrides a virtual function in a base class
err_explicit_non_function
Error
Semantic Issue
Empty Group
'explicit' can only appear on non-static member functions
err_explicit_out_of_class
Error
Semantic Issue
Empty Group
'explicit' can only be specified inside the class definition
err_explicit_non_ctor_or_conv_function
Error
Semantic Issue
Empty Group
'explicit' can only be applied to a constructor or conversion function
err_static_not_bitfield
Error
Semantic Issue
Empty Group
static member .* cannot be a bit-field
err_static_out_of_line
Error
Semantic Issue
Empty Group
'static' can only be specified inside the class definition
ext_static_out_of_line
ExtWarn
Semantic Issue
microsoft-template
err_static_out_of_line\.Text
err_storage_class_for_static_member
Error
Semantic Issue
Empty Group
static data member definition cannot specify a storage class
err_typedef_not_bitfield
Error
Semantic Issue
Empty Group
typedef member .* cannot be a bit-field
err_not_integral_type_bitfield
Error
Semantic Issue
Empty Group
bit-field .* has non-integral type .*
err_not_integral_type_anon_bitfield
Error
Semantic Issue
Empty Group
anonymous bit-field has non-integral type .*
err_anon_bitfield_qualifiers
Error
Semantic Issue
Empty Group
anonymous bit-field cannot have qualifiers
err_member_function_initialization
Error
Semantic Issue
Empty Group
initializer on function does not look like a pure-specifier
err_non_virtual_pure
Error
Semantic Issue
Empty Group
.* is not virtual and cannot be declared pure
ext_pure_function_definition
ExtWarn
Semantic Issue
microsoft-pure-definition
function definition with pure-specifier is a Microsoft extension
err_qualified_member_of_unrelated
Error
Semantic Issue
Empty Group
.* is not a member of class .*
err_member_function_call_bad_cvr
Error
Semantic Issue
Empty Group
'this' argument to member function .* has type .*, but function is not marked (const|restrict|const or restrict|volatile|const or volatile|volatile or restrict|const, volatile, or restrict)
err_member_function_call_bad_ref
Error
Semantic Issue
Empty Group
'this' argument to member function .* is an (lvalue|rvalue) but function has (non-const lvalue|rvalue) ref-qualifier
err_member_function_call_bad_type
Error
Semantic Issue
Empty Group
cannot initialize object parameter of type .* with an expression of type .*
warn_call_to_pure_virtual_member_function_from_ctor_dtor
Warning
Semantic Issue
call-to-pure-virtual-from-ctor-dtor
call to pure virtual member function .* has undefined behavior; overrides of .* in subclasses are not available in the (constructor|destructor) of .*
note_member_declared_at
Note
Semantic Issue
Empty Group
member is declared here
note_ivar_decl
Note
Semantic Issue
Empty Group
instance variable is declared here
note_bitfield_decl
Note
Semantic Issue
Empty Group
bit-field is declared here
note_implicit_param_decl
Note
Semantic Issue
Empty Group
.* is an implicit parameter
note_member_synthesized_at
Note
Semantic Issue
Empty Group
in (implicit|defaulted) (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) for .* first required here
note_comparison_synthesized_at
Note
Semantic Issue
Empty Group
in defaulted (<ERROR>|equality|three-way|equality|relational) comparison operator for .* first required here
err_missing_default_ctor
Error
Semantic Issue
Empty Group
(constructor for .* must explicitly initialize the|implicit default constructor for .* must explicitly initialize the|cannot use constructor inherited from base class .*;) (base class|member) .* (which|which|of .*) does not have a default constructor
note_due_to_dllexported_class
Note
Semantic Issue
Empty Group
due to .* being dllexported(|; try compiling in C\+\+11 mode)
err_illegal_union_or_anon_struct_member
Error
Semantic Issue
Empty Group
(anonymous struct|union) member .* has a non-trivial (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor)
warn_frame_address
Warning
Semantic Issue
frame-address
calling '.*' with a nonzero argument is unsafe
warn_cxx98_compat_nontrivial_union_or_anon_struct_member
Warning
Semantic Issue
c++98-compat
(anonymous struct|union) member .* with a non-trivial (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) is incompatible with C\+\+98
note_nontrivial_virtual_dtor
Note
Semantic Issue
Empty Group
destructor for .* is not trivial because it is virtual
note_nontrivial_has_virtual
Note
Semantic Issue
Empty Group
because type .* has a virtual (member function|base class)
note_nontrivial_no_def_ctor
Note
Semantic Issue
Empty Group
because (base class of |field of |)type .* has no default constructor
note_user_declared_ctor
Note
Semantic Issue
Empty Group
implicit default constructor suppressed by user-declared constructor
note_nontrivial_no_copy
Note
Semantic Issue
Empty Group
because no (<<ERROR>>|constructor|constructor|assignment operator|assignment operator|<<ERROR>>) can be used to (<<ERROR>>|copy|move|copy|move|<<ERROR>>) (base class|field|an object) of type .*
note_nontrivial_user_provided
Note
Semantic Issue
Empty Group
because (base class of |field of |)type .* has a user-provided (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor)
note_nontrivial_default_member_init
Note
Semantic Issue
Empty Group
because field .* has an initializer
note_nontrivial_param_type
Note
Semantic Issue
Empty Group
because its parameter is (of type .*, not .*|of the wrong type)
note_nontrivial_default_arg
Note
Semantic Issue
Empty Group
because it has a default argument
note_nontrivial_variadic
Note
Semantic Issue
Empty Group
because it is a variadic function
note_nontrivial_subobject
Note
Semantic Issue
Empty Group
because the function selected to (construct|copy|move|copy|move|destroy) (base class|field) of type .* is not trivial
note_nontrivial_objc_ownership
Note
Semantic Issue
Empty Group
because type .* has a member with (no|no|__strong|__weak|__autoreleasing) ownership
err_static_data_member_not_allowed_in_anon_struct
Error
Semantic Issue
Empty Group
static data member .* not allowed in anonymous (struct|interface|union|class|enum)
ext_static_data_member_in_union
ExtWarn
Semantic Issue
c++11-extensions
static data member .* in union is a C\+\+11 extension
warn_cxx98_compat_static_data_member_in_union
Warning
Semantic Issue
c++98-compat
static data member .* in union is incompatible with C\+\+98
ext_union_member_of_reference_type
ExtWarn
Semantic Issue
microsoft-union-member-reference
union member .* has reference type .*, which is a Microsoft extension
err_union_member_of_reference_type
Error
Semantic Issue
Empty Group
union member .* has reference type .*
ext_anonymous_struct_union_qualified
Extension
Semantic Issue
Empty Group
anonymous (struct|union) cannot be '.*'
err_different_return_type_for_overriding_virtual_function
Error
Semantic Issue
Empty Group
virtual function .* has a different return type (\(.*\) than the function it overrides \(which has return type .*\)|than the function it overrides)
note_overridden_virtual_function
Note
Semantic Issue
Empty Group
overridden virtual function is here
err_conflicting_overriding_cc_attributes
Error
Semantic Issue
Empty Group
virtual function .* has different calling convention attributes (\(.*\) than the function it overrides \(which has calling convention .*\)|than the function it overrides)
warn_overriding_method_missing_noescape
Warning
Semantic Issue
missing-noescape
parameter of overriding method should be annotated with __attribute__\(\(noescape\)\)
note_overridden_marked_noescape
Note
Semantic Issue
Empty Group
parameter of overridden method is annotated with __attribute__\(\(noescape\)\)
note_cat_conform_to_noescape_prot
Note
Semantic Issue
Empty Group
(category|class extension) conforms to protocol .* which defines method .*
err_covariant_return_inaccessible_base
Error
Semantic Issue
Empty Group
invalid covariant return for virtual function: .* is a (private|protected) base class of .*
err_covariant_return_ambiguous_derived_to_base_conv
Error
Semantic Issue
Empty Group
return type of virtual function .* is not covariant with the return type of the function it overrides \(ambiguous conversion from derived class .* to base class .*:.*\)
err_covariant_return_not_derived
Error
Semantic Issue
Empty Group
return type of virtual function .* is not covariant with the return type of the function it overrides \(.* is not derived from .*\)
err_covariant_return_incomplete
Error
Semantic Issue
Empty Group
return type of virtual function .* is not covariant with the return type of the function it overrides \(.* is incomplete\)
err_covariant_return_type_different_qualifications
Error
Semantic Issue
Empty Group
return type of virtual function .* is not covariant with the return type of the function it overrides \(.* has different qualifiers than .*\)
err_covariant_return_type_class_type_more_qualified
Error
Semantic Issue
Empty Group
return type of virtual function .* is not covariant with the return type of the function it overrides \(class type .* is more qualified than class type .*
note_in_declaration_of_implicit_special_member
Note
Semantic Issue
Empty Group
while declaring the implicit (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) for .*
err_constructor_cannot_be
Error
Semantic Issue
Empty Group
constructor cannot be declared '.*'
err_invalid_qualified_constructor
Error
Semantic Issue
Empty Group
'.*' qualifier is not allowed on a constructor
err_ref_qualifier_constructor
Error
Semantic Issue
Empty Group
ref-qualifier '(&&|&)' is not allowed on a constructor
err_constructor_return_type
Error
Semantic Issue
Empty Group
constructor cannot have a return type
err_constructor_redeclared
Error
Semantic Issue
Empty Group
constructor cannot be redeclared
err_constructor_byvalue_arg
Error
Semantic Issue
Empty Group
copy constructor must pass its first argument by reference
warn_no_constructor_for_refconst
Warning
Semantic Issue
Empty Group
(struct|interface|union|class|enum) .* does not declare any constructor to initialize its non-modifiable members
note_refconst_member_not_initialized
Note
Semantic Issue
Empty Group
(const|reference) member .* will never be initialized
ext_ms_explicit_constructor_call
ExtWarn
Semantic Issue
microsoft-explicit-constructor-call
explicit constructor calls are a Microsoft extension
err_destructor_not_member
Error
Semantic Issue
Empty Group
destructor must be a non-static member function
err_destructor_cannot_be
Error
Semantic Issue
Empty Group
destructor cannot be declared '.*'
err_invalid_qualified_destructor
Error
Semantic Issue
Empty Group
'.*' qualifier is not allowed on a destructor
err_ref_qualifier_destructor
Error
Semantic Issue
Empty Group
ref-qualifier '(&&|&)' is not allowed on a destructor
err_destructor_return_type
Error
Semantic Issue
Empty Group
destructor cannot have a return type
err_destructor_redeclared
Error
Semantic Issue
Empty Group
destructor cannot be redeclared
err_destructor_with_params
Error
Semantic Issue
Empty Group
destructor cannot have any parameters
err_destructor_variadic
Error
Semantic Issue
Empty Group
destructor cannot be variadic
ext_destructor_typedef_name
ExtWarn
Semantic Issue
dtor-typedef
destructor cannot be declared using a (typedef|type alias) .* of the class name
err_undeclared_destructor_name
Error
Semantic Issue
Empty Group
undeclared identifier .* in destructor name
err_destructor_name
Error
Semantic Issue
Empty Group
expected the class name after '~' to name the enclosing class
err_destructor_name_nontype
Error
Semantic Issue
Empty Group
identifier .* after '~' in destructor name does not name a type
err_destructor_expr_mismatch
Error
Semantic Issue
Empty Group
identifier .* in object destruction expression does not name the type .* of the object being destroyed
err_destructor_expr_nontype
Error
Semantic Issue
Empty Group
identifier .* in object destruction expression does not name a type
err_destructor_expr_type_mismatch
Error
Semantic Issue
Empty Group
destructor type .* in object destruction expression does not match the type .* of the object being destroyed
note_destructor_type_here
Note
Semantic Issue
Empty Group
type .* found by destructor name lookup
note_destructor_nontype_here
Note
Semantic Issue
Empty Group
non-type declaration found by destructor name lookup
ext_dtor_named_in_wrong_scope
Extension
Semantic Issue
dtor-name
ISO C\+\+ requires the name after '::~' to be found in the same scope as the name before '::~'
ext_qualified_dtor_named_in_lexical_scope
ExtWarn
Semantic Issue
dtor-name
qualified destructor name only found in lexical scope; omit the qualifier to find this type name by unqualified lookup
ext_dtor_name_ambiguous
Extension
Semantic Issue
dtor-name
ISO C\+\+ considers this destructor name lookup to be ambiguous
err_destroy_attr_on_non_static_var
Error
Semantic Issue
Empty Group
(no_destroy|always_destroy) attribute can only be applied to a variable with static or thread storage duration
err_destructor_template
Error
Semantic Issue
Empty Group
destructor cannot be declared as a template
err_init_conversion_failed
Error
Semantic Issue
Empty Group
cannot initialize (a variable|a parameter|return object|statement expression result|an exception object|a member subobject|an array element|a new value|a value|a base class|a constructor delegation|a vector element|a block element|a block element|a complex element|a lambda capture|a compound literal initializer|a related result|a parameter of CF audited function) (of type .* with an (rvalue|lvalue) of type .*|with an (rvalue|lvalue) of incompatible type)(|: different classes( \(.* vs .*\)|)|: different number of parameters \(.* vs .*\)|: type mismatch at .* parameter( \(.* vs .*\)|)|: different return type( \(.* vs .*\)|)|: different qualifiers \(.* vs .*\)|: different exception specifications)
note_forward_class_conversion
Note
Semantic Issue
Empty Group
.* is not defined, but forward declared here; conversion would be valid if it was derived from .*
err_lvalue_to_rvalue_ref
Error
Semantic Issue
Empty Group
rvalue reference (to type .* cannot bind to lvalue of type .*|cannot bind to incompatible lvalue)
err_lvalue_reference_bind_to_initlist
Error
Semantic Issue
Empty Group
(non-const|volatile) lvalue reference to type .* cannot bind to an initializer list temporary
err_lvalue_reference_bind_to_temporary
Error
Semantic Issue
Empty Group
(non-const|volatile) lvalue reference (to type .* cannot bind to a temporary of type .*|cannot bind to incompatible temporary)
err_lvalue_reference_bind_to_unrelated
Error
Semantic Issue
Empty Group
(non-const|volatile) lvalue reference (to type .* cannot bind to a value of unrelated type .*|cannot bind to a value of unrelated type)
err_reference_bind_drops_quals
Error
Semantic Issue
Empty Group
binding reference (of type .* to value of type .*|to value) (drops .* qualifier(|||s)|changes address space|not permitted due to incompatible qualifiers)
err_reference_bind_failed
Error
Semantic Issue
Empty Group
reference (to (type|incomplete type) .* could not bind to an (rvalue|lvalue) of type .*|could not bind to (rvalue|lvalue) of incompatible type)
err_reference_bind_temporary_addrspace
Error
Semantic Issue
Empty Group
reference of type .* cannot bind to a temporary object because of address space mismatch
err_reference_bind_init_list
Error
Semantic Issue
Empty Group
reference to type .* cannot bind to an initializer list
err_init_list_bad_dest_type
Error
Semantic Issue
Empty Group
(|non-aggregate )type .* cannot be initialized with an initializer list
warn_cxx20_compat_aggregate_init_with_ctors
Warning
Semantic Issue
c++20-compat
aggregate initialization of type .* with user-declared constructors is incompatible with C\+\+20
err_reference_bind_to_bitfield
Error
Semantic Issue
Empty Group
(non-const|volatile) reference cannot bind to bit-field(| .*)
err_reference_bind_to_vector_element
Error
Semantic Issue
Empty Group
(non-const|volatile) reference cannot bind to vector element
err_reference_bind_to_matrix_element
Error
Semantic Issue
Empty Group
(non-const|volatile) reference cannot bind to matrix element
err_reference_var_requires_init
Error
Semantic Issue
Empty Group
declaration of reference variable .* requires an initializer
err_reference_without_init
Error
Semantic Issue
Empty Group
reference to type .* requires an initializer
note_value_initialization_here
Note
Semantic Issue
Empty Group
in value-initialization of type .* here
err_reference_has_multiple_inits
Error
Semantic Issue
Empty Group
reference cannot be initialized with multiple values
err_init_non_aggr_init_list
Error
Semantic Issue
Empty Group
initialization of non-aggregate type .* with an initializer list
err_init_reference_member_uninitialized
Error
Semantic Issue
Empty Group
reference member of type .* uninitialized
note_uninit_reference_member
Note
Semantic Issue
Empty Group
uninitialized reference member is here
warn_field_is_uninit
Warning
Semantic Issue
uninitialized
field .* is uninitialized when used here
warn_base_class_is_uninit
Warning
Semantic Issue
uninitialized
base class .* is uninitialized when used here to access .*
warn_reference_field_is_uninit
Warning
Semantic Issue
uninitialized
reference .* is not yet bound to a value when used here
note_uninit_in_this_constructor
Note
Semantic Issue
Empty Group
during field initialization in (this|the implicit default) constructor
warn_static_self_reference_in_init
Warning
Semantic Issue
static-self-init
static variable .* is suspiciously used within its own initialization
warn_uninit_self_reference_in_init
Warning
Semantic Issue
uninitialized
variable .* is uninitialized when used within its own initialization
warn_uninit_self_reference_in_reference_init
Warning
Semantic Issue
uninitialized
reference .* is not yet bound to a value when used within its own initialization
warn_uninit_var
Warning
Semantic Issue
uninitialized
variable .* is uninitialized when (used here|captured by block)
warn_sometimes_uninit_var
Warning
Semantic Issue
sometimes-uninitialized
variable .* is (used|captured) uninitialized whenever ('.*' condition is (true|false)|'.*' loop (is entered|exits because its condition is false)|'.*' loop (condition is true|exits because its condition is false)|switch .* is taken|its declaration is reached|.* is called)
warn_maybe_uninit_var
Warning
Semantic Issue
conditional-uninitialized
variable .* may be uninitialized when (used here|captured by block)
note_var_declared_here
Note
Semantic Issue
Empty Group
variable .* is declared here
note_uninit_var_use
Note
Semantic Issue
Empty Group
(uninitialized use occurs|variable is captured by block) here
warn_uninit_byref_blockvar_captured_by_block
Warning
Semantic Issue
uninitialized
block pointer variable .* is (uninitialized|null) when captured by block
note_block_var_fixit_add_initialization
Note
Semantic Issue
Empty Group
did you mean to use __block .*\?
note_in_omitted_aggregate_initializer
Note
Semantic Issue
Empty Group
in implicit initialization of (array element .* with omitted initializer|field .* with omitted initializer|trailing array elements in runtime-sized array new)
note_in_reference_temporary_list_initializer
Note
Semantic Issue
Empty Group
in initialization of temporary of type .* created to list-initialize this reference
note_var_fixit_add_initialization
Note
Semantic Issue
Empty Group
initialize the variable .* to silence this warning
note_uninit_fixit_remove_cond
Note
Semantic Issue
Empty Group
remove the ('.*' if its condition|condition if it) is always (false|true)
err_init_incomplete_type
Error
Semantic Issue
Empty Group
initialization of incomplete type .*
err_list_init_in_parens
Error
Semantic Issue
Empty Group
cannot initialize (non-class|reference) type .* with a parenthesized initializer list
warn_uninit_const_reference
Warning
Semantic Issue
uninitialized-const-reference
variable .* is uninitialized when passed as a const reference argument here
warn_unsequenced_mod_mod
Warning
Semantic Issue
unsequenced
multiple unsequenced modifications to .*
warn_unsequenced_mod_use
Warning
Semantic Issue
unsequenced
unsequenced modification and access to .*
err_temp_copy_no_viable
Error
Semantic Issue
Empty Group
no viable constructor (copying variable|copying parameter|returning object|initializing statement expression result|throwing object|copying member subobject|copying array element|allocating object|copying temporary|initializing base subobject|initializing vector element|capturing value) of type .*
ext_rvalue_to_reference_temp_copy_no_viable
Extension
Semantic Issue
bind-to-temporary-copy
no viable constructor (copying variable|copying parameter|returning object|initializing statement expression result|throwing object|copying member subobject|copying array element|allocating object|copying temporary|initializing base subobject|initializing vector element|capturing value) of type .*; C\+\+98 requires a copy constructor when binding a reference to a temporary
err_temp_copy_ambiguous
Error
Semantic Issue
Empty Group
ambiguous constructor call when (copying variable|copying parameter|returning object|initializing statement expression result|throwing object|copying member subobject|copying array element|allocating object|copying temporary|initializing base subobject|initializing vector element|capturing value) of type .*
err_temp_copy_deleted
Error
Semantic Issue
Empty Group
(copying variable|copying parameter|returning object|initializing statement expression result|throwing object|copying member subobject|copying array element|allocating object|copying temporary|initializing base subobject|initializing vector element|capturing value) of type .* invokes deleted constructor
err_temp_copy_incomplete
Error
Semantic Issue
Empty Group
copying a temporary object of incomplete type .*
warn_cxx98_compat_temp_copy
Warning
Semantic Issue
c++98-compat-bind-to-temporary-copy
(copying variable|copying parameter|returning object|initializing statement expression result|throwing object|copying member subobject|copying array element|allocating object|copying temporary|initializing base subobject|initializing vector element|capturing value) of type .* when binding a reference to a temporary would (invoke an inaccessible constructor|find no viable constructor|find ambiguous constructors|invoke a deleted constructor) in C\+\+98
err_selected_explicit_constructor
Error
Semantic Issue
Empty Group
chosen constructor is explicit in copy-initialization
note_explicit_ctor_deduction_guide_here
Note
Semantic Issue
Empty Group
explicit (constructor|deduction guide) declared here
err_decltype_in_declarator
Error
Semantic Issue
Empty Group
'decltype' cannot be used to name a declaration
warn_cxx98_compat_auto_type_specifier
Warning
Semantic Issue
c++98-compat
'auto' type specifier is incompatible with C\+\+98
err_auto_variable_cannot_appear_in_own_initializer
Error
Semantic Issue
Empty Group
variable .* declared with deduced type .* cannot appear in its own initializer
err_binding_cannot_appear_in_own_initializer
Error
Semantic Issue
Empty Group
binding .* cannot appear in the initializer of its own decomposition declaration
err_illegal_decl_array_of_auto
Error
Semantic Issue
Empty Group
'.*' declared as array of .*
err_new_array_of_auto
Error
Semantic Issue
Empty Group
cannot allocate array of 'auto'
err_auto_not_allowed
Error
Semantic Issue
Empty Group
('auto'|'decltype\(auto\)'|'__auto_type'|use of (class template|function template|variable template|alias template|template template parameter|concept|template) .* requires template arguments; argument deduction) not allowed (in function prototype|in non-static struct member|in struct member|in non-static union member|in union member|in non-static class member|in interface member|in exception declaration|in template parameter until C\+\+17|in block literal|in template argument|in typedef|in type alias|in function return type|in conversion function type|here|in lambda parameter|in type allocated by 'new'|in K&R-style function parameter|in template parameter|in friend declaration|in function prototype that is not a function declaration|in requires expression parameter)
err_dependent_deduced_tst
Error
Semantic Issue
Empty Group
typename specifier refers to (class template|function template|variable template|alias template|template template parameter|template) member in .*; argument deduction not allowed here
err_deduced_tst
Error
Semantic Issue
Empty Group
typename specifier refers to (class template|function template|variable template|alias template|template template parameter|template); argument deduction not allowed here
err_auto_not_allowed_var_inst
Error
Semantic Issue
Empty Group
'auto' variable template instantiation is not allowed
err_auto_var_requires_init
Error
Semantic Issue
Empty Group
declaration of variable .* with deduced type .* requires an initializer
err_auto_new_requires_ctor_arg
Error
Semantic Issue
Empty Group
new expression for type .* requires a constructor argument
ext_auto_new_list_init
Extension
Semantic Issue
c++17-extensions
ISO C\+\+ standards before C\+\+17 do not allow new expression for type .* to use list-initialization
err_auto_var_init_no_expression
Error
Semantic Issue
Empty Group
initializer for variable .* with type .* is empty
err_auto_var_init_multiple_expressions
Error
Semantic Issue
Empty Group
initializer for variable .* with type .* contains multiple expressions
err_auto_var_init_paren_braces
Error
Semantic Issue
Empty Group
cannot deduce type for variable .* with type .* from (parenthesized|nested) initializer list
err_auto_new_ctor_multiple_expressions
Error
Semantic Issue
Empty Group
new expression for type .* contains multiple constructor arguments
err_auto_missing_trailing_return
Error
Semantic Issue
Empty Group
'auto' return without trailing return type; deduced return types are a C\+\+14 extension
err_deduced_return_type
Error
Semantic Issue
Empty Group
deduced return types are a C\+\+14 extension
err_trailing_return_without_auto
Error
Semantic Issue
Empty Group
function with trailing return type must specify return type 'auto', not .*
err_trailing_return_in_parens
Error
Semantic Issue
Empty Group
trailing return type may not be nested within parentheses
err_auto_var_deduction_failure
Error
Semantic Issue
Empty Group
variable .* with type .* has incompatible initializer of type .*
err_auto_var_deduction_failure_from_init_list
Error
Semantic Issue
Empty Group
cannot deduce actual type for variable .* with type .* from initializer list
err_auto_new_deduction_failure
Error
Semantic Issue
Empty Group
new expression for type .* has incompatible constructor argument of type .*
err_auto_inconsistent_deduction
Error
Semantic Issue
Empty Group
deduced conflicting types (\(.* vs .*\) |)for initializer list element type
err_auto_different_deductions
Error
Semantic Issue
Empty Group
('auto'|'decltype\(auto\)'|'__auto_type'|template arguments) deduced as .* in declaration of .* and deduced as .* in declaration of .*
err_auto_non_deduced_not_alone
Error
Semantic Issue
Empty Group
(function with deduced return type|declaration with trailing return type) must be the only declaration in its group
err_implied_std_initializer_list_not_found
Error
Semantic Issue
Empty Group
cannot deduce type of initializer list because std::initializer_list was not found; include <initializer_list>
err_malformed_std_initializer_list
Error
Semantic Issue
Empty Group
std::initializer_list must be a class template with a single type parameter
err_auto_init_list_from_c
Error
Semantic Issue
Empty Group
cannot use __auto_type with initializer list in C
err_auto_bitfield
Error
Semantic Issue
Empty Group
cannot pass bit-field as __auto_type initializer in C
err_decltype_auto_invalid
Error
Semantic Issue
Empty Group
'decltype\(auto\)' not allowed here
err_decltype_auto_cannot_be_combined
Error
Semantic Issue
Empty Group
'decltype\(auto\)' cannot be combined with other type specifiers
err_decltype_auto_function_declarator_not_declaration
Error
Semantic Issue
Empty Group
'decltype\(auto\)' can only be used as a return type in a function declaration
err_decltype_auto_compound_type
Error
Semantic Issue
Empty Group
cannot form (pointer to|reference to|array of) 'decltype\(auto\)'
err_decltype_auto_initializer_list
Error
Semantic Issue
Empty Group
cannot deduce 'decltype\(auto\)' from initializer list
err_deduced_class_template_compound_type
Error
Semantic Issue
Empty Group
cannot (form pointer to|form reference to|form array of|form function returning|use parentheses when declaring variable with) deduced class template specialization type
err_deduced_non_class_template_specialization_type
Error
Semantic Issue
Empty Group
(<error>|function template|variable template|alias template|template template parameter|concept|template) .* requires template arguments; argument deduction only allowed for class templates
err_deduced_class_template_ctor_ambiguous
Error
Semantic Issue
Empty Group
ambiguous deduction for template arguments of .*
err_deduced_class_template_ctor_no_viable
Error
Semantic Issue
Empty Group
no viable constructor or deduction guide for deduction of template arguments of .*
err_deduced_class_template_incomplete
Error
Semantic Issue
Empty Group
template .* has no definition and no (|viable )deduction guides for deduction of template arguments
err_deduced_class_template_deleted
Error
Semantic Issue
Empty Group
class template argument deduction for .* selected a deleted constructor
err_deduced_class_template_explicit
Error
Semantic Issue
Empty Group
class template argument deduction for .* selected an explicit (constructor|deduction guide) for copy-list-initialization
err_deduction_guide_no_trailing_return_type
Error
Semantic Issue
Empty Group
deduction guide declaration without trailing return type
err_deduction_guide_bad_trailing_return_type
Error
Semantic Issue
Empty Group
deduced type .* of deduction guide is not (|written as )a specialization of template .*
err_deduction_guide_with_complex_decl
Error
Semantic Issue
Empty Group
cannot specify any part of a return type in the declaration of a deduction guide
err_deduction_guide_invalid_specifier
Error
Semantic Issue
Empty Group
deduction guide cannot be declared '.*'
err_deduction_guide_name_not_class_template
Error
Semantic Issue
Empty Group
cannot specify deduction guide for (<error>|function template|variable template|alias template|template template parameter|concept|dependent template name) .*
err_deduction_guide_wrong_scope
Error
Semantic Issue
Empty Group
deduction guide must be declared in the same scope as template .*
err_deduction_guide_defines_function
Error
Semantic Issue
Empty Group
deduction guide cannot have a function definition
err_deduction_guide_redeclared
Error
Semantic Issue
Empty Group
redeclaration of deduction guide
err_deduction_guide_specialized
Error
Semantic Issue
Empty Group
deduction guide cannot be (explicitly instantiated|explicitly specialized)
err_deduction_guide_template_not_deducible
Error
Semantic Issue
Empty Group
deduction guide template contains (a template parameter|template parameters) that cannot be deduced
err_deduction_guide_wrong_access
Error
Semantic Issue
Empty Group
deduction guide has different access from the corresponding member template
note_deduction_guide_template_access
Note
Semantic Issue
Empty Group
member template declared .* here
note_deduction_guide_access
Note
Semantic Issue
Empty Group
deduction guide declared .* by intervening access specifier
warn_cxx14_compat_class_template_argument_deduction
Warning
Semantic Issue
c++98-c++11-c++14-compat
class template argument deduction is incompatible with C\+\+ standards before C\+\+17(|; for compatibility, use explicit type name .*)
warn_ctad_maybe_unsupported
Warning
Semantic Issue
ctad-maybe-unsupported
.* may not intend to support class template argument deduction
note_suppress_ctad_maybe_unsupported
Note
Semantic Issue
Empty Group
add a deduction guide to suppress this warning
err_auto_fn_deduction_failure
Error
Semantic Issue
Empty Group
cannot deduce return type .* from returned value of type .*
err_auto_fn_different_deductions
Error
Semantic Issue
Empty Group
'(auto|decltype\(auto\))' in return type deduced as .* here but deduced as .* in earlier return statement
err_auto_fn_used_before_defined
Error
Semantic Issue
Empty Group
function .* with deduced return type cannot be used before it is defined
err_auto_fn_no_return_but_not_auto
Error
Semantic Issue
Empty Group
cannot deduce return type .* for function with no return statements
err_auto_fn_return_void_but_not_auto
Error
Semantic Issue
Empty Group
cannot deduce return type .* from omitted return expression
err_auto_fn_return_init_list
Error
Semantic Issue
Empty Group
cannot deduce return type from initializer list
err_auto_fn_virtual
Error
Semantic Issue
Empty Group
function with deduced return type cannot be virtual
warn_cxx11_compat_deduced_return_type
Warning
Semantic Issue
c++98-c++11-compat
return type deduction is incompatible with C\+\+ standards before C\+\+14
override_keyword_only_allowed_on_virtual_member_functions
Error
Semantic Issue
Empty Group
only virtual member functions can be marked '.*'
override_keyword_hides_virtual_member_function
Error
Semantic Issue
Empty Group
non-virtual member function marked '.*' hides virtual member (function|functions)
err_function_marked_override_not_overriding
Error
Semantic Issue
Empty Group
.* marked 'override' but does not override any member functions
warn_inconsistent_destructor_marked_not_override_overriding
Warning
Semantic Issue
inconsistent-missing-destructor-override
.* overrides a destructor but is not marked 'override'
warn_inconsistent_function_marked_not_override_overriding
Warning
Semantic Issue
inconsistent-missing-override
.* overrides a member function but is not marked 'override'
warn_suggest_destructor_marked_not_override_overriding
Warning
Semantic Issue
suggest-destructor-override
.* overrides a destructor but is not marked 'override'
warn_suggest_function_marked_not_override_overriding
Warning
Semantic Issue
suggest-override
.* overrides a member function but is not marked 'override'
err_class_marked_final_used_as_base
Error
Semantic Issue
Empty Group
base .* is marked '(final|sealed)'
warn_abstract_final_class
Warning
Semantic Issue
abstract-final-class
abstract class is marked '(final|sealed)'
warn_final_dtor_non_final_class
Warning
Semantic Issue
final-dtor-non-final-class
class with destructor marked '(final|sealed)' cannot be inherited from
note_final_dtor_non_final_class_silence
Note
Semantic Issue
Empty Group
mark .* as '(final|sealed)' to silence this warning
err_repeat_attribute
Error
Semantic Issue
Empty Group
.* attribute cannot be repeated
err_final_function_overridden
Error
Semantic Issue
Empty Group
declaration of .* overrides a '(final|sealed)' function
err_enum_invalid_underlying
Error
Semantic Issue
Empty Group
non-integral type .* is an invalid underlying type
err_enumerator_too_large
Error
Semantic Issue
Empty Group
enumerator value is not representable in the underlying type .*
ext_enumerator_too_large
Extension
Semantic Issue
microsoft-enum-value
enumerator value is not representable in the underlying type .*
err_enumerator_wrapped
Error
Semantic Issue
Empty Group
enumerator value .* is not representable in the underlying type .*
err_enum_redeclare_type_mismatch
Error
Semantic Issue
Empty Group
enumeration redeclared with different underlying type .* \(was .*\)
err_enum_redeclare_fixed_mismatch
Error
Semantic Issue
Empty Group
enumeration previously declared with (non|)fixed underlying type
err_enum_redeclare_scoped_mismatch
Error
Semantic Issue
Empty Group
enumeration previously declared as (un|)scoped
err_only_enums_have_underlying_types
Error
Semantic Issue
Empty Group
only enumeration types have underlying types
err_underlying_type_of_incomplete_enum
Error
Semantic Issue
Empty Group
cannot determine underlying type of incomplete enumeration type .*
err_delegating_ctor
Error
Semantic Issue
Empty Group
delegating constructors are permitted only in C\+\+11
warn_cxx98_compat_delegating_ctor
Warning
Semantic Issue
c++98-compat
delegating constructors are incompatible with C\+\+98
err_delegating_initializer_alone
Error
Semantic Issue
Empty Group
an initializer for a delegating constructor must appear alone
warn_delegating_ctor_cycle
Warning
Semantic Issue
delegating-ctor-cycles
constructor for .* creates a delegation cycle
note_it_delegates_to
Note
Semantic Issue
Empty Group
it delegates to
note_which_delegates_to
Note
Semantic Issue
Empty Group
which delegates to
err_for_range_decl_must_be_var
Error
Semantic Issue
Empty Group
for range declaration must declare a variable
err_for_range_storage_class
Error
Semantic Issue
Empty Group
loop variable .* may not be declared ('extern'|'static'|'__private_extern__'|'auto'|'register'|'constexpr')
err_type_defined_in_for_range
Error
Semantic Issue
Empty Group
types may not be defined in a for range declaration
err_for_range_deduction_failure
Error
Semantic Issue
Empty Group
cannot use type .* as a range
err_for_range_incomplete_type
Error
Semantic Issue
Empty Group
cannot use incomplete type .* as a range
err_for_range_iter_deduction_failure
Error
Semantic Issue
Empty Group
cannot use type .* as an iterator
ext_for_range_begin_end_types_differ
ExtWarn
Semantic Issue
c++17-extensions
'begin' and 'end' returning different types \(.* and .*\) is a C\+\+17 extension
warn_for_range_begin_end_types_differ
Warning
Semantic Issue
c++98-c++11-c++14-compat
'begin' and 'end' returning different types \(.* and .*\) is incompatible with C\+\+ standards before C\+\+17
note_in_for_range
Note
Semantic Issue
Empty Group
when looking up '(begin|end)' function for range expression of type .*
err_for_range_invalid
Error
Semantic Issue
Empty Group
invalid range expression of type .*; no viable '(begin|end)' function available
note_for_range_member_begin_end_ignored
Note
Semantic Issue
Empty Group
member is not a candidate because range type .* has no '(end|begin)' member
err_range_on_array_parameter
Error
Semantic Issue
Empty Group
cannot build range expression with array function parameter .* since parameter with array type .* is treated as pointer type .*
err_for_range_dereference
Error
Semantic Issue
Empty Group
invalid range expression of type .*; did you mean to dereference it with '\*'\?
note_for_range_invalid_iterator
Note
Semantic Issue
Empty Group
in implicit call to 'operator(!=|\*|\+\+)' for iterator of type .*
note_for_range_begin_end
Note
Semantic Issue
Empty Group
selected '(begin|end)' (function|template ).* with iterator type .*
warn_for_range_const_ref_binds_temp_built_from_ref
Warning
Semantic Issue
range-loop-construct
loop variable .* (of type .* binds to a temporary constructed from type .*|binds to a temporary constructed from a different type)
note_use_type_or_non_reference
Note
Semantic Issue
Empty Group
use non-reference type .* to make construction explicit or type .* to prevent copying
warn_for_range_ref_binds_ret_temp
Warning
Semantic Issue
range-loop-bind-reference
loop variable .* binds to a temporary value produced by a range of type .*
note_use_non_reference_type
Note
Semantic Issue
Empty Group
use non-reference type .*
warn_for_range_copy
Warning
Semantic Issue
range-loop-construct
loop variable .* creates a copy from type .*
note_use_reference_type
Note
Semantic Issue
Empty Group
use reference type .* to prevent copying
err_objc_for_range_init_stmt
Error
Semantic Issue
Empty Group
initialization statement is not supported when iterating over Objective-C collection
warn_cxx98_compat_constexpr
Warning
Semantic Issue
c++98-compat
'constexpr' specifier is incompatible with C\+\+98
warn_cxx14_compat_constexpr_not_const
Warning
Semantic Issue
constexpr-not-const
'constexpr' non-static member function will not be implicitly 'const' in C\+\+14; add 'const' to avoid a change in behavior
err_invalid_consteval_take_address
Error
Semantic Issue
Empty Group
cannot take address of consteval function .* outside of an immediate invocation
err_invalid_consteval_call
Error
Semantic Issue
Empty Group
call to consteval function .* is not a constant expression
err_invalid_consteval_decl_kind
Error
Semantic Issue
Empty Group
.* cannot be declared consteval
err_invalid_constexpr
Error
Semantic Issue
Empty Group
(function parameter|typedef) cannot be (<ERROR>|constexpr|consteval|constinit)
err_invalid_constexpr_member
Error
Semantic Issue
Empty Group
non-static data member cannot be constexpr(; did you intend to make it (const|static)\?|)
err_constexpr_tag
Error
Semantic Issue
Empty Group
(class|struct|interface|union|enum) cannot be marked (<ERROR>|constexpr|consteval|constinit)
err_constexpr_dtor
Error
Semantic Issue
Empty Group
destructor cannot be declared (<ERROR>|constexpr|consteval|constinit)
err_constexpr_dtor_subobject
Error
Semantic Issue
Empty Group
destructor cannot be declared (<ERROR>|constexpr|consteval|constinit) because (data member .*|base class .*) does not have a constexpr destructor
note_constexpr_dtor_subobject
Note
Semantic Issue
Empty Group
(data member .*|base class .*) declared here
err_constexpr_wrong_decl_kind
Error
Semantic Issue
Empty Group
(<ERROR>|constexpr|consteval|constinit) can only be used in (|variable and function|function|variable) declarations
err_invalid_constexpr_var_decl
Error
Semantic Issue
Empty Group
constexpr variable declaration must be a definition
err_constexpr_static_mem_var_requires_init
Error
Semantic Issue
Empty Group
declaration of constexpr static data member .* requires an initializer
err_constexpr_var_non_literal
Error
Semantic Issue
Empty Group
constexpr variable cannot have non-literal type .*
err_constexpr_var_requires_const_init
Error
Semantic Issue
Empty Group
constexpr variable .* must be initialized by a constant expression
err_constexpr_var_requires_const_destruction
Error
Semantic Issue
Empty Group
constexpr variable .* must have constant destruction
err_constexpr_redecl_mismatch
Error
Semantic Issue
Empty Group
(non-constexpr|constexpr|consteval) declaration of .* follows (non-constexpr|constexpr|consteval) declaration
err_constexpr_virtual
Error
Semantic Issue
Empty Group
virtual function cannot be constexpr
warn_cxx17_compat_constexpr_virtual
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
virtual constexpr functions are incompatible with C\+\+ standards before C\+\+20
err_constexpr_virtual_base
Error
Semantic Issue
Empty Group
constexpr (member function|constructor) not allowed in (struct|interface|class) with virtual base (class|classes)
note_non_literal_incomplete
Note
Semantic Issue
Empty Group
incomplete type .* is not a literal type
note_non_literal_virtual_base
Note
Semantic Issue
Empty Group
(struct|interface|class) with virtual base (class|classes) is not a literal type
note_constexpr_virtual_base_here
Note
Semantic Issue
Empty Group
virtual base class declared here
err_constexpr_non_literal_return
Error
Semantic Issue
Empty Group
(constexpr|consteval) function's return type .* is not a literal type
err_constexpr_non_literal_param
Error
Semantic Issue
Empty Group
(constexpr|consteval) (function|constructor)'s .* parameter type .* is not a literal type
err_constexpr_body_invalid_stmt
Error
Semantic Issue
Empty Group
statement not allowed in (constexpr|consteval) (function|constructor)
ext_constexpr_body_invalid_stmt
ExtWarn
Semantic Issue
c++14-extensions
use of this statement in a constexpr (function|constructor) is a C\+\+14 extension
warn_cxx11_compat_constexpr_body_invalid_stmt
Warning
Semantic Issue
c++98-c++11-compat
use of this statement in a constexpr (function|constructor) is incompatible with C\+\+ standards before C\+\+14
ext_constexpr_body_invalid_stmt_cxx20
ExtWarn
Semantic Issue
c++20-extensions
use of this statement in a constexpr (function|constructor) is a C\+\+20 extension
warn_cxx17_compat_constexpr_body_invalid_stmt
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
use of this statement in a constexpr (function|constructor) is incompatible with C\+\+ standards before C\+\+20
ext_constexpr_type_definition
ExtWarn
Semantic Issue
c++14-extensions
type definition in a constexpr (function|constructor) is a C\+\+14 extension
warn_cxx11_compat_constexpr_type_definition
Warning
Semantic Issue
c++98-c++11-compat
type definition in a constexpr (function|constructor) is incompatible with C\+\+ standards before C\+\+14
err_constexpr_vla
Error
Semantic Issue
Empty Group
variably-modified type .* cannot be used in a constexpr (function|constructor)
ext_constexpr_local_var
ExtWarn
Semantic Issue
c++14-extensions
variable declaration in a constexpr (function|constructor) is a C\+\+14 extension
warn_cxx11_compat_constexpr_local_var
Warning
Semantic Issue
c++98-c++11-compat
variable declaration in a constexpr (function|constructor) is incompatible with C\+\+ standards before C\+\+14
err_constexpr_local_var_static
Error
Semantic Issue
Empty Group
(static|thread_local) variable not permitted in a constexpr (function|constructor)
err_constexpr_local_var_non_literal_type
Error
Semantic Issue
Empty Group
variable of non-literal type .* cannot be defined in a constexpr (function|constructor)
ext_constexpr_local_var_no_init
ExtWarn
Semantic Issue
c++20-extensions
uninitialized variable in a constexpr (function|constructor) is a C\+\+20 extension
warn_cxx17_compat_constexpr_local_var_no_init
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
uninitialized variable in a constexpr (function|constructor) is incompatible with C\+\+ standards before C\+\+20
ext_constexpr_function_never_constant_expr
ExtWarn
Semantic Issue
invalid-constexpr
(constexpr|consteval) (function|constructor) never produces a constant expression
err_attr_cond_never_constant_expr
Error
Semantic Issue
Empty Group
.* attribute expression never produces a constant expression
err_diagnose_if_invalid_diagnostic_type
Error
Semantic Issue
Empty Group
invalid diagnostic type for 'diagnose_if'; use \"error\" or \"warning\" instead
err_constexpr_body_no_return
Error
Semantic Issue
Empty Group
no return statement in (constexpr|consteval) function
err_constexpr_return_missing_expr
Error
Semantic Issue
Empty Group
non-void (constexpr|consteval) function .* should return a value
warn_cxx11_compat_constexpr_body_no_return
Warning
Semantic Issue
c++98-c++11-compat
constexpr function with no return statements is incompatible with C\+\+ standards before C\+\+14
ext_constexpr_body_multiple_return
ExtWarn
Semantic Issue
c++14-extensions
multiple return statements in constexpr function is a C\+\+14 extension
warn_cxx11_compat_constexpr_body_multiple_return
Warning
Semantic Issue
c++98-c++11-compat
multiple return statements in constexpr function is incompatible with C\+\+ standards before C\+\+14
note_constexpr_body_previous_return
Note
Semantic Issue
Empty Group
previous return statement is here
ext_constexpr_function_try_block_cxx20
ExtWarn
Semantic Issue
c++20-extensions
function try block in constexpr (function|constructor) is a C\+\+20 extension
warn_cxx17_compat_constexpr_function_try_block
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
function try block in constexpr (function|constructor) is incompatible with C\+\+ standards before C\+\+20
ext_constexpr_union_ctor_no_init
ExtWarn
Semantic Issue
c++20-extensions
constexpr union constructor that does not initialize any member is a C\+\+20 extension
warn_cxx17_compat_constexpr_union_ctor_no_init
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
constexpr union constructor that does not initialize any member is incompatible with C\+\+ standards before C\+\+20
ext_constexpr_ctor_missing_init
ExtWarn
Semantic Issue
c++20-extensions
constexpr constructor that does not initialize all members is a C\+\+20 extension
warn_cxx17_compat_constexpr_ctor_missing_init
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
constexpr constructor that does not initialize all members is incompatible with C\+\+ standards before C\+\+20
note_constexpr_ctor_missing_init
Note
Semantic Issue
Empty Group
member not initialized by constructor
note_non_literal_no_constexpr_ctors
Note
Semantic Issue
Empty Group
.* is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
note_non_literal_base_class
Note
Semantic Issue
Empty Group
.* is not literal because it has base class .* of non-literal type
note_non_literal_field
Note
Semantic Issue
Empty Group
.* is not literal because it has data member .* of (non-literal|volatile) type .*
note_non_literal_user_provided_dtor
Note
Semantic Issue
Empty Group
.* is not literal because it has a user-provided destructor
note_non_literal_nontrivial_dtor
Note
Semantic Issue
Empty Group
.* is not literal because it has a non-trivial destructor
note_non_literal_non_constexpr_dtor
Note
Semantic Issue
Empty Group
.* is not literal because its destructor is not constexpr
note_non_literal_lambda
Note
Semantic Issue
Empty Group
lambda closure types are non-literal types before C\+\+17
warn_private_extern
Warning
Semantic Issue
private-extern
use of __private_extern__ on a declaration may not produce external symbol private to the linkage unit and is deprecated
note_private_extern
Note
Semantic Issue
Empty Group
use __attribute__\(\(visibility\(\"hidden\"\)\)\) attribute instead
err_concept_decls_may_only_appear_in_global_namespace_scope
Error
Semantic Issue
Empty Group
concept declarations may only appear in global or namespace scope
err_concept_no_parameters
Error
Semantic Issue
Empty Group
concept template parameter list must have at least one parameter; explicit specialization of concepts is not allowed
err_concept_extra_headers
Error
Semantic Issue
Empty Group
extraneous template parameter list in concept definition
err_concept_no_associated_constraints
Error
Semantic Issue
Empty Group
concept cannot have associated constraints
err_non_constant_constraint_expression
Error
Semantic Issue
Empty Group
substitution into constraint expression resulted in a non-constant expression
err_non_bool_atomic_constraint
Error
Semantic Issue
Empty Group
atomic constraint must be of type 'bool' \(found .*\)
err_template_arg_list_constraints_not_satisfied
Error
Semantic Issue
Empty Group
constraints not satisfied for (class template|function template|variable template|alias template|template template parameter|template) .*.*
note_substituted_constraint_expr_is_ill_formed
Note
Semantic Issue
Empty Group
because substituted constraint expression is ill-formed.*
note_atomic_constraint_evaluated_to_false
Note
Semantic Issue
Empty Group
(and|because) '.*' evaluated to false
note_concept_specialization_constraint_evaluated_to_false
Note
Semantic Issue
Empty Group
(and|because) '.*' evaluated to false
note_single_arg_concept_specialization_constraint_evaluated_to_false
Note
Semantic Issue
Empty Group
(and|because) .* does not satisfy .*
note_atomic_constraint_evaluated_to_false_elaborated
Note
Semantic Issue
Empty Group
(and|because) '.*' \(.* .* .*\) evaluated to false
err_constrained_virtual_method
Error
Semantic Issue
Empty Group
virtual function cannot have a requires clause
err_trailing_requires_clause_on_deduction_guide
Error
Semantic Issue
Empty Group
deduction guide cannot have a requires clause
err_reference_to_function_with_unsatisfied_constraints
Error
Semantic Issue
Empty Group
invalid reference to function .*: constraints not satisfied
err_requires_expr_local_parameter_default_argument
Error
Semantic Issue
Empty Group
default arguments not allowed for parameters of a requires expression
err_requires_expr_parameter_referenced_in_evaluated_context
Error
Semantic Issue
Empty Group
constraint variable .* cannot be used in an evaluated context
note_expr_requirement_expr_substitution_error
Note
Semantic Issue
Empty Group
(and|because) '.*' would be invalid: .*
note_expr_requirement_expr_unknown_substitution_error
Note
Semantic Issue
Empty Group
(and|because) '.*' would be invalid
note_expr_requirement_noexcept_not_met
Note
Semantic Issue
Empty Group
(and|because) '.*' may throw an exception
note_expr_requirement_type_requirement_substitution_error
Note
Semantic Issue
Empty Group
(and|because) '.*' would be invalid: .*
note_expr_requirement_type_requirement_unknown_substitution_error
Note
Semantic Issue
Empty Group
(and|because) '.*' would be invalid
note_expr_requirement_constraints_not_satisfied
Note
Semantic Issue
Empty Group
(and|because) type constraint '.*' was not satisfied:
note_expr_requirement_constraints_not_satisfied_simple
Note
Semantic Issue
Empty Group
(and|because) .* does not satisfy .*:
note_type_requirement_substitution_error
Note
Semantic Issue
Empty Group
(and|because) '.*' would be invalid: .*
note_type_requirement_unknown_substitution_error
Note
Semantic Issue
Empty Group
(and|because) '.*' would be invalid
note_nested_requirement_substitution_error
Note
Semantic Issue
Empty Group
(and|because) '.*' would be invalid: .*
note_nested_requirement_unknown_substitution_error
Note
Semantic Issue
Empty Group
(and|because) '.*' would be invalid
note_ambiguous_atomic_constraints
Note
Semantic Issue
Empty Group
similar constraint expressions not considered equivalent; constraint expressions cannot be considered equivalent unless they originate from the same concept
note_ambiguous_atomic_constraints_similar_expression
Note
Semantic Issue
Empty Group
similar constraint expression here
err_unsupported_placeholder_constraint
Error
Semantic Issue
Empty Group
constrained placeholder types other than simple 'auto' on non-type template parameters not supported yet
err_template_different_requires_clause
Error
Semantic Issue
Empty Group
requires clause differs in template redeclaration
err_template_different_type_constraint
Error
Semantic Issue
Empty Group
type constraint differs in template redeclaration
err_template_template_parameter_not_at_least_as_constrained
Error
Semantic Issue
Empty Group
template template argument .* is more constrained than template template parameter .*
err_type_constraint_non_type_concept
Error
Semantic Issue
Empty Group
concept named in type constraint is not a type concept
err_type_constraint_missing_arguments
Error
Semantic Issue
Empty Group
.* requires more than 1 template argument; provide the remaining arguments explicitly to use it here
err_placeholder_constraints_not_satisfied
Error
Semantic Issue
Empty Group
deduced type .* does not satisfy .*
warn_cxx98_compat_unicode_type
Warning
Semantic Issue
c++98-compat
'.*' type specifier is incompatible with C\+\+98
warn_cxx17_compat_unicode_type
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
'char8_t' type specifier is incompatible with C\+\+ standards before C\+\+20
err_integer_sequence_negative_length
Error
Semantic Issue
Empty Group
integer sequences must have non-negative sequence length
err_integer_sequence_integral_element_type
Error
Semantic Issue
Empty Group
integer sequences must have integral element type
err_type_pack_element_out_of_bounds
Error
Semantic Issue
Empty Group
a parameter pack may not be accessed at an out of bounds index
err_objc_decls_may_only_appear_in_global_scope
Error
Semantic Issue
Empty Group
Objective-C declarations may only appear in global scope
warn_auto_var_is_id
Warning
Semantic Issue
auto-var-id
'auto' deduced as 'id' in declaration of .*
warn_nomerge_attribute_ignored_in_stmt
Warning
Semantic Issue
ignored-attributes
.* attribute is ignored because there exists no call expression inside the statement
err_nsobject_attribute
Error
Semantic Issue
Empty Group
'NSObject' attribute is for pointer types only
err_attributes_are_not_compatible
Error
Semantic Issue
Empty Group
.* and .* attributes are not compatible
err_attribute_invalid_argument
Error
Semantic Issue
Empty Group
(a reference type|an array type|a non-vector or non-vectorizable scalar type) is an invalid argument to attribute .*
err_attribute_wrong_number_arguments
Error
Semantic Issue
Empty Group
.* attribute (takes no arguments|takes one argument|requires exactly .* arguments)
err_attribute_too_many_arguments
Error
Semantic Issue
Empty Group
.* attribute takes no more than .* argument.*
err_attribute_too_few_arguments
Error
Semantic Issue
Empty Group
.* attribute takes at least .* argument.*
err_attribute_invalid_vector_type
Error
Semantic Issue
Empty Group
invalid vector element type .*
err_attribute_invalid_matrix_type
Error
Semantic Issue
Empty Group
invalid matrix element type .*
err_attribute_bad_neon_vector_size
Error
Semantic Issue
Empty Group
Neon vector size must be 64 or 128 bits
err_attribute_invalid_sve_type
Error
Semantic Issue
Empty Group
.* attribute applied to non-SVE type .*
err_attribute_bad_sve_vector_size
Error
Semantic Issue
Empty Group
invalid SVE vector size '.*', must match value set by '-msve-vector-bits' \('.*'\)
err_attribute_arm_feature_sve_bits_unsupported
Error
Semantic Issue
Empty Group
.* is only supported when '-msve-vector-bits=<bits>' is specified with a value of 128, 256, 512, 1024 or 2048\.
err_attribute_requires_positive_integer
Error
Semantic Issue
Empty Group
.* attribute requires a (positive|non-negative) integral compile time constant expression
err_attribute_requires_opencl_version
Error
Semantic Issue
Empty Group
.* attribute requires OpenCL version .*(| or above)
err_invalid_branch_protection_spec
Error
Semantic Issue
Empty Group
invalid or misplaced branch protection specification '.*'
warn_unsupported_target_attribute
Warning
Semantic Issue
ignored-attributes
(unsupported|duplicate|unknown)(| architecture| tune CPU) '.*' in the 'target' attribute string; 'target' attribute ignored
err_attribute_unsupported
Error
Semantic Issue
Empty Group
.* attribute is not supported for this target
err_aligned_attribute_argument_not_int
Error
Semantic Issue
Empty Group
'aligned' attribute requires integer constant
err_align_value_attribute_argument_not_int
Error
Semantic Issue
Empty Group
'align_value' attribute requires integer constant
err_alignas_attribute_wrong_decl_type
Error
Semantic Issue
Empty Group
.* attribute cannot be applied to a (function parameter|variable with 'register' storage class|'catch' variable|bit-field)
err_alignas_missing_on_definition
Error
Semantic Issue
Empty Group
.* must be specified on definition if it is specified on any declaration
note_alignas_on_declaration
Note
Semantic Issue
Empty Group
declared with .* attribute here
err_alignas_mismatch
Error
Semantic Issue
Empty Group
redeclaration has different alignment requirement \(.* vs .*\)
err_alignas_underaligned
Error
Semantic Issue
Empty Group
requested alignment is less than minimum alignment of .* for type .*
err_attribute_sizeless_type
Error
Semantic Issue
Empty Group
.* attribute cannot be applied to sizeless type .*
err_attribute_argument_n_type
Error
Semantic Issue
Empty Group
.* attribute requires parameter .* to be (int or bool|an integer constant|a string|an identifier)
err_attribute_argument_type
Error
Semantic Issue
Empty Group
.* attribute requires (int or bool|an integer constant|a string|an identifier)
err_attribute_argument_out_of_range
Error
Semantic Issue
Empty Group
.* attribute requires integer constant between .* and .* inclusive
err_init_priority_object_attr
Error
Semantic Issue
Empty Group
can only use 'init_priority' attribute on file-scope definitions of objects of class type
err_attribute_argument_out_of_bounds
Error
Semantic Issue
Empty Group
.* attribute parameter .* is out of bounds
err_attribute_only_once_per_parameter
Error
Semantic Issue
Empty Group
.* attribute can only be applied once per parameter
err_mismatched_uuid
Error
Semantic Issue
Empty Group
uuid does not match previous declaration
note_previous_uuid
Note
Semantic Issue
Empty Group
previous uuid specified here
warn_attribute_pointers_only
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to(| constant) pointer arguments
err_attribute_pointers_only
Error
Semantic Issue
Empty Group
warn_attribute_pointers_only\.Text
err_attribute_integers_only
Error
Semantic Issue
Empty Group
.* attribute argument may only refer to a function parameter of integer type
warn_attribute_return_pointers_only
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to return values that are pointers
warn_attribute_return_pointers_refs_only
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to return values that are pointers or references
warn_attribute_pointer_or_reference_only
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to a pointer or reference \(.* is invalid\)
err_attribute_no_member_pointers
Error
Semantic Issue
Empty Group
.* attribute cannot be used with pointers to members
err_attribute_invalid_implicit_this_argument
Error
Semantic Issue
Empty Group
.* attribute is invalid for the implicit this argument
err_ownership_type
Error
Semantic Issue
Empty Group
.* attribute only applies to (pointer|integer) arguments
err_ownership_returns_index_mismatch
Error
Semantic Issue
Empty Group
'ownership_returns' attribute index does not match; here it is .*
note_ownership_returns_index_mismatch
Note
Semantic Issue
Empty Group
declared with index .* here
err_format_strftime_third_parameter
Error
Semantic Issue
Empty Group
strftime format attribute requires 3rd parameter to be 0
err_format_attribute_requires_variadic
Error
Semantic Issue
Empty Group
format attribute requires variadic function
err_format_attribute_not
Error
Semantic Issue
Empty Group
format argument not .*
err_format_attribute_result_not
Error
Semantic Issue
Empty Group
function does not return .*
err_format_attribute_implicit_this_format_string
Error
Semantic Issue
Empty Group
format attribute cannot specify the implicit this argument as the format string
err_callback_attribute_no_callee
Error
Semantic Issue
Empty Group
'callback' attribute specifies no callback callee
err_callback_attribute_invalid_callee
Error
Semantic Issue
Empty Group
'callback' attribute specifies invalid callback callee
err_callback_attribute_multiple
Error
Semantic Issue
Empty Group
multiple 'callback' attributes specified
err_callback_attribute_argument_unknown
Error
Semantic Issue
Empty Group
'callback' attribute argument .* is not a known function parameter
err_callback_callee_no_function_type
Error
Semantic Issue
Empty Group
'callback' attribute callee does not have function type
err_callback_callee_is_variadic
Error
Semantic Issue
Empty Group
'callback' attribute callee may not be variadic
err_callback_implicit_this_not_available
Error
Semantic Issue
Empty Group
'callback' argument at position .* references unavailable implicit 'this'
err_init_method_bad_return_type
Error
Semantic Issue
Empty Group
init methods must return an object pointer type, not .*
err_attribute_invalid_size
Error
Semantic Issue
Empty Group
vector size not an integral multiple of component size
err_attribute_zero_size
Error
Semantic Issue
Empty Group
zero .* size
err_attribute_size_too_large
Error
Semantic Issue
Empty Group
.* size too large
err_typecheck_vector_not_convertable_sizeless
Error
Semantic Issue
Empty Group
cannot convert between a fixed-length and a sizeless vector \(.* and .*\)
err_typecheck_vector_not_convertable_implict_truncation
Error
Semantic Issue
Empty Group
cannot convert between (scalar|vector) type .* and vector type .* as implicit conversion would cause truncation
err_typecheck_vector_not_convertable
Error
Semantic Issue
Empty Group
cannot convert between vector values of different size \(.* and .*\)
err_typecheck_vector_not_convertable_non_scalar
Error
Semantic Issue
Empty Group
cannot convert between vector and non-scalar values \(.* and .*\)
err_typecheck_vector_lengths_not_equal
Error
Semantic Issue
Empty Group
vector operands do not have the same number of elements \(.* and .*\)
warn_typecheck_vector_element_sizes_not_equal
Warning
Semantic Issue
vec-elem-size
vector operands do not have the same elements sizes \(.* and .*\)
err_ext_vector_component_exceeds_length
Error
Semantic Issue
Empty Group
vector component access exceeds type .*
err_ext_vector_component_name_illegal
Error
Semantic Issue
Empty Group
illegal vector component name '.*'
err_attribute_address_space_negative
Error
Semantic Issue
Empty Group
address space is negative
err_attribute_address_space_too_high
Error
Semantic Issue
Empty Group
address space is larger than the maximum supported \(.*\)
err_attribute_address_multiple_qualifiers
Error
Semantic Issue
Empty Group
multiple address spaces specified for type
warn_attribute_address_multiple_identical_qualifiers
Warning
Semantic Issue
duplicate-decl-specifier
multiple identical address spaces specified for type
err_attribute_not_clinkage
Error
Semantic Issue
Empty Group
function type with .* attribute must have C linkage
err_function_decl_cmse_ns_call
Error
Semantic Issue
Empty Group
functions may not be declared with 'cmse_nonsecure_call' attribute
err_attribute_address_function_type
Error
Semantic Issue
Empty Group
function type may not be qualified with an address space
err_as_qualified_auto_decl
Error
Semantic Issue
Empty Group
automatic variable qualified with an(| invalid) address space
err_arg_with_address_space
Error
Semantic Issue
Empty Group
parameter may not be qualified with an address space
err_field_with_address_space
Error
Semantic Issue
Empty Group
field may not be qualified with an address space
err_compound_literal_with_address_space
Error
Semantic Issue
Empty Group
compound literal in function scope may not be qualified with an address space
err_address_space_mismatch_templ_inst
Error
Semantic Issue
Empty Group
conflicting address space qualifiers are provided between types .* and .*
err_attr_objc_ownership_redundant
Error
Semantic Issue
Empty Group
the type .* is already explicitly ownership-qualified
err_invalid_nsnumber_type
Error
Semantic Issue
Empty Group
.* is not a valid literal type for NSNumber
err_objc_illegal_boxed_expression_type
Error
Semantic Issue
Empty Group
illegal type .* used in a boxed expression
err_objc_non_trivially_copyable_boxed_expression_type
Error
Semantic Issue
Empty Group
non-trivially copyable type .* cannot be used in a boxed expression
err_objc_incomplete_boxed_expression_type
Error
Semantic Issue
Empty Group
incomplete type .* used in a boxed expression
err_undeclared_objc_literal_class
Error
Semantic Issue
Empty Group
definition of class .* must be available to use Objective-C (array literals|dictionary literals|numeric literals|boxed expressions|string literals)
err_undeclared_boxing_method
Error
Semantic Issue
Empty Group
declaration of .* is missing in .* class
err_objc_literal_method_sig
Error
Semantic Issue
Empty Group
literal construction method .* has incompatible signature
note_objc_literal_method_param
Note
Semantic Issue
Empty Group
(first|second|third) parameter has unexpected type .* \(should be .*\)
note_objc_literal_method_return
Note
Semantic Issue
Empty Group
method returns unexpected type .* \(should be an object type\)
err_invalid_collection_element
Error
Semantic Issue
Empty Group
collection element of type .* is not an Objective-C object
err_box_literal_collection
Error
Semantic Issue
Empty Group
(string|character|boolean|numeric) literal must be prefixed by '@' in a collection
warn_objc_literal_comparison
Warning
Semantic Issue
objc-literal-compare
direct comparison of (an array literal|a dictionary literal|a numeric literal|a boxed expression|) has undefined behavior
err_missing_atsign_prefix
Error
Semantic Issue
Empty Group
(string|numeric) literal must be prefixed by '@'
warn_objc_string_literal_comparison
Warning
Semantic Issue
objc-string-compare
direct comparison of a string literal has undefined behavior
warn_concatenated_literal_array_init
Warning
Semantic Issue
string-concatenation
suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma\?
warn_concatenated_nsarray_literal
Warning
Semantic Issue
objc-string-concatenation
concatenated NSString literal for an NSArray expression - possibly missing a comma
note_objc_literal_comparison_isequal
Note
Semantic Issue
Empty Group
use 'isEqual:' instead
warn_objc_collection_literal_element
Warning
Semantic Issue
objc-literal-conversion
object of type .* is not compatible with (array element type|dictionary key type|dictionary value type) .*
warn_nsdictionary_duplicate_key
Warning
Semantic Issue
objc-dictionary-duplicate-keys
duplicate key in dictionary literal
note_nsdictionary_duplicate_key_here
Note
Semantic Issue
Empty Group
previous equal key is here
err_swift_param_attr_not_swiftcall
Error
Semantic Issue
Empty Group
'.*' parameter can only be used with swiftcall calling convention
err_swift_indirect_result_not_first
Error
Semantic Issue
Empty Group
'swift_indirect_result' parameters must be first parameters of function
err_swift_error_result_not_after_swift_context
Error
Semantic Issue
Empty Group
'swift_error_result' parameter must follow 'swift_context' parameter
err_swift_abi_parameter_wrong_type
Error
Semantic Issue
Empty Group
'.*' parameter must have pointer(| to unqualified pointer) type; type here is .*
err_attribute_argument_invalid
Error
Semantic Issue
Empty Group
.* attribute argument is invalid: (max must be 0 since min is 0|min must not be greater than max)
err_attribute_argument_is_zero
Error
Semantic Issue
Empty Group
.* attribute must be greater than 0
warn_attribute_argument_n_negative
Warning
Semantic Issue
cuda-compat
.* attribute parameter .* is negative and will be ignored
err_property_function_in_objc_container
Error
Semantic Issue
Empty Group
use of Objective-C property in function nested in Objective-C container not supported, move function outside its container
warn_objc_redundant_literal_use
Warning
Cocoa API Issue
objc-redundant-literal-use
using .* with a literal is redundant
err_attr_tlsmodel_arg
Error
Semantic Issue
Empty Group
tls_model must be \"global-dynamic\", \"local-dynamic\", \"initial-exec\" or \"local-exec\"
err_tls_var_aligned_over_maximum
Error
Semantic Issue
Empty Group
alignment \(.*\) of thread-local variable .* is greater than the maximum supported alignment \(.*\) for a thread-local variable on this target
err_only_annotate_after_access_spec
Error
Semantic Issue
Empty Group
access specifier can only have annotation attributes
err_attribute_section_invalid_for_target
Error
Semantic Issue
Empty Group
argument to ('code_seg'|'section') attribute is not valid for this target: .*
warn_attribute_section_drectve
Warning
Semantic Issue
microsoft-drectve-section
#pragma .*\(\"\.drectve\"\) has undefined behavior, use #pragma comment\(linker, \.\.\.\) instead
warn_mismatched_section
Warning
Semantic Issue
section
(codeseg|section) does not match previous declaration
warn_attribute_section_on_redeclaration
Warning
Semantic Issue
section
section attribute is specified on redeclared variable
err_mismatched_code_seg_base
Error
Semantic Issue
Empty Group
derived class must specify the same code segment as its base classes
err_mismatched_code_seg_override
Error
Semantic Issue
Empty Group
overriding virtual function must specify the same code segment as its overridden function
err_conflicting_codeseg_attribute
Error
Semantic Issue
Empty Group
conflicting code segment specifiers
warn_duplicate_codeseg_attribute
Warning
Semantic Issue
section
duplicate code segment specifiers
err_anonymous_property
Error
Semantic Issue
Empty Group
anonymous property is not supported
err_property_is_variably_modified
Error
Semantic Issue
Empty Group
property .* has a variably modified type
err_no_accessor_for_property
Error
Semantic Issue
Empty Group
no (getter|setter) defined for property .*
err_cannot_find_suitable_accessor
Error
Semantic Issue
Empty Group
cannot find suitable (getter|setter) for property .*
warn_alloca
Warning
Semantic Issue
alloca
use of function .* is discouraged; there is no way to check for failure but failure may still occur, resulting in a possibly exploitable security vulnerability
warn_alloca_align_alignof
Warning
Semantic Issue
alloca-with-align-alignof
second argument to __builtin_alloca_with_align is supposed to be in bits
err_alignment_too_small
Error
Semantic Issue
Empty Group
requested alignment must be .* or greater
err_alignment_too_big
Error
Semantic Issue
Empty Group
requested alignment must be .* or smaller
err_alignment_not_power_of_two
Error
Semantic Issue
Empty Group
requested alignment is not a power of 2
warn_alignment_not_power_of_two
Warning
Semantic Issue
non-power-of-two-alignment
err_alignment_not_power_of_two\.Text
err_alignment_dependent_typedef_name
Error
Semantic Issue
Empty Group
requested alignment is dependent but declaration is not dependent
warn_alignment_builtin_useless
Warning
Semantic Issue
tautological-compare
(aligning a value|the result of checking whether a value is aligned) to 1 byte is (a no-op|always true)
err_attribute_aligned_too_great
Error
Semantic Issue
Empty Group
requested alignment must be .* bytes or smaller
warn_assume_aligned_too_great
Warning
Semantic Issue
builtin-assume-aligned-alignment
requested alignment must be .* bytes or smaller; maximum alignment assumed
warn_redeclaration_without_attribute_prev_attribute_ignored
Warning
Semantic Issue
inconsistent-dllimport
.* redeclared without .* attribute: previous .* ignored
warn_redeclaration_without_import_attribute
Warning
Semantic Issue
inconsistent-dllimport
.* redeclared without 'dllimport' attribute: 'dllexport' attribute added
warn_dllimport_dropped_from_inline_function
Warning
Semantic Issue
ignored-attributes
.* redeclared inline; .* attribute ignored
warn_attribute_ignored
Warning
Semantic Issue
ignored-attributes
.* attribute ignored
warn_nothrow_attribute_ignored
Warning
Semantic Issue
ignored-attributes
'nothrow' attribute conflicts with exception specification; attribute ignored
warn_attribute_ignored_on_inline
Warning
Semantic Issue
ignored-attributes
.* attribute ignored on inline function
warn_nocf_check_attribute_ignored
Warning
Semantic Issue
ignored-attributes
'nocf_check' attribute ignored; use -fcf-protection to enable the attribute
warn_attribute_after_definition_ignored
Warning
Semantic Issue
ignored-attributes
attribute .* after definition is ignored
warn_attributes_likelihood_ifstmt_conflict
Warning
Semantic Issue
ignored-attributes
conflicting attributes .* are ignored
warn_cxx11_gnu_attribute_on_type
Warning
Semantic Issue
ignored-attributes
attribute .* ignored, because it cannot be applied to a type
warn_unhandled_ms_attribute_ignored
Warning
Semantic Issue
ignored-attributes
__declspec attribute .* is not supported
err_decl_attribute_invalid_on_stmt
Error
Semantic Issue
Empty Group
.* attribute cannot be applied to a statement
err_stmt_attribute_invalid_on_decl
Error
Semantic Issue
Empty Group
.* attribute cannot be applied to a declaration
warn_declspec_attribute_ignored
Warning
Semantic Issue
ignored-attributes
attribute .* is ignored, place it after \"(class|struct|interface|union|enum)\" to apply attribute to type declaration
warn_attribute_precede_definition
Warning
Semantic Issue
ignored-attributes
attribute declaration must precede definition
warn_attribute_void_function_method
Warning
Semantic Issue
ignored-attributes
attribute .* cannot be applied to (functions|Objective-C method) without return value
warn_attribute_weak_on_field
Warning
Semantic Issue
ignored-attributes
__weak attribute cannot be specified on a field declaration
warn_gc_attribute_weak_on_local
Warning
Semantic Issue
ignored-attributes
Objective-C GC does not allow weak variables on the stack
warn_nsobject_attribute
Warning
Semantic Issue
NSObject-attribute
'NSObject' attribute may be put on a typedef only; attribute is ignored
warn_independentclass_attribute
Warning
Semantic Issue
IndependentClass-attribute
'objc_independent_class' attribute may be put on a typedef only; attribute is ignored
warn_ptr_independentclass_attribute
Warning
Semantic Issue
IndependentClass-attribute
'objc_independent_class' attribute may be put on Objective-C object pointer type only; attribute is ignored
warn_attribute_weak_on_local
Warning
Semantic Issue
ignored-attributes
__weak attribute cannot be specified on an automatic variable when ARC is not enabled
warn_weak_identifier_undeclared
Warning
Semantic Issue
Empty Group
weak identifier .* never declared
warn_attribute_cmse_entry_static
Warning
Semantic Issue
ignored-attributes
'cmse_nonsecure_entry' cannot be applied to functions with internal linkage
warn_cmse_nonsecure_union
Warning
Semantic Issue
cmse-union-leak
passing union across security boundary via (parameter .*|return value) may leak information
err_attribute_weak_static
Error
Semantic Issue
Empty Group
weak declaration cannot have internal linkage
err_attribute_selectany_non_extern_data
Error
Semantic Issue
Empty Group
'selectany' can only be applied to data items with external linkage
err_declspec_thread_on_thread_variable
Error
Semantic Issue
Empty Group
'__declspec\(thread\)' applied to variable that already has a thread-local storage specifier
err_attribute_dll_not_extern
Error
Semantic Issue
Empty Group
.* must have external linkage when declared .*
err_attribute_dll_thread_local
Error
Semantic Issue
Empty Group
.* cannot be thread local when declared .*
err_attribute_dll_lambda
Error
Semantic Issue
Empty Group
lambda cannot be declared .*
warn_attribute_invalid_on_definition
Warning
Semantic Issue
ignored-attributes
'.*' attribute cannot be specified on a definition
err_attribute_dll_redeclaration
Error
Semantic Issue
Empty Group
redeclaration of .* cannot add .* attribute
warn_attribute_dll_redeclaration
Warning
Semantic Issue
dll-attribute-on-redeclaration
redeclaration of .* should not add .* attribute
err_attribute_dllimport_function_definition
Error
Semantic Issue
Empty Group
dllimport cannot be applied to non-inline function definition
err_attribute_dll_deleted
Error
Semantic Issue
Empty Group
attribute .* cannot be applied to a deleted function
err_attribute_dllimport_data_definition
Error
Semantic Issue
Empty Group
definition of dllimport data
err_attribute_dllimport_static_field_definition
Error
Semantic Issue
Empty Group
definition of dllimport static field not allowed
warn_attribute_dllimport_static_field_definition
Warning
Semantic Issue
dllimport-static-field-def
definition of dllimport static field
warn_attribute_dllexport_explicit_instantiation_decl
Warning
Semantic Issue
dllexport-explicit-instantiation-decl
explicit instantiation declaration should not be 'dllexport'
warn_attribute_dllexport_explicit_instantiation_def
Warning
Semantic Issue
ignored-attributes
'dllexport' attribute ignored on explicit instantiation definition
warn_invalid_initializer_from_system_header
Warning
Semantic Issue
invalid-initializer-from-system-header
invalid constructor form class in system header, should not be explicit
note_used_in_initialization_here
Note
Semantic Issue
Empty Group
used in initialization here
err_attribute_dll_member_of_dll_class
Error
Semantic Issue
Empty Group
attribute .* cannot be applied to member of .* class
warn_attribute_dll_instantiated_base_class
Warning
Semantic Issue
unsupported-dll-base-class-template
propagating dll attribute to (already instantiated|explicitly specialized) base class template without dll attribute is not supported
err_attribute_dll_ambiguous_default_ctor
Error
Semantic Issue
Empty Group
'__declspec\(dllexport\)' cannot be applied to more than one default constructor in .*
err_attribute_weakref_not_static
Error
Semantic Issue
Empty Group
weakref declaration must have internal linkage
err_attribute_weakref_not_global_context
Error
Semantic Issue
Empty Group
weakref declaration of .* must be in a global context
err_attribute_weakref_without_alias
Error
Semantic Issue
Empty Group
weakref declaration of .* must also have an alias attribute
err_alias_not_supported_on_darwin
Error
Semantic Issue
Empty Group
aliases are not supported on darwin
warn_attribute_wrong_decl_type_str
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to .*
err_attribute_wrong_decl_type_str
Error
Semantic Issue
Empty Group
warn_attribute_wrong_decl_type_str\.Text
warn_attribute_wrong_decl_type
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to (functions|unions|variables and functions|functions and methods|functions, methods and blocks|functions, methods, and parameters|variables|variables and fields|variables, data members and tag types|types and namespaces|variables, functions and classes|kernel functions|non-K&R-style functions)
err_attribute_wrong_decl_type
Error
Semantic Issue
Empty Group
warn_attribute_wrong_decl_type\.Text
warn_type_attribute_wrong_type
Warning
Semantic Issue
ignored-attributes
'.*' only applies to (function|pointer|Objective-C object or block pointer) types; type here is .*
warn_incomplete_encoded_type
Warning
Semantic Issue
encode-type
encoding of .* type is incomplete because .* component has unknown encoding
warn_gnu_inline_attribute_requires_inline
Warning
Semantic Issue
ignored-attributes
'gnu_inline' attribute requires function to be marked 'inline', attribute ignored
warn_gnu_inline_cplusplus_without_extern
Warning
Semantic Issue
gnu-inline-cpp-without-extern
'gnu_inline' attribute without 'extern' in C\+\+ treated as externally available, this changed in Clang 10
err_attribute_vecreturn_only_vector_member
Error
Semantic Issue
Empty Group
the vecreturn attribute can only be used on a class or structure with one member, which must be a vector
err_attribute_vecreturn_only_pod_record
Error
Semantic Issue
Empty Group
the vecreturn attribute can only be used on a POD \(plain old data\) class or structure \(i\.e\. no virtual functions\)
err_cconv_change
Error
Semantic Issue
Empty Group
function declared '.*' here was previously declared ('.*'|without calling convention)
warn_cconv_unsupported
Warning
Semantic Issue
ignored-attributes
.* calling convention is not supported (for this target|on variadic function|on constructor/destructor|on builtin function)
error_cconv_unsupported
Error
Semantic Issue
Empty Group
warn_cconv_unsupported\.Text
err_cconv_knr
Error
Semantic Issue
Empty Group
function with no prototype cannot use the .* calling convention
warn_cconv_knr
Warning
Semantic Issue
missing-prototype-for-cc
err_cconv_knr\.Text
err_cconv_varargs
Error
Semantic Issue
Empty Group
variadic function cannot use .* calling convention
err_regparm_mismatch
Error
Semantic Issue
Empty Group
function declared with regparm\(.*\) attribute was previously declared (without the regparm|with the regparm\(.*\)) attribute
err_function_attribute_mismatch
Error
Semantic Issue
Empty Group
function declared with .* attribute was previously declared without the .* attribute
err_objc_precise_lifetime_bad_type
Error
Semantic Issue
Empty Group
objc_precise_lifetime only applies to retainable types; type here is .*
warn_objc_precise_lifetime_meaningless
Error
Semantic Issue
Empty Group
objc_precise_lifetime is not meaningful for (__unsafe_unretained|__autoreleasing) objects
err_invalid_pcs
Error
Semantic Issue
Empty Group
invalid PCS type
warn_attribute_not_on_decl
Warning
Semantic Issue
ignored-attributes
.* attribute ignored when parsing type
err_base_specifier_attribute
Error
Semantic Issue
Empty Group
.* attribute cannot be applied to a base specifier
err_invalid_attribute_on_virtual_function
Error
Semantic Issue
Empty Group
.* attribute cannot be applied to virtual functions
warn_declspec_allocator_nonpointer
Warning
Semantic Issue
ignored-attributes
ignoring __declspec\(allocator\) because the function return type .* is not a pointer or reference type
err_cconv_incomplete_param_type
Error
Semantic Issue
Empty Group
parameter .* must have a complete type to use function .* with the .* calling convention
err_attribute_output_parameter
Error
Semantic Issue
Empty Group
attribute only applies to output parameters
ext_cannot_use_trivial_abi
ExtWarn
Semantic Issue
ignored-attributes
'trivial_abi' cannot be applied to .*
note_cannot_use_trivial_abi_reason
Note
Semantic Issue
Empty Group
'trivial_abi' is disallowed on .* because (its copy constructors and move constructors are all deleted|it is polymorphic|it has a base of a non-trivial class type|it has a virtual base|it has a __weak field|it has a field of a non-trivial class type|it has an address-discriminated __ptrauth field)
warn_availability_unknown_platform
Warning
Semantic Issue
availability
unknown platform .* in availability macro
warn_availability_version_ordering
Warning
Semantic Issue
availability
feature cannot be (introduced|deprecated|obsoleted) in .* version .* before it was (introduced|deprecated|obsoleted) in version .*; attribute ignored
warn_mismatched_availability
Warning
Semantic Issue
availability
availability does not match previous declaration
warn_mismatched_availability_override
Warning
Semantic Issue
availability
(|overriding )method (introduced after|deprecated before|obsoleted before) (the protocol method it implements|overridden method) on .* \(.* vs\. .*\)
warn_mismatched_availability_override_unavail
Warning
Semantic Issue
availability
(|overriding )method cannot be unavailable on .* when (the protocol method it implements|its overridden method) is available
warn_availability_on_static_initializer
Warning
Semantic Issue
availability
ignoring availability attribute (on '\+load' method|with constructor attribute|with destructor attribute)
note_overridden_method
Note
Semantic Issue
Empty Group
overridden method is here
warn_availability_swift_unavailable_deprecated_only
Warning
Semantic Issue
availability
only 'unavailable' and 'deprecated' are supported for Swift availability
note_protocol_method
Note
Semantic Issue
Empty Group
protocol method is here
warn_unguarded_availability
Warning
Semantic Issue
unguarded-availability
.* is only available on .* .* or newer
warn_unguarded_availability_new
Warning
Semantic Issue
unguarded-availability-new
warn_unguarded_availability\.Text
note_decl_unguarded_availability_silence
Note
Semantic Issue
Empty Group
annotate (.*|anonymous .*) with an availability attribute to silence this warning
note_unguarded_available_silence
Note
Semantic Issue
Empty Group
enclose .* in (an @available|a __builtin_available) check to silence this warning
warn_at_available_unchecked_use
Warning
Semantic Issue
unsupported-availability-guard
(@available|__builtin_available) does not guard availability here; use if \((@available|__builtin_available)\) instead
warn_thread_attribute_ignored
Warning
Semantic Issue
thread-safety-attributes
ignoring .* attribute because its argument is invalid
warn_thread_attribute_not_on_non_static_member
Warning
Semantic Issue
thread-safety-attributes
.* attribute without capability arguments can only be applied to non-static methods of a class
warn_thread_attribute_not_on_capability_member
Warning
Semantic Issue
thread-safety-attributes
.* attribute without capability arguments refers to 'this', but .* isn't annotated with 'capability' or 'scoped_lockable' attribute
warn_thread_attribute_argument_not_lockable
Warning
Semantic Issue
thread-safety-attributes
.* attribute requires arguments whose type is annotated with 'capability' attribute; type here is .*
warn_thread_attribute_decl_not_lockable
Warning
Semantic Issue
thread-safety-attributes
.* attribute can only be applied in a context annotated with 'capability' attribute
warn_thread_attribute_decl_not_pointer
Warning
Semantic Issue
thread-safety-attributes
.* only applies to pointer types; type here is .*
err_attribute_argument_out_of_bounds_extra_info
Error
Semantic Issue
Empty Group
.* attribute parameter .* is out of bounds: (no parameters to index into|can only be 1, since there is one parameter|must be between 1 and .*)
warn_unlock_but_no_lock
Warning
Semantic Issue
thread-safety-analysis
releasing .* '.*' that was not held
warn_unlock_kind_mismatch
Warning
Semantic Issue
thread-safety-analysis
releasing .* '.*' using (shared|exclusive) access, expected (shared|exclusive) access
warn_double_lock
Warning
Semantic Issue
thread-safety-analysis
acquiring .* '.*' that is already held
warn_no_unlock
Warning
Semantic Issue
thread-safety-analysis
.* '.*' is still held at the end of function
warn_expecting_locked
Warning
Semantic Issue
thread-safety-analysis
expecting .* '.*' to be held at the end of function
warn_lock_some_predecessors
Warning
Semantic Issue
thread-safety-analysis
.* '.*' is not held on every path through here
warn_expecting_lock_held_on_loop
Warning
Semantic Issue
thread-safety-analysis
expecting .* '.*' to be held at start of each loop
note_locked_here
Note
Semantic Issue
Empty Group
.* acquired here
note_unlocked_here
Note
Semantic Issue
Empty Group
.* released here
warn_lock_exclusive_and_shared
Warning
Semantic Issue
thread-safety-analysis
.* '.*' is acquired exclusively and shared in the same scope
note_lock_exclusive_and_shared
Note
Semantic Issue
Empty Group
the other acquisition of .* '.*' is here
warn_variable_requires_any_lock
Warning
Semantic Issue
thread-safety-analysis
(reading|writing) variable .* requires holding (any mutex|any mutex exclusively)
warn_var_deref_requires_any_lock
Warning
Semantic Issue
thread-safety-analysis
(reading|writing) the value pointed to by .* requires holding (any mutex|any mutex exclusively)
warn_fun_excludes_mutex
Warning
Semantic Issue
thread-safety-analysis
cannot call function '.*' while .* '.*' is held
warn_cannot_resolve_lock
Warning
Semantic Issue
thread-safety-analysis
cannot resolve lock expression
warn_acquired_before
Warning
Semantic Issue
thread-safety-analysis
.* '.*' must be acquired before '.*'
warn_acquired_before_after_cycle
Warning
Semantic Issue
thread-safety-analysis
Cycle in acquired_before/after dependencies, starting with '.*'
warn_acquire_requires_negative_cap
Warning
Semantic Issue
thread-safety-negative
acquiring .* '.*' requires negative capability '.*'
warn_fun_requires_negative_cap
Warning
Semantic Issue
thread-safety-analysis
calling function .* requires negative capability '.*'
warn_guarded_pass_by_reference
Warning
Semantic Issue
thread-safety-reference
passing variable .* by reference requires holding .* ('.*'|'.*' exclusively)
warn_pt_guarded_pass_by_reference
Warning
Semantic Issue
thread-safety-reference
passing the value that .* points to by reference requires holding .* ('.*'|'.*' exclusively)
warn_variable_requires_lock
Warning
Semantic Issue
thread-safety-analysis
(reading|writing) variable .* requires holding .* ('.*'|'.*' exclusively)
warn_var_deref_requires_lock
Warning
Semantic Issue
thread-safety-analysis
(reading|writing) the value pointed to by .* requires holding .* ('.*'|'.*' exclusively)
warn_fun_requires_lock
Warning
Semantic Issue
thread-safety-analysis
calling function .* requires holding .* ('.*'|'.*' exclusively)
warn_variable_requires_lock_precise
Warning
Semantic Issue
thread-safety-precise
warn_variable_requires_lock\.Text
warn_var_deref_requires_lock_precise
Warning
Semantic Issue
thread-safety-precise
warn_var_deref_requires_lock\.Text
warn_fun_requires_lock_precise
Warning
Semantic Issue
thread-safety-precise
warn_fun_requires_lock\.Text
note_found_mutex_near_match
Note
Semantic Issue
Empty Group
found near match '.*'
warn_thread_safety_verbose
Warning
Semantic Issue
thread-safety-verbose
Thread safety verbose warning\.
note_thread_warning_in_fun
Note
Semantic Issue
Empty Group
Thread warning in function .*
note_guarded_by_declared_here
Note
Semantic Issue
Empty Group
Guarded_by declared here\.
warn_thread_safety_beta
Warning
Semantic Issue
thread-safety-beta
Thread safety beta warning\.
warn_use_in_invalid_state
Warning
Semantic Issue
consumed
invalid invocation of method '.*' on object '.*' while it is in the '.*' state
warn_use_of_temp_in_invalid_state
Warning
Semantic Issue
consumed
invalid invocation of method '.*' on a temporary object while it is in the '.*' state
warn_attr_on_unconsumable_class
Warning
Semantic Issue
consumed
consumed analysis attribute is attached to member of class .* which isn't marked as consumable
warn_return_typestate_for_unconsumable_type
Warning
Semantic Issue
consumed
return state set for an unconsumable type '.*'
warn_return_typestate_mismatch
Warning
Semantic Issue
consumed
return value not in expected state; expected '.*', observed '.*'
warn_loop_state_mismatch
Warning
Semantic Issue
consumed
state of variable '.*' must match at the entry and exit of loop
warn_param_return_typestate_mismatch
Warning
Semantic Issue
consumed
parameter '.*' not in expected state when the function returns: expected '.*', observed '.*'
warn_param_typestate_mismatch
Warning
Semantic Issue
consumed
argument not in expected state; expected '.*', observed '.*'
warn_unknown_sanitizer_ignored
Warning
Semantic Issue
unknown-sanitizers
unknown sanitizer '.*' ignored
warn_impcast_vector_scalar
Warning
Semantic Issue
conversion
implicit conversion turns vector to scalar: .* to .*
warn_impcast_complex_scalar
Warning
Semantic Issue
conversion
implicit conversion discards imaginary component: .* to .*
err_impcast_complex_scalar
Error
Semantic Issue
Empty Group
implicit conversion from .* to .* is not permitted in C\+\+
warn_impcast_float_precision
Warning
Semantic Issue
implicit-float-conversion
implicit conversion loses floating-point precision: .* to .*
warn_impcast_float_result_precision
Warning
Semantic Issue
implicit-float-conversion
implicit conversion when assigning computation result loses floating-point precision: .* to .*
warn_impcast_double_promotion
Warning
Semantic Issue
double-promotion
implicit conversion increases floating-point precision: .* to .*
warn_impcast_integer_sign
Warning
Semantic Issue
sign-conversion
implicit conversion changes signedness: .* to .*
warn_impcast_integer_sign_conditional
Warning
Semantic Issue
sign-conversion
operand of \? changes signedness: .* to .*
warn_impcast_integer_precision
Warning
Semantic Issue
implicit-int-conversion
implicit conversion loses integer precision: .* to .*
warn_impcast_high_order_zero_bits
Warning
Semantic Issue
implicit-int-conversion
higher order bits are zeroes after implicit conversion
warn_impcast_nonnegative_result
Warning
Semantic Issue
sign-conversion
the resulting value is always non-negative after implicit conversion
warn_impcast_integer_64_32
Warning
Semantic Issue
shorten-64-to-32
implicit conversion loses integer precision: .* to .*
warn_impcast_integer_precision_constant
Warning
Semantic Issue
constant-conversion
implicit conversion from .* to .* changes value from .* to .*
warn_impcast_bitfield_precision_constant
Warning
Semantic Issue
bitfield-constant-conversion
implicit truncation from .* to bit-field changes value from .* to .*
warn_impcast_constant_value_to_objc_bool
Warning
Semantic Issue
objc-bool-constant-conversion
implicit conversion from constant value .* to 'BOOL'; the only well defined values for 'BOOL' are YES and NO
warn_impcast_fixed_point_range
Warning
Semantic Issue
implicit-fixed-point-conversion
implicit conversion from .* cannot fit within the range of values for .*
warn_impcast_literal_float_to_integer
Warning
Semantic Issue
literal-conversion
implicit conversion from .* to .* changes value from .* to .*
warn_impcast_literal_float_to_integer_out_of_range
Warning
Semantic Issue
literal-conversion
implicit conversion of out of range value from .* to .* is undefined
warn_impcast_float_integer
Warning
Semantic Issue
float-conversion
implicit conversion turns floating-point number into integer: .* to .*
warn_impcast_float_to_objc_signed_char_bool
Warning
Semantic Issue
objc-signed-char-bool-implicit-float-conversion
implicit conversion from floating-point type .* to 'BOOL'
warn_impcast_int_to_objc_signed_char_bool
Warning
Semantic Issue
objc-signed-char-bool-implicit-int-conversion
implicit conversion from integral type .* to 'BOOL'
warn_impcast_integer_float_precision
Warning
Semantic Issue
implicit-int-float-conversion
implicit conversion from .* to .* may lose precision
warn_impcast_integer_float_precision_constant
Warning
Semantic Issue
implicit-const-int-float-conversion
implicit conversion from .* to .* changes value from .* to .*
warn_impcast_float_to_integer
Warning
Semantic Issue
float-overflow-conversion
implicit conversion from .* to .* changes value from .* to .*
warn_impcast_float_to_integer_out_of_range
Warning
Semantic Issue
float-overflow-conversion
implicit conversion of out of range value from .* to .* is undefined
warn_impcast_float_to_integer_zero
Warning
Semantic Issue
float-zero-conversion
implicit conversion from .* to .* changes non-zero value from .* to .*
warn_impcast_string_literal_to_bool
Warning
Semantic Issue
string-conversion
implicit conversion turns string literal into bool: .* to .*
warn_impcast_different_enum_types
Warning
Semantic Issue
enum-conversion
implicit conversion from enumeration type .* to different enumeration type .*
warn_impcast_bool_to_null_pointer
Warning
Semantic Issue
bool-conversion
initialization of pointer of type .* to null from a constant boolean expression
warn_non_literal_null_pointer
Warning
Semantic Issue
non-literal-null-conversion
expression which evaluates to zero treated as a null pointer constant of type .*
warn_pointer_compare
Warning
Semantic Issue
pointer-compare
comparing a pointer to a null character constant; did you mean to compare to (NULL|\(void \*\)0)\?
warn_impcast_null_pointer_to_integer
Warning
Semantic Issue
null-conversion
implicit conversion of (NULL|nullptr) constant to .*
warn_impcast_floating_point_to_bool
Warning
Semantic Issue
implicit-conversion-floating-point-to-bool
implicit conversion turns floating-point number into bool: .* to .*
ext_ms_impcast_fn_obj
ExtWarn
Semantic Issue
microsoft-cast
implicit conversion between pointer-to-function and pointer-to-object is a Microsoft extension
warn_impcast_pointer_to_bool
Warning
Semantic Issue
pointer-bool-conversion
address of(| function| array) '.*' will always evaluate to 'true'
warn_cast_nonnull_to_bool
Warning
Semantic Issue
pointer-bool-conversion
nonnull (function call|parameter) '.*' will evaluate to 'true' on first encounter
warn_this_bool_conversion
Warning
Semantic Issue
undefined-bool-conversion
'this' pointer cannot be null in well-defined C\+\+ code; pointer may be assumed to always convert to true
warn_address_of_reference_bool_conversion
Warning
Semantic Issue
undefined-bool-conversion
reference cannot be bound to dereferenced null pointer in well-defined C\+\+ code; pointer may be assumed to always convert to true
warn_xor_used_as_pow
Warning
Semantic Issue
xor-used-as-pow
result of '.*' is .*; did you mean exponentiation\?
warn_xor_used_as_pow_base_extra
Warning
Semantic Issue
xor-used-as-pow
result of '.*' is .*; did you mean '.*' \(.*\)\?
warn_xor_used_as_pow_base
Warning
Semantic Issue
xor-used-as-pow
result of '.*' is .*; did you mean '.*'\?
note_xor_used_as_pow_silence
Note
Semantic Issue
Empty Group
replace expression with '.*' (|or use 'xor' instead of '^' )to silence this warning
warn_null_pointer_compare
Warning
Semantic Issue
tautological-pointer-compare
comparison of (address of|function|array) '.*' (not |)equal to a null pointer is always (true|false)
warn_nonnull_expr_compare
Warning
Semantic Issue
tautological-pointer-compare
comparison of nonnull (function call|parameter) '.*' (not |)equal to a null pointer is '(true|false)' on first encounter
warn_this_null_compare
Warning
Semantic Issue
tautological-undefined-compare
'this' pointer cannot be null in well-defined C\+\+ code; comparison may be assumed to always evaluate to (true|false)
warn_address_of_reference_null_compare
Warning
Semantic Issue
tautological-undefined-compare
reference cannot be bound to dereferenced null pointer in well-defined C\+\+ code; comparison may be assumed to always evaluate to (true|false)
note_reference_is_return_value
Note
Semantic Issue
Empty Group
.* returns a reference
note_pointer_declared_here
Note
Semantic Issue
Empty Group
pointer .* declared here
warn_division_sizeof_ptr
Warning
Semantic Issue
sizeof-pointer-div
'.*' will return the size of the pointer, not the array itself
warn_division_sizeof_array
Warning
Semantic Issue
sizeof-array-div
expression does not compute the number of elements in this array; element type is .*, not .*
note_function_warning_silence
Note
Semantic Issue
Empty Group
prefix with the address-of operator to silence this warning
note_function_to_function_call
Note
Semantic Issue
Empty Group
suffix with parentheses to turn this into a function call
warn_impcast_objective_c_literal_to_bool
Warning
Semantic Issue
objc-literal-conversion
implicit boolean conversion of Objective-C object literal always evaluates to true
warn_cast_align
Warning
Semantic Issue
cast-align
cast from .* to .* increases required alignment from .* to .*
warn_old_style_cast
Warning
Semantic Issue
old-style-cast
use of old-style cast
warn_int_to_pointer_cast
Warning
Semantic Issue
int-to-pointer-cast
cast to .* from smaller integer type .*
warn_int_to_void_pointer_cast
Warning
Semantic Issue
int-to-void-pointer-cast
cast to .* from smaller integer type .*
warn_pointer_to_int_cast
Warning
Semantic Issue
pointer-to-int-cast
cast to smaller integer type .* from .*
warn_pointer_to_enum_cast
Warning
Semantic Issue
pointer-to-enum-cast
warn_pointer_to_int_cast\.Text
warn_void_pointer_to_int_cast
Warning
Semantic Issue
void-pointer-to-int-cast
cast to smaller integer type .* from .*
warn_void_pointer_to_enum_cast
Warning
Semantic Issue
void-pointer-to-enum-cast
warn_void_pointer_to_int_cast\.Text
warn_attribute_ignored_for_field_of_type
Warning
Semantic Issue
ignored-attributes
.* attribute ignored for field of type .*
warn_no_underlying_type_specified_for_enum_bitfield
Warning
Semantic Issue
signed-enum-bitfield
enums in the Microsoft ABI are signed integers by default; consider giving the enum .* an unsigned underlying type to make this code portable
warn_attribute_packed_for_bitfield
Warning
Semantic Issue
attribute-packed-for-bitfield
'packed' attribute was ignored on bit-fields with single-byte alignment in older versions of GCC and Clang
warn_transparent_union_attribute_field_size_align
Warning
Semantic Issue
ignored-attributes
(alignment|size) of field .* \(.* bits\) does not match the (alignment|size) of the first field in transparent union; transparent_union attribute ignored
note_transparent_union_first_field_size_align
Note
Semantic Issue
Empty Group
(alignment|size) of first field is .* bits
warn_transparent_union_attribute_not_definition
Warning
Semantic Issue
ignored-attributes
transparent_union attribute can only be applied to a union definition; attribute ignored
warn_transparent_union_attribute_floating
Warning
Semantic Issue
ignored-attributes
first field of a transparent union cannot have (floating point|vector) type .*; transparent_union attribute ignored
warn_transparent_union_attribute_zero_fields
Warning
Semantic Issue
ignored-attributes
transparent union definition must contain at least one field; transparent_union attribute ignored
warn_attribute_type_not_supported
Warning
Semantic Issue
ignored-attributes
.* attribute argument not supported: .*
warn_attribute_unknown_visibility
Warning
Semantic Issue
ignored-attributes
unknown visibility .*
warn_attribute_protected_visibility
Warning
Semantic Issue
unsupported-visibility
target does not support 'protected' visibility; using 'default'
err_mismatched_visibility
Error
Semantic Issue
Empty Group
visibility does not match previous declaration
note_previous_attribute
Note
Semantic Issue
Empty Group
previous attribute is here
note_conflicting_attribute
Note
Semantic Issue
Empty Group
conflicting attribute is here
note_attribute
Note
Semantic Issue
Empty Group
attribute is here
err_mismatched_ms_inheritance
Error
Semantic Issue
Empty Group
inheritance model does not match (definition|previous declaration)
warn_ignored_ms_inheritance
Warning
Semantic Issue
ignored-attributes
inheritance model ignored on (primary template|partial specialization)
note_previous_ms_inheritance
Note
Semantic Issue
Empty Group
previous inheritance model specified here
err_machine_mode
Error
Semantic Issue
Empty Group
(unknown|unsupported) machine mode .*
err_mode_not_primitive
Error
Semantic Issue
Empty Group
mode attribute only supported for integer and floating-point types
err_mode_wrong_type
Error
Semantic Issue
Empty Group
type of machine mode does not match type of base type
warn_vector_mode_deprecated
Warning
Semantic Issue
deprecated-attributes
specifying vector types with the 'mode' attribute is deprecated; use the 'vector_size' attribute instead
err_complex_mode_vector_type
Error
Semantic Issue
Empty Group
type of machine mode does not support base vector types
err_enum_mode_vector_type
Error
Semantic Issue
Empty Group
mode .* is not supported for enumeration types
warn_attribute_nonnull_no_pointers
Warning
Semantic Issue
ignored-attributes
'nonnull' attribute applied to function with no pointer arguments
warn_attribute_nonnull_parm_no_args
Warning
Semantic Issue
ignored-attributes
'nonnull' attribute when used on parameters takes no arguments
warn_attribute_noescape_non_pointer
Warning
Semantic Issue
ignored-attributes
'noescape' attribute ignored on parameter of non-pointer type .*
note_declared_nonnull
Note
Semantic Issue
Empty Group
declared ('returns_nonnull'|'nonnull') here
warn_attribute_sentinel_named_arguments
Warning
Semantic Issue
ignored-attributes
'sentinel' attribute requires named arguments
warn_attribute_sentinel_not_variadic
Warning
Semantic Issue
ignored-attributes
'sentinel' attribute only supported for variadic (functions|blocks)
err_attribute_sentinel_less_than_zero
Error
Semantic Issue
Empty Group
'sentinel' parameter 1 less than zero
err_attribute_sentinel_not_zero_or_one
Error
Semantic Issue
Empty Group
'sentinel' parameter 2 not 0 or 1
warn_cleanup_ext
Warning
Semantic Issue
gcc-compat
GCC does not allow the 'cleanup' attribute argument to be anything other than a simple identifier
err_attribute_cleanup_arg_not_function
Error
Semantic Issue
Empty Group
'cleanup' argument (|.* |.* )is not a (||single )function
err_attribute_cleanup_func_must_take_one_arg
Error
Semantic Issue
Empty Group
'cleanup' function .* must take 1 parameter
err_attribute_cleanup_func_arg_incompatible_type
Error
Semantic Issue
Empty Group
'cleanup' function .* parameter has (type .* which is incompatible with type .*|incompatible type)
err_attribute_regparm_wrong_platform
Error
Semantic Issue
Empty Group
'regparm' is not valid on this platform
err_attribute_regparm_invalid_number
Error
Semantic Issue
Empty Group
'regparm' parameter must be between 0 and .* inclusive
err_attribute_not_supported_in_lang
Error
Semantic Issue
Empty Group
.* attribute is not supported in (C|C\+\+|Objective-C)
err_attribute_not_supported_on_arch
Error
Semantic Issue
Empty Group
.* attribute is not supported on '.*'
warn_gcc_ignores_type_attr
Warning
Semantic Issue
gcc-compat
GCC does not allow the .* attribute to be written on a type
warn_attribute_iboutlet
Warning
Semantic Issue
ignored-attributes
.* attribute can only be applied to instance variables or properties
err_iboutletcollection_type
Error
Semantic Issue
Empty Group
invalid type .* as argument of iboutletcollection attribute
err_iboutletcollection_builtintype
Error
Semantic Issue
Empty Group
type argument of iboutletcollection attribute cannot be a builtin type
warn_iboutlet_object_type
Warning
Semantic Issue
invalid-iboutlet
(instance variable|property) with .* attribute must be an object type \(invalid .*\)
warn_iboutletcollection_property_assign
Warning
Semantic Issue
invalid-iboutlet
IBOutletCollection properties should be copy/strong and not assign
err_attribute_overloadable_mismatch
Error
Semantic Issue
Empty Group
redeclaration of .* must (not |)have the 'overloadable' attribute
note_attribute_overloadable_prev_overload
Note
Semantic Issue
Empty Group
previous (unmarked |)overload of function is here
err_attribute_overloadable_no_prototype
Error
Semantic Issue
Empty Group
'overloadable' function .* must have a prototype
err_attribute_overloadable_multiple_unmarked_overloads
Error
Semantic Issue
Empty Group
at most one overload for a given name may lack the 'overloadable' attribute
warn_attribute_no_builtin_invalid_builtin_name
Warning
Semantic Issue
invalid-no-builtin-names
'.*' is not a valid builtin name for .*
err_attribute_no_builtin_wildcard_or_builtin_name
Error
Semantic Issue
Empty Group
empty .* cannot be composed with named ones
err_attribute_no_builtin_on_non_definition
Error
Semantic Issue
Empty Group
.* attribute is permitted on definitions only
err_attribute_no_builtin_on_defaulted_deleted_function
Error
Semantic Issue
Empty Group
.* attribute has no effect on defaulted or deleted functions
warn_ns_attribute_wrong_return_type
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to (functions|methods|properties) that return (an Objective-C object|a pointer|a non-retainable pointer)
err_ns_attribute_wrong_parameter_type
Error
Semantic Issue
Empty Group
.* attribute only applies to (Objective-C object|pointer|pointer-to-CF-pointer) parameters
warn_ns_attribute_wrong_parameter_type
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to (Objective-C object|pointer|pointer-to-CF-pointer|pointer/reference-to-OSObject-pointer) parameters
warn_objc_requires_super_protocol
Warning
Semantic Issue
requires-super-attribute
.* attribute cannot be applied to (methods in protocols|dealloc)
note_protocol_decl
Note
Semantic Issue
Empty Group
protocol is declared here
note_protocol_decl_undefined
Note
Semantic Issue
Empty Group
protocol .* has no definition
warn_objc_designated_init_missing_super_call
Warning
Semantic Issue
objc-designated-initializers
designated initializer missing a 'super' call to a designated initializer of the super class
note_objc_designated_init_marked_here
Note
Semantic Issue
Empty Group
method marked as designated initializer of the class here
warn_objc_designated_init_non_super_designated_init_call
Warning
Semantic Issue
objc-designated-initializers
designated initializer should only invoke a designated initializer on 'super'
warn_objc_designated_init_non_designated_init_call
Warning
Semantic Issue
objc-designated-initializers
designated initializer invoked a non-designated initializer
warn_objc_secondary_init_super_init_call
Warning
Semantic Issue
objc-designated-initializers
convenience initializer should not invoke an initializer on 'super'
warn_objc_secondary_init_missing_init_call
Warning
Semantic Issue
objc-designated-initializers
convenience initializer missing a 'self' call to another initializer
warn_objc_implementation_missing_designated_init_override
Warning
Semantic Issue
objc-designated-initializers
method override for the designated initializer of the superclass .* not found
err_designated_init_attr_non_init
Error
Semantic Issue
Empty Group
'objc_designated_initializer' attribute only applies to init methods of interface or class extension declarations
err_objc_attr_not_id
Error
Semantic Issue
Empty Group
parameter of .* attribute must be a single name of an Objective-C (class|protocol)
err_objc_attr_typedef_not_id
Error
Semantic Issue
Empty Group
parameter of .* attribute must be 'id' when used on a typedef
err_objc_attr_typedef_not_void_pointer
Error
Semantic Issue
Empty Group
'objc_bridge\(id\)' is only allowed on structs and typedefs of void pointers
err_objc_cf_bridged_not_interface
Error
Semantic Issue
Empty Group
CF object of type .* is bridged to .*, which is not an Objective-C class
err_objc_ns_bridged_invalid_cfobject
Error
Semantic Issue
Empty Group
ObjectiveC object of type .* is bridged to .*, which is not valid CF object
warn_objc_invalid_bridge
Warning
Semantic Issue
bridge-cast
.* bridges to .*, not .*
warn_objc_invalid_bridge_to_cf
Warning
Semantic Issue
bridge-cast
.* cannot bridge to .*
err_objc_bridged_related_invalid_class
Error
Semantic Issue
Empty Group
could not find Objective-C class .* to convert .* to .*
err_objc_bridged_related_invalid_class_name
Error
Semantic Issue
Empty Group
.* must be name of an Objective-C class to be able to convert .* to .*
err_objc_bridged_related_known_method
Error
Semantic Issue
Empty Group
.* must be explicitly converted to .*; use (.*|.*) method for this conversion
err_objc_attr_protocol_requires_definition
Error
Semantic Issue
Empty Group
attribute .* can only be applied to @protocol definitions, not forward declarations
warn_attr_swift_name_function
Warning
Semantic Issue
swift-name-attribute
.* attribute argument must be a string literal specifying a Swift function name
warn_attr_swift_name_invalid_identifier
Warning
Semantic Issue
swift-name-attribute
.* attribute has invalid identifier for the (base|context|parameter) name
warn_attr_swift_name_decl_kind
Warning
Semantic Issue
swift-name-attribute
.* attribute cannot be applied to this declaration
warn_attr_swift_name_subscript_invalid_parameter
Warning
Semantic Issue
swift-name-attribute
.* attribute for 'subscript' must (be a getter or setter|have at least one parameter|have a 'self:' parameter)
warn_attr_swift_name_missing_parameters
Warning
Semantic Issue
swift-name-attribute
.* attribute is missing parameter label clause
warn_attr_swift_name_setter_parameters
Warning
Semantic Issue
swift-name-attribute
.* attribute for setter must have one parameter for new value
warn_attr_swift_name_multiple_selfs
Warning
Semantic Issue
swift-name-attribute
.* attribute cannot specify more than one 'self:' parameter
warn_attr_swift_name_getter_parameters
Warning
Semantic Issue
swift-name-attribute
.* attribute for getter must not have any parameters besides 'self:'
warn_attr_swift_name_subscript_setter_no_newValue
Warning
Semantic Issue
swift-name-attribute
.* attribute for 'subscript' setter must have a 'newValue:' parameter
warn_attr_swift_name_subscript_setter_multiple_newValues
Warning
Semantic Issue
swift-name-attribute
.* attribute for 'subscript' setter cannot have multiple 'newValue:' parameters
warn_attr_swift_name_subscript_getter_newValue
Warning
Semantic Issue
swift-name-attribute
.* attribute for 'subscript' getter cannot have a 'newValue:' parameter
warn_attr_swift_name_num_params
Warning
Semantic Issue
swift-name-attribute
too (few|many) parameters in .* attribute \(expected .*; got .*\)
err_attr_swift_error_no_error_parameter
Error
Semantic Issue
Empty Group
.* attribute can only be applied to a (function|method) with an error parameter
err_attr_swift_error_return_type
Error
Semantic Issue
Empty Group
.* attribute with '.*' convention can only be applied to a (function|method) returning (an integral type|a pointer)
warn_swift_newtype_attribute_non_typedef
Warning
Semantic Issue
swift-newtype-attribute
'swift_newtype' attribute may be put on a typedef only; attribute is ignored
warn_ignored_objc_externally_retained
Warning
Semantic Issue
ignored-attributes
'objc_externally_retained' can only be applied to local variables (of retainable type|with strong ownership)
err_param_with_void_type
Error
Semantic Issue
Empty Group
argument may not have 'void' type
err_void_only_param
Error
Semantic Issue
Empty Group
'void' must be the first and only parameter if specified
err_void_param_qualified
Error
Semantic Issue
Empty Group
'void' as parameter must not have type qualifiers
err_ident_list_in_fn_declaration
Error
Semantic Issue
Empty Group
a parameter list without types is only allowed in a function definition
ext_param_not_declared
Extension
Semantic Issue
Empty Group
parameter .* was not declared, defaulting to type 'int'
err_param_default_argument
Error
Semantic Issue
Empty Group
C does not support default arguments
err_param_default_argument_redefinition
Error
Semantic Issue
Empty Group
redefinition of default argument
ext_param_default_argument_redefinition
ExtWarn
Semantic Issue
microsoft-default-arg-redefinition
err_param_default_argument_redefinition\.Text
err_param_default_argument_missing
Error
Semantic Issue
Empty Group
missing default argument on parameter
err_param_default_argument_missing_name
Error
Semantic Issue
Empty Group
missing default argument on parameter .*
err_param_default_argument_references_param
Error
Semantic Issue
Empty Group
default argument references parameter .*
err_param_default_argument_references_local
Error
Semantic Issue
Empty Group
default argument references local variable .* of enclosing function
err_param_default_argument_references_this
Error
Semantic Issue
Empty Group
default argument references 'this'
err_param_default_argument_nonfunc
Error
Semantic Issue
Empty Group
default arguments can only be specified for parameters in a function declaration
err_param_default_argument_template_redecl
Error
Semantic Issue
Empty Group
default arguments cannot be added to a function template that has already been declared
err_param_default_argument_member_template_redecl
Error
Semantic Issue
Empty Group
default arguments cannot be added to an out-of-line definition of a member of a (class template|class template partial specialization|nested class in a template)
err_param_default_argument_on_parameter_pack
Error
Semantic Issue
Empty Group
parameter pack cannot have a default argument
err_uninitialized_member_for_assign
Error
Semantic Issue
Empty Group
cannot define the implicit copy assignment operator for .*, because non-static (reference|const) member .* cannot use copy assignment operator
err_uninitialized_member_in_ctor
Error
Semantic Issue
Empty Group
(constructor for .*|implicit default constructor for .*|cannot use constructor inherited from .*:) must explicitly initialize the (reference|const) member .*
err_default_arg_makes_ctor_special
Error
Semantic Issue
Empty Group
addition of default argument on redeclaration makes this constructor a (default|copy|move) constructor
err_use_of_default_argument_to_function_declared_later
Error
Semantic Issue
Empty Group
use of default argument to function .* that is declared later in class .*
note_default_argument_declared_here
Note
Semantic Issue
Empty Group
default argument declared here
err_recursive_default_argument
Error
Semantic Issue
Empty Group
recursive evaluation of default argument
note_recursive_default_argument_used_here
Note
Semantic Issue
Empty Group
default argument used here
ext_param_promoted_not_compatible_with_prototype
ExtWarn
Semantic Issue
knr-promoted-parameter
(promoted type .* of K&R function parameter is not compatible with the parameter type .*|promoted type of K&R function parameter is not compatible with parameter type) declared in a previous prototype
err_ovl_diff_return_type
Error
Semantic Issue
Empty Group
functions that differ only in their return type cannot be overloaded
err_ovl_static_nonstatic_member
Error
Semantic Issue
Empty Group
static and non-static member functions with the same parameter types cannot be overloaded
err_ovl_no_viable_function_in_call
Error
Semantic Issue
Empty Group
no matching function for call to .*
err_ovl_no_viable_member_function_in_call
Error
Semantic Issue
Empty Group
no matching member function for call to .*
err_ovl_ambiguous_call
Error
Semantic Issue
Empty Group
call to .* is ambiguous
err_ovl_deleted_call
Error
Semantic Issue
Empty Group
call to deleted function .*
err_ovl_ambiguous_member_call
Error
Semantic Issue
Empty Group
call to member function .* is ambiguous
err_ovl_deleted_member_call
Error
Semantic Issue
Empty Group
call to deleted member function .*
note_ovl_too_many_candidates
Note
Semantic Issue
Empty Group
remaining .* candidate.* omitted; pass -fshow-overloads=all to show them
note_ovl_candidate
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*)(| has different class( \(expected .* but has .*\)|)| has different number of parameters \(expected .* but has .*\)| has type mismatch at .* parameter( \(expected .* but has .*\)|)| has different return type( \(.* expected but has .*\)|)| has different qualifiers \(expected .* but found .*\)| has different exception specification)
note_ovl_candidate_explicit
Note
Semantic Issue
Empty Group
explicit (constructor|conversion function|deduction guide) is not a candidate(| \(explicit specifier evaluates to true\))
note_ovl_candidate_inherited_constructor
Note
Semantic Issue
Empty Group
constructor from base class .* inherited here
note_ovl_candidate_inherited_constructor_slice
Note
Semantic Issue
Empty Group
candidate (constructor|template) ignored: inherited constructor cannot be used to (copy|move) object
note_ovl_candidate_illegal_constructor
Note
Semantic Issue
Empty Group
candidate (constructor|template) ignored: instantiation (takes|would take) its own class type by value
note_ovl_candidate_illegal_constructor_adrspace_mismatch
Note
Semantic Issue
Empty Group
candidate constructor ignored: cannot be used to construct an object in address space .*
note_ovl_candidate_bad_deduction
Note
Semantic Issue
Empty Group
candidate template ignored: failed template argument deduction
note_ovl_candidate_incomplete_deduction
Note
Semantic Issue
Empty Group
candidate template ignored: couldn't infer template argument .*
note_ovl_candidate_incomplete_deduction_pack
Note
Semantic Issue
Empty Group
candidate template ignored: deduced too few arguments for expanded pack .*; no argument for .* expanded parameter in deduced argument pack .*
note_ovl_candidate_inconsistent_deduction
Note
Semantic Issue
Empty Group
candidate template ignored: deduced (conflicting types|conflicting values|conflicting templates|packs of different lengths) for parameter .*( \(.* vs\. .*\)|)
note_ovl_candidate_inconsistent_deduction_types
Note
Semantic Issue
Empty Group
candidate template ignored: deduced values (of conflicting types for parameter .* \(.* of type .* vs\. .* of type .*\)|.* and .* of conflicting types for parameter .*)
note_ovl_candidate_explicit_arg_mismatch_named
Note
Semantic Issue
Empty Group
candidate template ignored: invalid explicitly-specified argument for template parameter .*
note_ovl_candidate_unsatisfied_constraints
Note
Semantic Issue
Empty Group
candidate template ignored: constraints not satisfied.*
note_ovl_candidate_explicit_arg_mismatch_unnamed
Note
Semantic Issue
Empty Group
candidate template ignored: invalid explicitly-specified argument for .* template parameter
note_ovl_candidate_instantiation_depth
Note
Semantic Issue
Empty Group
candidate template ignored: substitution exceeded maximum template instantiation depth
note_ovl_candidate_underqualified
Note
Semantic Issue
Empty Group
candidate template ignored: cannot deduce a type for .* that would make .* equal .*
note_ovl_candidate_substitution_failure
Note
Semantic Issue
Empty Group
candidate template ignored: substitution failure.*.*
note_ovl_candidate_disabled_by_enable_if
Note
Semantic Issue
Empty Group
candidate template ignored: disabled by .*.*
note_ovl_candidate_disabled_by_requirement
Note
Semantic Issue
Empty Group
candidate template ignored: requirement '.*' was not satisfied.*
note_ovl_candidate_has_pass_object_size_params
Note
Semantic Issue
Empty Group
candidate address cannot be taken because parameter .* has pass_object_size attribute
err_diagnose_if_succeeded
Error
Semantic Issue
Empty Group
.*
warn_diagnose_if_succeeded
Warning
Semantic Issue
user-defined-warnings
.*
note_ovl_candidate_disabled_by_function_cond_attr
Note
Semantic Issue
Empty Group
candidate disabled: .*
note_ovl_candidate_disabled_by_extension
Note
Semantic Issue
Empty Group
candidate unavailable as it requires OpenCL extension '.*' to be enabled
err_addrof_function_disabled_by_enable_if_attr
Error
Semantic Issue
Empty Group
cannot take address of function .* because it has one or more non-tautological enable_if conditions
err_addrof_function_constraints_not_satisfied
Error
Semantic Issue
Empty Group
cannot take address of function .* because its constraints are not satisfied
note_addrof_ovl_candidate_disabled_by_enable_if_attr
Note
Semantic Issue
Empty Group
candidate function made ineligible by enable_if
note_ovl_candidate_deduced_mismatch
Note
Semantic Issue
Empty Group
candidate template ignored: deduced type (.* of (|element of ).* parameter does not match adjusted type .* of (|element of )argument|of (|element of ).* parameter does not match adjusted type of (|element of )argument).*
note_ovl_candidate_non_deduced_mismatch
Note
Semantic Issue
Empty Group
candidate template ignored: could not match (.* against .*|types)
note_ovl_candidate_non_deduced_mismatch_qualified
Note
Semantic Issue
Empty Group
candidate template ignored: could not match .* against .*
note_ovl_candidate_arity
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: requires( at least| at most|) .* argument.*, but .* (was|were) provided
note_ovl_candidate_arity_one
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: (requires at least|allows at most single|requires single) argument .*, but (no|.*) arguments were provided
note_ovl_candidate_deleted
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) has been (explicitly made unavailable|explicitly deleted|implicitly deleted)
note_ovl_candidate_bad_conv_incomplete
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: cannot convert argument of incomplete type (.* to .*|to parameter type) for (.* argument|object argument)(|; dereference the argument with \*|; take the address of the argument with &|; remove \*|; remove &)
note_ovl_candidate_bad_list_argument
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: cannot convert initializer list argument to .*
note_ovl_candidate_bad_overload
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: no overload of .* matching .* for .* argument
note_ovl_candidate_bad_conv
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: no known conversion (from .* to .*|from argument type to parameter type) for (.* argument|object argument)(|; dereference the argument with \*|; take the address of the argument with &|; remove \*|; remove &)
note_ovl_candidate_bad_arc_conv
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: cannot implicitly convert argument (of type .* to .*|type to parameter type) for (.* argument|object argument) under ARC
note_ovl_candidate_bad_lvalue
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: expects an l-value for (.* argument|object argument)
note_ovl_candidate_bad_addrspace
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: cannot (pass pointer to|bind reference in) .* (as a pointer to|to object in) .* in .* argument
note_ovl_candidate_bad_addrspace_this
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: 'this' object is in .*, but method expects object in .*
note_ovl_candidate_bad_gc
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: (.*|'this') argument \(.*\) has (no|__weak|__strong) ownership, but parameter has (no|__weak|__strong) ownership
note_ovl_candidate_bad_ownership
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: (.*|'this') argument \(.*\) has (no|__unsafe_unretained|__strong|__weak|__autoreleasing) ownership, but parameter has (no|__unsafe_unretained|__strong|__weak|__autoreleasing) ownership
note_ovl_candidate_bad_ptrauth
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: .* argument \(.*\) has (no ptrauth|.*) qualifier, but parameter has (no ptrauth|.*) qualifier
note_ovl_candidate_bad_cvr_this
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: 'this' argument has type .*, but method is not marked (const|restrict|const or restrict|volatile|const or volatile|volatile or restrict|const, volatile, or restrict)
note_ovl_candidate_bad_cvr
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: .* argument \(.*\) would lose (const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict) qualifier(||s||s|s|s)
note_ovl_candidate_bad_unaligned
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: .* argument \(.*\) would lose __unaligned qualifier
note_ovl_candidate_bad_base_to_derived_conv
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: cannot (convert from|convert from|bind) (base class pointer|superclass|base class object of type) .* to (derived class pointer|subclass|derived class reference) .* for .* argument
note_ovl_candidate_bad_target
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: call to (__device__|__global__|__host__|__host__ __device__|invalid) function from (__device__|__global__|__host__|__host__ __device__|invalid) function
note_ovl_candidate_constraints_not_satisfied
Note
Semantic Issue
Empty Group
candidate (function|function|function \(with reversed parameter order\)|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\)|function \(the implicit 'operator==' for this 'operator<=>\)'|inherited constructor)(| template| .*) not viable: constraints not satisfied
note_implicit_member_target_infer_collision
Note
Semantic Issue
Empty Group
implicit (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) inferred target collision: call to both (__device__|__global__|__host__|__host__ __device__) and (__device__|__global__|__host__|__host__ __device__) members
note_ambiguous_type_conversion
Note
Semantic Issue
Empty Group
because of ambiguity in conversion (of .* to .*|between types)
note_ovl_builtin_candidate
Note
Semantic Issue
Empty Group
built-in candidate .*
err_ovl_no_viable_function_in_init
Error
Semantic Issue
Empty Group
no matching constructor for initialization of .*
err_ovl_no_conversion_in_cast
Error
Semantic Issue
Empty Group
cannot convert .* to .* without a conversion operator
err_ovl_no_viable_conversion_in_cast
Error
Semantic Issue
Empty Group
no matching conversion for (|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|) from .* to .*
err_ovl_ambiguous_conversion_in_cast
Error
Semantic Issue
Empty Group
ambiguous conversion for (|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|) from .* to .*
err_ovl_deleted_conversion_in_cast
Error
Semantic Issue
Empty Group
(|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|) from .* to .* uses deleted function
err_ovl_ambiguous_init
Error
Semantic Issue
Empty Group
call to constructor of .* is ambiguous
err_ref_init_ambiguous
Error
Semantic Issue
Empty Group
reference initialization of type .* with initializer of type .* is ambiguous
err_ovl_deleted_init
Error
Semantic Issue
Empty Group
call to deleted constructor of .*
err_ovl_deleted_special_init
Error
Semantic Issue
Empty Group
call to implicitly-deleted (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor|function) of .*
err_ovl_ambiguous_oper_unary
Error
Semantic Issue
Empty Group
use of overloaded operator '.*' is ambiguous \(operand type .*\)
err_ovl_ambiguous_oper_binary
Error
Semantic Issue
Empty Group
use of overloaded operator '.*' is ambiguous \(with operand types .* and .*\)
ext_ovl_ambiguous_oper_binary_reversed
ExtWarn
Semantic Issue
ambiguous-reversed-operator
ISO C\+\+20 considers use of overloaded operator '.*' \(with operand types .* and .*\) to be ambiguous despite there being a unique best viable function( with non-reversed arguments|)
note_ovl_ambiguous_oper_binary_reversed_self
Note
Semantic Issue
Empty Group
ambiguity is between a regular call to this operator and a call with the argument order reversed
note_ovl_ambiguous_oper_binary_selected_candidate
Note
Semantic Issue
Empty Group
candidate function with non-reversed arguments
note_ovl_ambiguous_oper_binary_reversed_candidate
Note
Semantic Issue
Empty Group
ambiguous candidate function with reversed arguments
err_ovl_no_viable_oper
Error
Semantic Issue
Empty Group
no viable overloaded '.*'
note_assign_lhs_incomplete
Note
Semantic Issue
Empty Group
type .* is incomplete
err_ovl_deleted_oper
Error
Semantic Issue
Empty Group
overload resolution selected deleted operator '.*'
err_ovl_deleted_special_oper
Error
Semantic Issue
Empty Group
object of type .* cannot be (constructed|copied|moved|assigned|assigned|destroyed) because its (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) is implicitly deleted
err_ovl_deleted_comparison
Error
Semantic Issue
Empty Group
object of type .* cannot be compared because its .* is implicitly deleted
err_ovl_rewrite_equalequal_not_bool
Error
Semantic Issue
Empty Group
return type .* of selected 'operator==' function for rewritten '.*' comparison is not 'bool'
ext_ovl_rewrite_equalequal_not_bool
ExtWarn
Semantic Issue
rewrite-not-bool
ISO C\+\+20 requires return type of selected 'operator==' function for rewritten '.*' comparison to be 'bool', not .*
err_ovl_no_viable_subscript
Error
Semantic Issue
Empty Group
no viable overloaded operator\[\] for type .*
err_ovl_no_oper
Error
Semantic Issue
Empty Group
type .* does not provide a (subscript|call) operator
err_ovl_unresolvable
Error
Semantic Issue
Empty Group
reference to (overloaded|multiversioned) function could not be resolved; did you mean to call it(| with no arguments)\?
err_bound_member_function
Error
Semantic Issue
Empty Group
reference to non-static member function must be called(|; did you mean to call it with no arguments\?)
note_possible_target_of_call
Note
Semantic Issue
Empty Group
possible target for call
err_ovl_no_viable_object_call
Error
Semantic Issue
Empty Group
no matching function for call to object of type .*
err_ovl_ambiguous_object_call
Error
Semantic Issue
Empty Group
call to object of type .* is ambiguous
err_ovl_deleted_object_call
Error
Semantic Issue
Empty Group
call to deleted function call operator in type .*
note_ovl_surrogate_cand
Note
Semantic Issue
Empty Group
conversion candidate of type .*
err_member_call_without_object
Error
Semantic Issue
Empty Group
call to non-static member function without an object argument
err_addr_ovl_no_viable
Error
Semantic Issue
Empty Group
address of overloaded function .* does not match required type .*
err_addr_ovl_ambiguous
Error
Semantic Issue
Empty Group
address of overloaded function .* is ambiguous
err_addr_ovl_not_func_ptrref
Error
Semantic Issue
Empty Group
address of overloaded function .* cannot be converted to type .*
err_addr_ovl_no_qualifier
Error
Semantic Issue
Empty Group
cannot form member pointer of type .* without '&' and class name
err_ovl_no_viable_literal_operator
Error
Semantic Issue
Empty Group
no matching literal operator for call to .*(| with argument of type .*| with arguments of types .* and .*)(| or 'const char \*')(|, and no matching literal operator template)
err_template_param_shadow
Error
Semantic Issue
Empty Group
declaration of .* shadows template parameter
ext_template_param_shadow
ExtWarn
Semantic Issue
microsoft-template-shadow
err_template_param_shadow\.Text
note_template_param_here
Note
Semantic Issue
Empty Group
template parameter is declared here
warn_template_export_unsupported
Warning
Semantic Issue
Empty Group
exported templates are unsupported
err_template_outside_namespace_or_class_scope
Error
Semantic Issue
Empty Group
templates can only be declared in namespace or class scope
err_template_inside_local_class
Error
Semantic Issue
Empty Group
templates cannot be declared inside of a local class
err_template_linkage
Error
Semantic Issue
Empty Group
templates must have C\+\+ linkage
err_template_typedef
Error
Semantic Issue
Empty Group
a typedef cannot be a template
err_template_unnamed_class
Error
Semantic Issue
Empty Group
cannot declare a class template with no name
err_template_param_list_different_arity
Error
Semantic Issue
Empty Group
(too few|too many) template parameters in template (|template parameter )redeclaration
note_template_param_list_different_arity
Note
Semantic Issue
Empty Group
(too few|too many) template parameters in template template argument
note_template_prev_declaration
Note
Semantic Issue
Empty Group
previous template (declaration|template parameter) is here
err_template_param_different_kind
Error
Semantic Issue
Empty Group
template parameter has a different kind in template (|template parameter )redeclaration
note_template_param_different_kind
Note
Semantic Issue
Empty Group
template parameter has a different kind in template argument
err_invalid_decl_specifier_in_nontype_parm
Error
Semantic Issue
Empty Group
invalid declaration specifier in template non-type parameter
err_template_nontype_parm_different_type
Error
Semantic Issue
Empty Group
template non-type parameter has a different type .* in template (|template parameter )redeclaration
note_template_nontype_parm_different_type
Note
Semantic Issue
Empty Group
template non-type parameter has a different type .* in template argument
note_template_nontype_parm_prev_declaration
Note
Semantic Issue
Empty Group
previous non-type template parameter with type .* is here
err_template_nontype_parm_bad_type
Error
Semantic Issue
Empty Group
a non-type template parameter cannot have type .*
err_template_nontype_parm_bad_structural_type
Error
Semantic Issue
Empty Group
a non-type template parameter cannot have type .* before C\+\+20
err_template_nontype_parm_incomplete
Error
Semantic Issue
Empty Group
non-type template parameter has incomplete type .*
err_template_nontype_parm_not_literal
Error
Semantic Issue
Empty Group
non-type template parameter has non-literal type .*
err_template_nontype_parm_rvalue_ref
Error
Semantic Issue
Empty Group
non-type template parameter has rvalue reference type .*
err_template_nontype_parm_not_structural
Error
Semantic Issue
Empty Group
type .* of non-type template parameter is not a structural type
note_not_structural_non_public
Note
Semantic Issue
Empty Group
.* is not a structural type because it has a (non-static data member|base class) that is not public
note_not_structural_mutable_field
Note
Semantic Issue
Empty Group
.* is not a structural type because it has a mutable non-static data member
note_not_structural_rvalue_ref_field
Note
Semantic Issue
Empty Group
.* is not a structural type because it has a non-static data member of rvalue reference type
note_not_structural_subobject
Note
Semantic Issue
Empty Group
.* is not a structural type because it has a (non-static data member|base class) of non-structural type .*
warn_cxx14_compat_template_nontype_parm_auto_type
Warning
Semantic Issue
c++98-c++11-c++14-compat
non-type template parameters declared with .* are incompatible with C\+\+ standards before C\+\+17
err_template_param_default_arg_redefinition
Error
Semantic Issue
Empty Group
template parameter redefines default argument
note_template_param_prev_default_arg
Note
Semantic Issue
Empty Group
previous default template argument defined here
err_template_param_default_arg_missing
Error
Semantic Issue
Empty Group
template parameter missing a default argument
ext_template_parameter_default_in_function_template
ExtWarn
Semantic Issue
c++11-extensions
default template arguments for a function template are a C\+\+11 extension
warn_cxx98_compat_template_parameter_default_in_function_template
Warning
Semantic Issue
c++98-compat
default template arguments for a function template are incompatible with C\+\+98
err_template_parameter_default_template_member
Error
Semantic Issue
Empty Group
cannot add a default template argument to the definition of a member of a class template
err_template_parameter_default_friend_template
Error
Semantic Issue
Empty Group
default template argument not permitted on a friend template
err_template_template_parm_no_parms
Error
Semantic Issue
Empty Group
template template parameter must have its own template parameters
ext_variable_template
ExtWarn
Semantic Issue
c++14-extensions
variable templates are a C\+\+14 extension
warn_cxx11_compat_variable_template
Warning
Semantic Issue
c++98-c++11-compat
variable templates are incompatible with C\+\+ standards before C\+\+14
err_template_variable_noparams
Error
Semantic Issue
Empty Group
extraneous 'template<>' in declaration of variable .*
err_template_member
Error
Semantic Issue
Empty Group
member .* declared as a template
err_template_member_noparams
Error
Semantic Issue
Empty Group
extraneous 'template<>' in declaration of member .*
err_template_tag_noparams
Error
Semantic Issue
Empty Group
extraneous 'template<>' in declaration of .* .*
warn_cxx17_compat_adl_only_template_id
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
use of function template name with no prior function template declaration in function call with explicit template arguments is incompatible with C\+\+ standards before C\+\+20
ext_adl_only_template_id
ExtWarn
Semantic Issue
c++20-extensions
use of function template name with no prior declaration in function call with explicit template arguments is a C\+\+20 extension
err_template_missing_args
Error
Semantic Issue
Empty Group
use of (class template|function template|variable template|alias template|template template parameter|concept|template) .* requires template arguments
err_template_arg_list_different_arity
Error
Semantic Issue
Empty Group
(too few|too many) template arguments for (class template|function template|variable template|alias template|template template parameter|concept|template) .*
note_template_decl_here
Note
Semantic Issue
Empty Group
template is declared here
err_template_arg_must_be_type
Error
Semantic Issue
Empty Group
template argument for template type parameter must be a type
err_template_arg_must_be_type_suggest
Error
Semantic Issue
Empty Group
template argument for template type parameter must be a type; did you forget 'typename'\?
ext_ms_template_type_arg_missing_typename
ExtWarn
Semantic Issue
microsoft-template
template argument for template type parameter must be a type; omitted 'typename' is a Microsoft extension
err_template_arg_must_be_expr
Error
Semantic Issue
Empty Group
template argument for non-type template parameter must be an expression
err_template_arg_nontype_ambig
Error
Semantic Issue
Empty Group
template argument for non-type template parameter is treated as function type .*
err_template_arg_must_be_template
Error
Semantic Issue
Empty Group
template argument for template template parameter must be a class template(| or type alias template)
ext_template_arg_local_type
ExtWarn
Semantic Issue
local-type-template-args
template argument uses local type .*
ext_template_arg_unnamed_type
ExtWarn
Semantic Issue
unnamed-type-template-args
template argument uses unnamed type
warn_cxx98_compat_template_arg_local_type
Warning
Semantic Issue
c++98-compat-local-type-template-args
local type .* as template argument is incompatible with C\+\+98
warn_cxx98_compat_template_arg_unnamed_type
Warning
Semantic Issue
c++98-compat-unnamed-type-template-args
unnamed type as template argument is incompatible with C\+\+98
note_template_unnamed_type_here
Note
Semantic Issue
Empty Group
unnamed type used in template argument was declared here
err_template_arg_overload_type
Error
Semantic Issue
Empty Group
template argument is the type of an unresolved overloaded function
err_template_arg_not_valid_template
Error
Semantic Issue
Empty Group
template argument does not refer to a class or alias template, or template template parameter
note_template_arg_refers_here_func
Note
Semantic Issue
Empty Group
template argument refers to function template .*, here
err_template_arg_template_params_mismatch
Error
Semantic Issue
Empty Group
template template argument has different template parameters than its corresponding template template parameter
err_template_arg_not_integral_or_enumeral
Error
Semantic Issue
Empty Group
non-type template argument of type .* must have an integral or enumeration type
err_template_arg_not_ice
Error
Semantic Issue
Empty Group
non-type template argument of type .* is not an integral constant expression
err_template_arg_not_address_constant
Error
Semantic Issue
Empty Group
non-type template argument of type .* is not a constant expression
warn_cxx98_compat_template_arg_null
Warning
Semantic Issue
c++98-compat
use of null pointer as non-type template argument is incompatible with C\+\+98
err_template_arg_untyped_null_constant
Error
Semantic Issue
Empty Group
null non-type template argument must be cast to template parameter type .*
err_template_arg_wrongtype_null_constant
Error
Semantic Issue
Empty Group
null non-type template argument of type .* does not match template parameter of type .*
err_non_type_template_parm_type_deduction_failure
Error
Semantic Issue
Empty Group
non-type template parameter .* with type .* has incompatible initializer of type .*
err_deduced_non_type_template_arg_type_mismatch
Error
Semantic Issue
Empty Group
deduced non-type template argument does not have the same type as the corresponding template parameter( \(.* vs .*\)|)
err_non_type_template_arg_subobject
Error
Semantic Issue
Empty Group
non-type template argument refers to subobject '.*'
err_non_type_template_arg_addr_label_diff
Error
Semantic Issue
Empty Group
template argument / label address difference / what did you expect\?
err_non_type_template_arg_unsupported
Error
Semantic Issue
Empty Group
sorry, non-type template argument of type .* is not yet supported
err_template_arg_not_convertible
Error
Semantic Issue
Empty Group
non-type template argument of type .* cannot be converted to a value of type .*
warn_template_arg_negative
Warning
Semantic Issue
conversion
non-type template argument with value '.*' converted to '.*' for unsigned template parameter of type .*
warn_template_arg_too_large
Warning
Semantic Issue
conversion
non-type template argument value '.*' truncated to '.*' for template parameter of type .*
err_template_arg_no_ref_bind
Error
Semantic Issue
Empty Group
non-type template parameter of reference type (.* cannot bind to template argument of type .*|cannot bind to template of incompatible argument type)
err_template_arg_ref_bind_ignores_quals
Error
Semantic Issue
Empty Group
reference binding of non-type template parameter (of type .* to template argument of type .*|to template argument) ignores qualifiers
err_template_arg_not_decl_ref
Error
Semantic Issue
Empty Group
non-type template argument does not refer to any declaration
err_template_arg_not_address_of
Error
Semantic Issue
Empty Group
non-type template argument for template parameter of pointer type .* must have its address taken
err_template_arg_address_of_non_pointer
Error
Semantic Issue
Empty Group
address taken in non-type template argument for template parameter of reference type .*
err_template_arg_reference_var
Error
Semantic Issue
Empty Group
non-type template argument of reference type .* is not an object
err_template_arg_field
Error
Semantic Issue
Empty Group
non-type template argument refers to non-static data member .*
err_template_arg_method
Error
Semantic Issue
Empty Group
non-type template argument refers to non-static member function .*
err_template_arg_object_no_linkage
Error
Semantic Issue
Empty Group
non-type template argument refers to (function|object) .* that does not have linkage
warn_cxx98_compat_template_arg_object_internal
Warning
Semantic Issue
c++98-compat
non-type template argument referring to (function|object) .* with internal linkage is incompatible with C\+\+98
ext_template_arg_object_internal
ExtWarn
Semantic Issue
c++11-extensions
non-type template argument referring to (function|object) .* with internal linkage is a C\+\+11 extension
err_template_arg_thread_local
Error
Semantic Issue
Empty Group
non-type template argument refers to thread-local object
note_template_arg_internal_object
Note
Semantic Issue
Empty Group
non-type template argument refers to (function|object) here
note_template_arg_refers_here
Note
Semantic Issue
Empty Group
non-type template argument refers here
err_template_arg_not_object_or_func
Error
Semantic Issue
Empty Group
non-type template argument does not refer to an object or function
err_template_arg_not_pointer_to_member_form
Error
Semantic Issue
Empty Group
non-type template argument is not a pointer to member constant
err_template_arg_member_ptr_base_derived_not_supported
Error
Semantic Issue
Empty Group
sorry, non-type template argument of pointer-to-member type .* that refers to member .* of a different class is not supported yet
ext_template_arg_extra_parens
ExtWarn
Semantic Issue
Empty Group
address non-type template argument cannot be surrounded by parentheses
warn_cxx98_compat_template_arg_extra_parens
Warning
Semantic Issue
c++98-compat
redundant parentheses surrounding address non-type template argument are incompatible with C\+\+98
err_pointer_to_member_type
Error
Semantic Issue
Empty Group
invalid use of pointer to member type after (\.\*|->\*)
err_pointer_to_member_call_drops_quals
Error
Semantic Issue
Empty Group
call to pointer to member function of type .* drops '.*' qualifier.*
err_pointer_to_member_oper_value_classify
Error
Semantic Issue
Empty Group
pointer-to-member function type .* can only be called on an (rvalue|lvalue)
ext_pointer_to_const_ref_member_on_rvalue
Extension
Semantic Issue
c++20-extensions
invoking a pointer to a 'const &' member function on an rvalue is a C\+\+20 extension
warn_cxx17_compat_pointer_to_const_ref_member_on_rvalue
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat-pedantic
invoking a pointer to a 'const &' member function on an rvalue is incompatible with C\+\+ standards before C\+\+20
ext_ms_deref_template_argument
ExtWarn
Semantic Issue
microsoft-template
non-type template argument containing a dereference operation is a Microsoft extension
ext_ms_delayed_template_argument
ExtWarn
Semantic Issue
microsoft-template
using the undeclared type .* as a default template argument is a Microsoft extension
err_template_arg_deduced_incomplete_pack
Error
Semantic Issue
Empty Group
deduced incomplete pack .* for template parameter .*
err_template_spec_unknown_kind
Error
Semantic Issue
Empty Group
can only provide an explicit specialization for a class template, function template, variable template, or a member function, static data member, (or member class|member class, or member enumeration) of a class template
note_specialized_entity
Note
Semantic Issue
Empty Group
explicitly specialized declaration is here
note_explicit_specialization_declared_here
Note
Semantic Issue
Empty Group
explicit specialization declared here
err_template_spec_decl_function_scope
Error
Semantic Issue
Empty Group
explicit specialization of .* in function scope
err_template_spec_decl_friend
Error
Semantic Issue
Empty Group
cannot declare an explicit specialization in a friend
err_template_spec_redecl_out_of_scope
Error
Semantic Issue
Empty Group
(class template|class template partial|variable template|variable template partial|function template|member function|static data member|member class|member enumeration) specialization of .* not in (a namespace enclosing .*|class .* or an enclosing namespace)
ext_ms_template_spec_redecl_out_of_scope
ExtWarn
Semantic Issue
microsoft-template
(class template|class template partial|variable template|variable template partial|function template|member function|static data member|member class|member enumeration) specialization of .* not in (a namespace enclosing .*|class .* or an enclosing namespace) is a Microsoft extension
err_template_spec_redecl_global_scope
Error
Semantic Issue
Empty Group
(class template|class template partial|variable template|variable template partial|function template|member function|static data member|member class|member enumeration) specialization of .* must occur at global scope
err_spec_member_not_instantiated
Error
Semantic Issue
Empty Group
specialization of member .* does not specialize an instantiated member
note_specialized_decl
Note
Semantic Issue
Empty Group
attempt to specialize declaration here
err_specialization_after_instantiation
Error
Semantic Issue
Empty Group
explicit specialization of .* after instantiation
note_instantiation_required_here
Note
Semantic Issue
Empty Group
(implicit|explicit) instantiation first required here
err_template_spec_friend
Error
Semantic Issue
Empty Group
template specialization declaration cannot be a friend
err_template_spec_default_arg
Error
Semantic Issue
Empty Group
default argument not permitted on an explicit (instantiation|specialization) of function .*
err_not_class_template_specialization
Error
Semantic Issue
Empty Group
cannot specialize a (dependent template|template template parameter)
ext_explicit_specialization_storage_class
ExtWarn
Semantic Issue
Empty Group
explicit specialization cannot have a storage class
err_explicit_specialization_inconsistent_storage_class
Error
Semantic Issue
Empty Group
explicit specialization has extraneous, inconsistent storage class '(none|extern|static|__private_extern__|auto|register)'
err_dependent_function_template_spec_no_match
Error
Semantic Issue
Empty Group
no candidate function template was found for dependent friend function template specialization
note_dependent_function_template_spec_discard_reason
Note
Semantic Issue
Empty Group
candidate ignored: (not a function template|not a member of the enclosing namespace; did you mean to explicitly qualify the specialization\?)
err_template_spec_needs_header
Error
Semantic Issue
Empty Group
template specialization requires 'template<>'
err_template_spec_needs_template_parameters
Error
Semantic Issue
Empty Group
template specialization or definition requires a template parameter list corresponding to the nested type .*
err_template_param_list_matches_nontemplate
Error
Semantic Issue
Empty Group
template parameter list matching the non-templated nested type .* should be empty \('template<>'\)
err_alias_template_extra_headers
Error
Semantic Issue
Empty Group
extraneous template parameter list in alias template declaration
err_template_spec_extra_headers
Error
Semantic Issue
Empty Group
extraneous template parameter list in template specialization or out-of-line template definition
warn_template_spec_extra_headers
Warning
Semantic Issue
Empty Group
extraneous template parameter list in template specialization
note_explicit_template_spec_does_not_need_header
Note
Semantic Issue
Empty Group
'template<>' header not required for explicitly-specialized class .* declared here
err_template_qualified_declarator_no_match
Error
Semantic Issue
Empty Group
nested name specifier '.*' for declaration does not refer into a class, class template or class template partial specialization
err_specialize_member_of_template
Error
Semantic Issue
Empty Group
cannot specialize (|\(with 'template<>'\) )a member of an unspecialized template
err_default_arg_in_partial_spec
Error
Semantic Issue
Empty Group
default template argument in a class template partial specialization
err_dependent_non_type_arg_in_partial_spec
Error
Semantic Issue
Empty Group
type of specialized non-type template argument depends on a template parameter of the partial specialization
note_dependent_non_type_default_arg_in_partial_spec
Note
Semantic Issue
Empty Group
template parameter is used in default argument declared here
err_dependent_typed_non_type_arg_in_partial_spec
Error
Semantic Issue
Empty Group
non-type template argument specializes a template parameter with dependent type .*
err_partial_spec_args_match_primary_template
Error
Semantic Issue
Empty Group
(class|variable) template partial specialization does not specialize any template argument; to (declare|define) the primary template, remove the template argument list
ext_partial_spec_not_more_specialized_than_primary
ExtWarn
Semantic Issue
invalid-partial-specialization
(class|variable) template partial specialization is not more specialized than the primary template
note_partial_spec_not_more_specialized_than_primary
Note
Semantic Issue
Empty Group
.*
ext_partial_specs_not_deducible
ExtWarn
Semantic Issue
unusable-partial-specialization
(class|variable) template partial specialization contains (a template parameter|template parameters) that cannot be deduced; this partial specialization will never be used
note_non_deducible_parameter
Note
Semantic Issue
Empty Group
non-deducible template parameter .*
err_partial_spec_ordering_ambiguous
Error
Semantic Issue
Empty Group
ambiguous partial specializations of .*
note_partial_spec_match
Note
Semantic Issue
Empty Group
partial specialization matches .*
err_partial_spec_redeclared
Error
Semantic Issue
Empty Group
class template partial specialization .* cannot be redeclared
note_partial_specialization_declared_here
Note
Semantic Issue
Empty Group
explicit specialization declared here
note_prev_partial_spec_here
Note
Semantic Issue
Empty Group
previous declaration of class template partial specialization .* is here
err_partial_spec_fully_specialized
Error
Semantic Issue
Empty Group
partial specialization of .* does not use any of its template parameters
err_var_partial_spec_redeclared
Error
Semantic Issue
Empty Group
variable template partial specialization .* cannot be redefined
note_var_prev_partial_spec_here
Note
Semantic Issue
Empty Group
previous declaration of variable template partial specialization is here
err_var_spec_no_template
Error
Semantic Issue
Empty Group
no variable template matches(| partial) specialization
err_var_spec_no_template_but_method
Error
Semantic Issue
Empty Group
no variable template matches specialization; did you mean to use .* as function template instead\?
err_function_template_spec_no_match
Error
Semantic Issue
Empty Group
no function template matches function template specialization .*
err_function_template_spec_ambiguous
Error
Semantic Issue
Empty Group
function template specialization .* ambiguously refers to more than one function template; explicitly specify(| additional) template arguments to identify a particular function template
note_function_template_spec_matched
Note
Semantic Issue
Empty Group
function template .* matches specialization .*
err_function_template_partial_spec
Error
Semantic Issue
Empty Group
function template partial specialization is not allowed
err_template_recursion_depth_exceeded
Error
Semantic Issue
Empty Group
recursive template instantiation exceeded maximum depth of .*
note_template_recursion_depth
Note
Semantic Issue
Empty Group
use -ftemplate-depth=N to increase recursive template instantiation depth
err_template_instantiate_within_definition
Error
Semantic Issue
Empty Group
(implicit|explicit) instantiation of template .* within its own definition
err_template_instantiate_undefined
Error
Semantic Issue
Empty Group
(implicit|explicit) instantiation of undefined template .*
err_implicit_instantiate_member_undefined
Error
Semantic Issue
Empty Group
implicit instantiation of undefined member .*
note_template_class_instantiation_was_here
Note
Semantic Issue
Empty Group
class template .* was instantiated here
note_template_class_explicit_specialization_was_here
Note
Semantic Issue
Empty Group
class template .* was explicitly specialized here
note_template_class_instantiation_here
Note
Semantic Issue
Empty Group
in instantiation of template class .* requested here
note_template_member_class_here
Note
Semantic Issue
Empty Group
in instantiation of member class .* requested here
note_template_member_function_here
Note
Semantic Issue
Empty Group
in instantiation of member function .* requested here
note_function_template_spec_here
Note
Semantic Issue
Empty Group
in instantiation of function template specialization .* requested here
note_template_static_data_member_def_here
Note
Semantic Issue
Empty Group
in instantiation of static data member .* requested here
note_template_variable_def_here
Note
Semantic Issue
Empty Group
in instantiation of variable template specialization .* requested here
note_template_enum_def_here
Note
Semantic Issue
Empty Group
in instantiation of enumeration .* requested here
note_template_nsdmi_here
Note
Semantic Issue
Empty Group
in instantiation of default member initializer .* requested here
note_template_type_alias_instantiation_here
Note
Semantic Issue
Empty Group
in instantiation of template type alias .* requested here
note_template_exception_spec_instantiation_here
Note
Semantic Issue
Empty Group
in instantiation of exception specification for .* requested here
note_template_requirement_instantiation_here
Note
Semantic Issue
Empty Group
in instantiation of requirement here
warn_var_template_missing
Warning
Semantic Issue
undefined-var-template
instantiation of variable .* required here, but no definition is available
warn_func_template_missing
Warning
Semantic Issue
undefined-func-template
instantiation of function .* required here, but no definition is available
note_forward_template_decl
Note
Semantic Issue
Empty Group
forward declaration of template entity is here
note_inst_declaration_hint
Note
Semantic Issue
Empty Group
add an explicit instantiation declaration to suppress this warning if .* is explicitly instantiated in another translation unit
note_evaluating_exception_spec_here
Note
Semantic Issue
Empty Group
in evaluation of exception specification for .* needed here
note_default_arg_instantiation_here
Note
Semantic Issue
Empty Group
in instantiation of default argument for '.*' required here
note_default_function_arg_instantiation_here
Note
Semantic Issue
Empty Group
in instantiation of default function argument expression for '.*' required here
note_explicit_template_arg_substitution_here
Note
Semantic Issue
Empty Group
while substituting explicitly-specified template arguments into function template .* .*
note_function_template_deduction_instantiation_here
Note
Semantic Issue
Empty Group
while substituting deduced template arguments into function template .* .*
note_deduced_template_arg_substitution_here
Note
Semantic Issue
Empty Group
during template argument deduction for (class|variable) template (partial specialization |).* .*
note_prior_template_arg_substitution
Note
Semantic Issue
Empty Group
while substituting prior template arguments into (non-type|template) template parameter.* .*
note_template_default_arg_checking
Note
Semantic Issue
Empty Group
while checking a default template argument used here
note_concept_specialization_here
Note
Semantic Issue
Empty Group
while checking the satisfaction of concept '.*' requested here
note_nested_requirement_here
Note
Semantic Issue
Empty Group
while checking the satisfaction of nested requirement requested here
note_checking_constraints_for_template_id_here
Note
Semantic Issue
Empty Group
while checking constraint satisfaction for template '.*' required here
note_checking_constraints_for_var_spec_id_here
Note
Semantic Issue
Empty Group
while checking constraint satisfaction for variable template partial specialization '.*' required here
note_checking_constraints_for_class_spec_id_here
Note
Semantic Issue
Empty Group
while checking constraint satisfaction for class template partial specialization '.*' required here
note_checking_constraints_for_function_here
Note
Semantic Issue
Empty Group
while checking constraint satisfaction for function '.*' required here
note_constraint_substitution_here
Note
Semantic Issue
Empty Group
while substituting template arguments into constraint expression here
note_constraint_normalization_here
Note
Semantic Issue
Empty Group
while calculating associated constraint of template '.*' here
note_parameter_mapping_substitution_here
Note
Semantic Issue
Empty Group
while substituting into concept arguments here; substitution failures not allowed in concept arguments
note_instantiation_contexts_suppressed
Note
Semantic Issue
Empty Group
\(skipping .* context.* in backtrace; use -ftemplate-backtrace-limit=0 to see all\)
err_field_instantiates_to_function
Error
Semantic Issue
Empty Group
data member instantiated with function type .*
err_variable_instantiates_to_function
Error
Semantic Issue
Empty Group
(variable|static data member) instantiated with function type .*
err_nested_name_spec_non_tag
Error
Semantic Issue
Empty Group
type .* cannot be used prior to '::' because it has no members
err_using_pack_expansion_empty
Error
Semantic Issue
Empty Group
(|member) using declaration .* instantiates to an empty pack
err_explicit_instantiation_duplicate
Error
Semantic Issue
Empty Group
duplicate explicit instantiation of .*
ext_explicit_instantiation_duplicate
ExtWarn
Semantic Issue
microsoft-template
duplicate explicit instantiation of .* ignored as a Microsoft extension
note_previous_explicit_instantiation
Note
Semantic Issue
Empty Group
previous explicit instantiation is here
warn_explicit_instantiation_after_specialization
Warning
Semantic Issue
instantiation-after-specialization
explicit instantiation of .* that occurs after an explicit specialization has no effect
note_previous_template_specialization
Note
Semantic Issue
Empty Group
previous template specialization is here
err_explicit_instantiation_nontemplate_type
Error
Semantic Issue
Empty Group
explicit instantiation of non-templated type .*
note_nontemplate_decl_here
Note
Semantic Issue
Empty Group
non-templated declaration is here
err_explicit_instantiation_in_class
Error
Semantic Issue
Empty Group
explicit instantiation of .* in class scope
err_explicit_instantiation_out_of_scope
Error
Semantic Issue
Empty Group
explicit instantiation of .* not in a namespace enclosing .*
err_explicit_instantiation_must_be_global
Error
Semantic Issue
Empty Group
explicit instantiation of .* must occur at global scope
warn_explicit_instantiation_out_of_scope_0x
Warning
Semantic Issue
c++11-compat
explicit instantiation of .* not in a namespace enclosing .*
warn_explicit_instantiation_must_be_global_0x
Warning
Semantic Issue
c++11-compat
explicit instantiation of .* must occur at global scope
err_explicit_instantiation_requires_name
Error
Semantic Issue
Empty Group
explicit instantiation declaration requires a name
err_explicit_instantiation_of_typedef
Error
Semantic Issue
Empty Group
explicit instantiation of typedef .*
err_explicit_instantiation_storage_class
Error
Semantic Issue
Empty Group
explicit instantiation cannot have a storage class
err_explicit_instantiation_internal_linkage
Error
Semantic Issue
Empty Group
explicit instantiation declaration of .* with internal linkage
err_explicit_instantiation_not_known
Error
Semantic Issue
Empty Group
explicit instantiation of .* does not refer to a function template, variable template, member function, member class, or static data member
note_explicit_instantiation_here
Note
Semantic Issue
Empty Group
explicit instantiation refers here
err_explicit_instantiation_data_member_not_instantiated
Error
Semantic Issue
Empty Group
explicit instantiation refers to static data member .* that is not an instantiation
err_explicit_instantiation_member_function_not_instantiated
Error
Semantic Issue
Empty Group
explicit instantiation refers to member function .* that is not an instantiation
err_explicit_instantiation_ambiguous
Error
Semantic Issue
Empty Group
partial ordering for explicit instantiation of .* is ambiguous
note_explicit_instantiation_candidate
Note
Semantic Issue
Empty Group
explicit instantiation candidate function .* template here .*
err_explicit_instantiation_inline
Error
Semantic Issue
Empty Group
explicit instantiation cannot be 'inline'
warn_explicit_instantiation_inline_0x
Warning
Semantic Issue
c++11-compat
explicit instantiation cannot be 'inline'
err_explicit_instantiation_constexpr
Error
Semantic Issue
Empty Group
explicit instantiation cannot be 'constexpr'
ext_explicit_instantiation_without_qualified_id
Extension
Semantic Issue
Empty Group
qualifier in explicit instantiation of .* requires a template-id \(a typedef is not permitted\)
err_explicit_instantiation_without_template_id
Error
Semantic Issue
Empty Group
explicit instantiation of .* must specify a template argument list
err_explicit_instantiation_unqualified_wrong_namespace
Error
Semantic Issue
Empty Group
explicit instantiation of .* must occur in namespace .*
warn_explicit_instantiation_unqualified_wrong_namespace_0x
Warning
Semantic Issue
c++11-compat
explicit instantiation of .* must occur in namespace .*
err_explicit_instantiation_undefined_member
Error
Semantic Issue
Empty Group
explicit instantiation of undefined (member class|member function|static data member) .* of class template .*
err_explicit_instantiation_undefined_func_template
Error
Semantic Issue
Empty Group
explicit instantiation of undefined function template .*
err_explicit_instantiation_undefined_var_template
Error
Semantic Issue
Empty Group
explicit instantiation of undefined variable template .*
err_explicit_instantiation_declaration_after_definition
Error
Semantic Issue
Empty Group
explicit instantiation declaration \(with 'extern'\) follows explicit instantiation definition \(without 'extern'\)
note_explicit_instantiation_definition_here
Note
Semantic Issue
Empty Group
explicit instantiation definition is here
err_invalid_var_template_spec_type
Error
Semantic Issue
Empty Group
type .* of (explicit instantiation|explicit specialization|partial specialization|redeclaration) of .* does not match expected type .*
err_mismatched_exception_spec_explicit_instantiation
Error
Semantic Issue
Empty Group
exception specification in explicit instantiation does not match instantiated one
ext_mismatched_exception_spec_explicit_instantiation
ExtWarn
Semantic Issue
microsoft-exception-spec
err_mismatched_exception_spec_explicit_instantiation\.Text
err_explicit_instantiation_dependent
Error
Semantic Issue
Empty Group
explicit instantiation has dependent template arguments
err_typename_nested_not_found
Error
Semantic Issue
Empty Group
no type named .* in .*
err_typename_nested_not_found_enable_if
Error
Semantic Issue
Empty Group
no type named 'type' in .*; 'enable_if' cannot be used to disable this declaration
err_typename_nested_not_found_requirement
Error
Semantic Issue
Empty Group
failed requirement '.*'; 'enable_if' cannot be used to disable this declaration
err_typename_nested_not_type
Error
Semantic Issue
Empty Group
typename specifier refers to non-type member .* in .*
err_typename_not_type
Error
Semantic Issue
Empty Group
typename specifier refers to non-type .*
note_typename_member_refers_here
Note
Semantic Issue
Empty Group
referenced member .* is declared here
note_typename_refers_here
Note
Semantic Issue
Empty Group
referenced .* is declared here
err_typename_missing
Error
Semantic Issue
Empty Group
missing 'typename' prior to dependent type name '.*.*'
err_typename_missing_template
Error
Semantic Issue
Empty Group
missing 'typename' prior to dependent type template name '.*.*'
ext_typename_missing
ExtWarn
Semantic Issue
typename-missing
missing 'typename' prior to dependent type name '.*.*'
ext_typename_outside_of_template
ExtWarn
Semantic Issue
c++11-extensions
'typename' occurs outside of a template
warn_cxx98_compat_typename_outside_of_template
Warning
Semantic Issue
c++98-compat
use of 'typename' outside of a template is incompatible with C\+\+98
err_typename_refers_to_using_value_decl
Error
Semantic Issue
Empty Group
typename specifier refers to a dependent using declaration for a value .* in .*
note_using_value_decl_missing_typename
Note
Semantic Issue
Empty Group
add 'typename' to treat this using declaration as a type
err_template_kw_refers_to_non_template
Error
Semantic Issue
Empty Group
.*(| following the 'template' keyword) does not refer to a template
note_template_kw_refers_to_non_template
Note
Semantic Issue
Empty Group
declared as a non-template here
err_template_kw_refers_to_dependent_non_template
Error
Semantic Issue
Empty Group
.*(| following the 'template' keyword) cannot refer to a dependent template
err_template_kw_refers_to_class_template
Error
Semantic Issue
Empty Group
'.*.*' instantiated to a class template, not a function template
note_referenced_class_template
Note
Semantic Issue
Empty Group
class template declared here
err_template_kw_missing
Error
Semantic Issue
Empty Group
missing 'template' keyword prior to dependent template name '.*.*'
ext_template_outside_of_template
ExtWarn
Semantic Issue
c++11-extensions
'template' keyword outside of a template
warn_cxx98_compat_template_outside_of_template
Warning
Semantic Issue
c++98-compat
use of 'template' keyword outside of a template is incompatible with C\+\+98
err_non_type_template_in_nested_name_specifier
Error
Semantic Issue
Empty Group
qualified name refers into a specialization of (function|variable) template .*
err_template_id_not_a_type
Error
Semantic Issue
Empty Group
template name refers to non-type template .*
note_template_declared_here
Note
Semantic Issue
Empty Group
(function template|class template|variable template|type alias template|template template parameter) .* declared here
err_template_expansion_into_fixed_list
Error
Semantic Issue
Empty Group
pack expansion used as argument for non-pack parameter of (alias template|concept)
note_parameter_type
Note
Semantic Issue
Empty Group
parameter of type .* is declared here
err_template_param_pack_default_arg
Error
Semantic Issue
Empty Group
template parameter pack cannot have a default argument
err_template_param_pack_must_be_last_template_parameter
Error
Semantic Issue
Empty Group
template parameter pack must be the last template parameter
err_template_parameter_pack_non_pack
Error
Semantic Issue
Empty Group
(template type|non-type template|template template) parameter(| pack) conflicts with previous (template type|non-type template|template template) parameter( pack|)
note_template_parameter_pack_non_pack
Note
Semantic Issue
Empty Group
(template type|non-type template|template template) parameter(| pack) does not match (template type|non-type template|template template) parameter( pack|) in template argument
note_template_parameter_pack_here
Note
Semantic Issue
Empty Group
previous (template type|non-type template|template template) parameter(| pack) declared here
err_unexpanded_parameter_pack
Error
Semantic Issue
Empty Group
(expression|base type|declaration type|data member type|bit-field size|static assertion|fixed underlying type|enumerator value|using declaration|friend declaration|qualifier|initializer|default argument|non-type template parameter type|exception type|partial specialization|__if_exists name|__if_not_exists name|lambda|block|type constraint|requirement) contains( an|) unexpanded parameter pack(| .*|s .* and .*|s .*, .*, \.\.\.)
err_pack_expansion_without_parameter_packs
Error
Semantic Issue
Empty Group
pack expansion does not contain any unexpanded parameter packs
err_pack_expansion_length_conflict
Error
Semantic Issue
Empty Group
pack expansion contains parameter packs .* and .* that have different lengths \(.* vs\. .*\)
err_pack_expansion_length_conflict_multilevel
Error
Semantic Issue
Empty Group
pack expansion contains parameter pack .* that has a different length \(.* vs\. .*\) from outer parameter packs
err_pack_expansion_length_conflict_partial
Error
Semantic Issue
Empty Group
pack expansion contains parameter pack .* that has a different length \(at least .* vs\. .*\) from outer parameter packs
err_pack_expansion_member_init
Error
Semantic Issue
Empty Group
pack expansion for initialization of member .*
err_function_parameter_pack_without_parameter_packs
Error
Semantic Issue
Empty Group
type .* of function parameter pack does not contain any unexpanded parameter packs
err_ellipsis_in_declarator_not_parameter
Error
Semantic Issue
Empty Group
only function and template parameters can be parameter packs
err_sizeof_pack_no_pack_name
Error
Semantic Issue
Empty Group
.* does not refer to the name of a parameter pack
err_fold_expression_packs_both_sides
Error
Semantic Issue
Empty Group
binary fold expression has unexpanded parameter packs in both operands
err_fold_expression_empty
Error
Semantic Issue
Empty Group
unary fold expression has empty expansion for operator '.*' with no fallback value
err_fold_expression_bad_operand
Error
Semantic Issue
Empty Group
expression not permitted as operand of fold expression
err_fold_expression_limit_exceeded
Error
Semantic Issue
Empty Group
instantiating fold expression with .* arguments exceeded expression nesting limit of .*
err_unexpected_typedef
Error
Semantic Issue
Empty Group
unexpected type name .*: expected expression
err_unexpected_namespace
Error
Semantic Issue
Empty Group
unexpected namespace name .*: expected expression
err_undeclared_var_use
Error
Semantic Issue
Empty Group
use of undeclared identifier .*
ext_undeclared_unqual_id_with_dependent_base
ExtWarn
Semantic Issue
microsoft-template
use of undeclared identifier .*; unqualified lookup into dependent bases of class template .* is a Microsoft extension
ext_found_via_dependent_bases_lookup
ExtWarn
Semantic Issue
microsoft-template
use of identifier .* found via unqualified lookup into dependent bases of class templates is a Microsoft extension
note_dependent_var_use
Note
Semantic Issue
Empty Group
must qualify identifier to find this declaration in dependent base class
err_not_found_by_two_phase_lookup
Error
Semantic Issue
Empty Group
call to function .* that is neither visible in the template definition nor found by argument-dependent lookup
note_not_found_by_two_phase_lookup
Note
Semantic Issue
Empty Group
.* should be declared prior to the call site(| or in .*| or in an associated namespace of one of its arguments)
err_undeclared_use
Error
Semantic Issue
Empty Group
use of undeclared .*
warn_deprecated
Warning
Semantic Issue
deprecated-declarations
.* is deprecated
note_from_diagnose_if
Note
Semantic Issue
Empty Group
from 'diagnose_if' attribute on .*:
warn_property_method_deprecated
Warning
Semantic Issue
deprecated-declarations
property access is using .* method which is deprecated
warn_deprecated_message
Warning
Semantic Issue
deprecated-declarations
.* is deprecated: .*
warn_deprecated_anonymous_namespace
Warning
Semantic Issue
ignored-attributes
'deprecated' attribute on anonymous namespace ignored
warn_deprecated_fwdclass_message
Warning
Semantic Issue
deprecated-declarations
.* may be deprecated because the receiver type is unknown
warn_deprecated_def
Warning
Semantic Issue
deprecated-implementations
implementing deprecated (method|class|category)
warn_unavailable_def
Warning
Semantic Issue
deprecated-implementations
implementing unavailable method
err_unavailable
Error
Semantic Issue
Empty Group
.* is unavailable
err_property_method_unavailable
Error
Semantic Issue
Empty Group
property access is using .* method which is unavailable
err_unavailable_message
Error
Semantic Issue
Empty Group
.* is unavailable: .*
warn_unavailable_fwdclass_message
Warning
Semantic Issue
unavailable-declarations
.* may be unavailable because the receiver type is unknown
note_availability_specified_here
Note
Semantic Issue
Empty Group
.* has been explicitly marked (unavailable|deleted|deprecated) here
note_partial_availability_specified_here
Note
Semantic Issue
Empty Group
.* has been marked as being introduced in .* .* here, but the deployment target is .* .*
note_implicitly_deleted
Note
Semantic Issue
Empty Group
explicitly defaulted function was implicitly deleted here
warn_not_enough_argument
Warning
Semantic Issue
sentinel
not enough variable arguments in .* declaration to fit a sentinel
warn_missing_sentinel
Warning
Semantic Issue
sentinel
missing sentinel in (function call|method dispatch|block call)
note_sentinel_here
Note
Semantic Issue
Empty Group
(function|method|block) has been explicitly marked sentinel here
warn_missing_prototype
Warning
Semantic Issue
missing-prototypes
no previous prototype for function .*
note_declaration_not_a_prototype
Note
Semantic Issue
Empty Group
this declaration is not a prototype; add ('void'|parameter declarations) to make it (a prototype for a zero-parameter function|one)
warn_strict_prototypes
Warning
Semantic Issue
strict-prototypes
this (function declaration is not|block declaration is not|old-style function definition is not preceded by) a prototype
warn_missing_variable_declarations
Warning
Semantic Issue
missing-variable-declarations
no previous extern declaration for non-static variable .*
note_static_for_internal_linkage
Note
Semantic Issue
Empty Group
declare 'static' if the (variable|function) is not intended to be used outside of this translation unit
err_static_data_member_reinitialization
Error
Semantic Issue
Empty Group
static data member .* already has an initializer
err_redefinition
Error
Semantic Issue
Empty Group
redefinition of .*
err_alias_after_tentative
Error
Semantic Issue
Empty Group
alias definition of .* after tentative definition
err_alias_is_definition
Error
Semantic Issue
Empty Group
definition .* cannot also be an (alias|ifunc)
err_definition_of_implicitly_declared_member
Error
Semantic Issue
Empty Group
definition of implicitly declared (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor|function)
err_definition_of_explicitly_defaulted_member
Error
Semantic Issue
Empty Group
definition of explicitly defaulted (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor|function)
err_redefinition_extern_inline
Error
Semantic Issue
Empty Group
redefinition of a 'extern inline' function .* is not supported in (C99 mode|C\+\+)
warn_attr_abi_tag_namespace
Warning
Semantic Issue
ignored-attributes
'abi_tag' attribute on (non-inline|anonymous) namespace ignored
err_abi_tag_on_redeclaration
Error
Semantic Issue
Empty Group
cannot add 'abi_tag' attribute in a redeclaration
err_new_abi_tag_on_redeclaration
Error
Semantic Issue
Empty Group
'abi_tag' .* missing in original declaration
note_use_ifdef_guards
Note
Semantic Issue
Empty Group
unguarded header; consider using #ifdef guards or #pragma once
note_deleted_dtor_no_operator_delete
Note
Semantic Issue
Empty Group
virtual destructor requires an unambiguous, accessible 'operator delete'
note_deleted_special_member_class_subobject
Note
Semantic Issue
Empty Group
(default constructor of|copy constructor of|move constructor of|copy assignment operator of|move assignment operator of|destructor of|constructor inherited by) .* is implicitly deleted because (base class .*|(||||variant )field .*) (has (no|a deleted|multiple|an inaccessible|a non-trivial) ((default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor|(default|corresponding|default|default|default) constructor)|destructor)(||s||)|is an ObjC pointer|has an address-discriminated ptrauth qualifier)
note_deleted_default_ctor_uninit_field
Note
Semantic Issue
Empty Group
(default constructor of|constructor inherited by) .* is implicitly deleted because field .* of (reference|const-qualified) type .* would not be initialized
note_deleted_default_ctor_all_const
Note
Semantic Issue
Empty Group
(default constructor of|constructor inherited by) .* is implicitly deleted because all (data members|data members of an anonymous union member) are const-qualified
note_deleted_copy_ctor_rvalue_reference
Note
Semantic Issue
Empty Group
copy constructor of .* is implicitly deleted because field .* is of rvalue reference type .*
note_deleted_copy_user_declared_move
Note
Semantic Issue
Empty Group
copy (constructor|assignment operator) is implicitly deleted because .* has a user-declared move (constructor|assignment operator)
note_deleted_assign_field
Note
Semantic Issue
Empty Group
(copy|move) assignment operator of .* is implicitly deleted because field .* is of (reference|const-qualified) type .*
warn_undefined_internal
Warning
Semantic Issue
undefined-internal
(function|variable) .* has internal linkage but is not defined
err_undefined_internal_type
Error
Semantic Issue
Empty Group
(function|variable) .* is used but not defined in this translation unit, and cannot be defined in any other translation unit because its type does not have linkage
ext_undefined_internal_type
Extension
Semantic Issue
undefined-internal-type
ISO C\+\+ requires a definition in this translation unit for (function|variable) .* because its type does not have linkage
warn_undefined_inline
Warning
Semantic Issue
undefined-inline
inline function .* is not defined
err_undefined_inline_var
Error
Semantic Issue
Empty Group
inline variable .* is not defined
note_used_here
Note
Semantic Issue
Empty Group
used here
err_internal_linkage_redeclaration
Error
Semantic Issue
Empty Group
'internal_linkage' attribute does not appear on the first declaration of .*
warn_internal_linkage_local_storage
Warning
Semantic Issue
ignored-attributes
'internal_linkage' attribute on a non-static local variable is ignored
ext_internal_in_extern_inline
ExtWarn
Semantic Issue
static-in-inline
static (function|variable) .* is used in an inline function with external linkage
ext_internal_in_extern_inline_quiet
Extension
Semantic Issue
static-in-inline
static (function|variable) .* is used in an inline function with external linkage
warn_static_local_in_extern_inline
Warning
Semantic Issue
static-local-in-inline
non-constant static local variable in inline function may be different in different files
note_convert_inline_to_static
Note
Semantic Issue
Empty Group
use 'static' to give inline function .* internal linkage
ext_redefinition_of_typedef
ExtWarn
Semantic Issue
typedef-redefinition
redefinition of typedef .* is a C11 feature
err_redefinition_variably_modified_typedef
Error
Semantic Issue
Empty Group
redefinition of (typedef|type alias) for variably-modified type .*
err_inline_decl_follows_def
Error
Semantic Issue
Empty Group
inline declaration of .* follows non-inline definition
err_inline_declaration_block_scope
Error
Semantic Issue
Empty Group
inline declaration of .* not allowed in block scope
err_static_non_static
Error
Semantic Issue
Empty Group
static declaration of .* follows non-static declaration
err_different_language_linkage
Error
Semantic Issue
Empty Group
declaration of .* has a different language linkage
ext_retained_language_linkage
Extension
Semantic Issue
retained-language-linkage
friend function .* retaining previous language linkage is an extension
err_extern_c_global_conflict
Error
Semantic Issue
Empty Group
declaration of .* (with C language linkage|in global scope) conflicts with declaration (in global scope|with C language linkage)
note_extern_c_global_conflict
Note
Semantic Issue
Empty Group
declared (in global scope|with C language linkage) here
note_extern_c_begins_here
Note
Semantic Issue
Empty Group
extern \"C\" language linkage specification begins here
warn_weak_import
Warning
Semantic Issue
Empty Group
an already-declared variable is made a weak_import declaration .*
ext_static_non_static
Extension
Semantic Issue
microsoft-redeclare-static
redeclaring non-static .* as static is a Microsoft extension
err_non_static_static
Error
Semantic Issue
Empty Group
non-static declaration of .* follows static declaration
err_extern_non_extern
Error
Semantic Issue
Empty Group
extern declaration of .* follows non-extern declaration
err_non_extern_extern
Error
Semantic Issue
Empty Group
non-extern declaration of .* follows extern declaration
err_non_thread_thread
Error
Semantic Issue
Empty Group
non-thread-local declaration of .* follows thread-local declaration
err_thread_non_thread
Error
Semantic Issue
Empty Group
thread-local declaration of .* follows non-thread-local declaration
err_thread_thread_different_kind
Error
Semantic Issue
Empty Group
thread-local declaration of .* with (static|dynamic) initialization follows declaration with (dynamic|static) initialization
err_mismatched_owning_module
Error
Semantic Issue
Empty Group
declaration of .* in (the global module|module .*) follows declaration in (the global module|module .*)
err_redefinition_different_type
Error
Semantic Issue
Empty Group
redefinition of .* with a different type(: .* vs .*|)
err_redefinition_different_kind
Error
Semantic Issue
Empty Group
redefinition of .* as different kind of symbol
err_redefinition_different_namespace_alias
Error
Semantic Issue
Empty Group
redefinition of .* as an alias for a different namespace
note_previous_namespace_alias
Note
Semantic Issue
Empty Group
previously defined as an alias for .*
warn_forward_class_redefinition
Warning
Semantic Issue
objc-forward-class-redefinition
redefinition of forward class .* of a typedef name of an object type is ignored
err_redefinition_different_typedef
Error
Semantic Issue
Empty Group
(typedef|type alias|type alias template) redefinition with different types( \(.* vs .*\)|)
err_tag_reference_non_tag
Error
Semantic Issue
Empty Group
(non-struct type|non-class type|non-union type|non-enum type|typedef|type alias|template|type alias template|template template argument) .* cannot be referenced with a (struct|interface|union|class|enum) specifier
err_tag_reference_conflict
Error
Semantic Issue
Empty Group
implicit declaration introduced by elaborated type conflicts with a (non-struct type|non-class type|non-union type|non-enum type|typedef|type alias|template|type alias template|template template argument) of the same name
err_dependent_tag_decl
Error
Semantic Issue
Empty Group
(declaration|definition) of (struct|interface|union|class|enum) in a dependent scope
err_tag_definition_of_typedef
Error
Semantic Issue
Empty Group
definition of type .* conflicts with (typedef|type alias) of the same name
err_conflicting_types
Error
Semantic Issue
Empty Group
conflicting types for .*
err_different_pass_object_size_params
Error
Semantic Issue
Empty Group
conflicting pass_object_size attributes on parameters
err_late_asm_label_name
Error
Semantic Issue
Empty Group
cannot apply asm label to (variable|function) after its first use
err_different_asm_label
Error
Semantic Issue
Empty Group
conflicting asm label
err_nested_redefinition
Error
Semantic Issue
Empty Group
nested redefinition of .*
err_use_with_wrong_tag
Error
Semantic Issue
Empty Group
use of .* with tag type that does not match previous declaration
warn_struct_class_tag_mismatch
Warning
Semantic Issue
mismatched-tags
(struct|interface|class)(| template) .* was previously declared as a (struct|interface|class)(| template); this is valid, but may result in linker errors under the Microsoft C\+\+ ABI
warn_struct_class_previous_tag_mismatch
Warning
Semantic Issue
mismatched-tags
.* defined as (a struct|an interface|a class)(| template) here but previously declared as (a struct|an interface|a class)(| template); this is valid, but may result in linker errors under the Microsoft C\+\+ ABI
note_struct_class_suggestion
Note
Semantic Issue
Empty Group
did you mean (struct|interface|class) here\?
ext_forward_ref_enum
Extension
Semantic Issue
Empty Group
ISO C forbids forward references to 'enum' types
err_forward_ref_enum
Error
Semantic Issue
Empty Group
ISO C\+\+ forbids forward references to 'enum' types
ext_ms_forward_ref_enum
ExtWarn
Semantic Issue
microsoft-enum-forward-reference
forward references to 'enum' types are a Microsoft extension
ext_forward_ref_enum_def
Extension
Semantic Issue
gnu-redeclared-enum
redeclaration of already-defined enum .* is a GNU extension
err_redefinition_of_enumerator
Error
Semantic Issue
Empty Group
redefinition of enumerator .*
err_duplicate_member
Error
Semantic Issue
Empty Group
duplicate member .*
err_misplaced_ivar
Error
Semantic Issue
Empty Group
instance variables may not be placed in (categories|class extension)
warn_ivars_in_interface
Warning
Semantic Issue
objc-interface-ivars
declaration of instance variables in the interface is deprecated
ext_enum_value_not_int
Extension
Semantic Issue
Empty Group
ISO C restricts enumerator values to range of 'int' \(.* is too (small|large)\)
ext_enum_too_large
ExtWarn
Semantic Issue
enum-too-large
enumeration values exceed range of largest integer
ext_enumerator_increment_too_large
ExtWarn
Semantic Issue
enum-too-large
incremented enumerator value .* is not representable in the largest integer type
warn_flag_enum_constant_out_of_range
Warning
Semantic Issue
flag-enum
enumeration value .* is out of range of flags in enumeration type .*
warn_illegal_constant_array_size
Extension
Semantic Issue
Empty Group
size of static array must be an integer constant expression
err_vm_decl_in_file_scope
Error
Semantic Issue
Empty Group
variably modified type declaration not allowed at file scope
err_vm_decl_has_extern_linkage
Error
Semantic Issue
Empty Group
variably modified type declaration cannot have 'extern' linkage
err_typecheck_field_variable_size
Error
Semantic Issue
Empty Group
fields must have a constant size: 'variable length array in structure' extension will never be supported
err_vm_func_decl
Error
Semantic Issue
Empty Group
function declaration cannot have variably modified type
err_array_too_large
Error
Semantic Issue
Empty Group
array is too large \(.* elements\)
err_typecheck_negative_array_size
Error
Semantic Issue
Empty Group
array size is negative
warn_typecheck_function_qualifiers_ignored
Warning
Semantic Issue
ignored-qualifiers
'.*' qualifier on function type .* has no effect
warn_typecheck_function_qualifiers_unspecified
Warning
Semantic Issue
Empty Group
'.*' qualifier on function type .* has unspecified behavior
warn_typecheck_reference_qualifiers
Warning
Semantic Issue
ignored-qualifiers
'.*' qualifier on reference type .* has no effect
err_typecheck_invalid_restrict_not_pointer
Error
Semantic Issue
Empty Group
restrict requires a pointer or reference \(.* is invalid\)
err_typecheck_invalid_restrict_not_pointer_noarg
Error
Semantic Issue
Empty Group
restrict requires a pointer or reference
err_typecheck_invalid_restrict_invalid_pointee
Error
Semantic Issue
Empty Group
pointer to function type .* may not be 'restrict' qualified
ext_typecheck_zero_array_size
Extension
Semantic Issue
zero-length-array
zero size arrays are an extension
err_typecheck_zero_array_size
Error
Semantic Issue
Empty Group
zero-length arrays are not permitted in C\+\+
err_array_size_non_int
Error
Semantic Issue
Empty Group
size of array has non-integer type .*
err_init_element_not_constant
Error
Semantic Issue
Empty Group
initializer element is not a compile-time constant
ext_aggregate_init_not_constant
Extension
Semantic Issue
c99-extensions
initializer for aggregate is not a compile-time constant
err_local_cant_init
Error
Semantic Issue
Empty Group
'__local' variable cannot have an initializer
err_loader_uninitialized_cant_init
Error
Semantic Issue
Empty Group
variable with 'loader_uninitialized' attribute cannot have an initializer
err_loader_uninitialized_trivial_ctor
Error
Semantic Issue
Empty Group
variable with 'loader_uninitialized' attribute must have a trivial default constructor
err_loader_uninitialized_redeclaration
Error
Semantic Issue
Empty Group
redeclaration cannot add 'loader_uninitialized' attribute
err_loader_uninitialized_extern_decl
Error
Semantic Issue
Empty Group
variable .* cannot be declared both 'extern' and with the 'loader_uninitialized' attribute
err_block_extern_cant_init
Error
Semantic Issue
Empty Group
'extern' variable cannot have an initializer
warn_extern_init
Warning
Semantic Issue
extern-initializer
'extern' variable has an initializer
err_variable_object_no_init
Error
Semantic Issue
Empty Group
variable-sized object may not be initialized
err_excess_initializers
Error
Semantic Issue
Empty Group
excess elements in (array|vector|scalar|union|struct) initializer
ext_excess_initializers
ExtWarn
Semantic Issue
excess-initializers
excess elements in (array|vector|scalar|union|struct) initializer
err_excess_initializers_for_sizeless_type
Error
Semantic Issue
Empty Group
excess elements in initializer for indivisible sizeless type .*
ext_excess_initializers_for_sizeless_type
ExtWarn
Semantic Issue
excess-initializers
excess elements in initializer for indivisible sizeless type .*
err_excess_initializers_in_char_array_initializer
Error
Semantic Issue
Empty Group
excess elements in char array initializer
ext_excess_initializers_in_char_array_initializer
ExtWarn
Semantic Issue
excess-initializers
excess elements in char array initializer
err_initializer_string_for_char_array_too_long
Error
Semantic Issue
Empty Group
initializer-string for char array is too long
ext_initializer_string_for_char_array_too_long
ExtWarn
Semantic Issue
excess-initializers
initializer-string for char array is too long
warn_missing_field_initializers
Warning
Semantic Issue
missing-field-initializers
missing field .* initializer
warn_braces_around_init
Warning
Semantic Issue
braced-scalar-init
braces around (scalar |)initializer
ext_many_braces_around_init
ExtWarn
Semantic Issue
many-braces-around-scalar-init
too many braces around (scalar |)initializer
ext_complex_component_init
Extension
Semantic Issue
complex-component-init
complex initialization specifying real and imaginary components is an extension
err_empty_scalar_initializer
Error
Semantic Issue
Empty Group
scalar initializer cannot be empty
err_empty_sizeless_initializer
Error
Semantic Issue
Empty Group
initializer for sizeless type .* cannot be empty
warn_cxx98_compat_empty_scalar_initializer
Warning
Semantic Issue
c++98-compat
scalar initialized from empty initializer list is incompatible with C\+\+98
warn_cxx98_compat_empty_sizeless_initializer
Warning
Semantic Issue
c++98-compat
initializing .* from an empty initializer list is incompatible with C\+\+98
warn_cxx98_compat_reference_list_init
Warning
Semantic Issue
c++98-compat
reference initialized from initializer list is incompatible with C\+\+98
warn_cxx98_compat_initializer_list_init
Warning
Semantic Issue
c++98-compat
initialization of initializer_list object is incompatible with C\+\+98
warn_cxx98_compat_ctor_list_init
Warning
Semantic Issue
c++98-compat
constructor call from initializer list is incompatible with C\+\+98
err_illegal_initializer
Error
Semantic Issue
Empty Group
illegal initializer \(only variables can be initialized\)
err_illegal_initializer_type
Error
Semantic Issue
Empty Group
illegal initializer type .*
ext_init_list_type_narrowing
ExtWarn
Semantic Issue
c++11-narrowing
type .* cannot be narrowed to .* in initializer list
ext_init_list_variable_narrowing
ExtWarn
Semantic Issue
c++11-narrowing
non-constant-expression cannot be narrowed from type .* to .* in initializer list
ext_init_list_constant_narrowing
ExtWarn
Semantic Issue
c++11-narrowing
constant expression evaluates to .* which cannot be narrowed to type .*
warn_init_list_type_narrowing
Warning
Semantic Issue
c++11-narrowing
type .* cannot be narrowed to .* in initializer list in C\+\+11
warn_init_list_variable_narrowing
Warning
Semantic Issue
c++11-narrowing
non-constant-expression cannot be narrowed from type .* to .* in initializer list in C\+\+11
warn_init_list_constant_narrowing
Warning
Semantic Issue
c++11-narrowing
constant expression evaluates to .* which cannot be narrowed to type .* in C\+\+11
note_init_list_narrowing_silence
Note
Semantic Issue
Empty Group
insert an explicit cast to silence this issue
err_init_objc_class
Error
Semantic Issue
Empty Group
cannot initialize Objective-C class type .*
err_implicit_empty_initializer
Error
Semantic Issue
Empty Group
initializer for aggregate with no elements requires explicit braces
err_bitfield_has_negative_width
Error
Semantic Issue
Empty Group
bit-field .* has negative width \(.*\)
err_anon_bitfield_has_negative_width
Error
Semantic Issue
Empty Group
anonymous bit-field has negative width \(.*\)
err_bitfield_has_zero_width
Error
Semantic Issue
Empty Group
named bit-field .* has zero width
err_bitfield_width_exceeds_type_width
Error
Semantic Issue
Empty Group
width of bit-field .* \(.* bits\) exceeds (width|size) of its type \(.* bit.*\)
err_anon_bitfield_width_exceeds_type_width
Error
Semantic Issue
Empty Group
width of anonymous bit-field \(.* bits\) exceeds (width|size) of its type \(.* bit.*\)
err_incorrect_number_of_vector_initializers
Error
Semantic Issue
Empty Group
number of elements must be either one or match the size of the vector
warn_bitfield_width_exceeds_type_width
Warning
Semantic Issue
bitfield-width
width of bit-field .* \(.* bits\) exceeds the width of its type; value will be truncated to .* bit.*
warn_anon_bitfield_width_exceeds_type_width
Warning
Semantic Issue
bitfield-width
width of anonymous bit-field \(.* bits\) exceeds width of its type; value will be truncated to .* bit.*
warn_bitfield_too_small_for_enum
Warning
Semantic Issue
bitfield-enum-conversion
bit-field .* is not wide enough to store all enumerators of .*
note_widen_bitfield
Note
Semantic Issue
Empty Group
widen this field to .* bits to store all values of .*
warn_unsigned_bitfield_assigned_signed_enum
Warning
Semantic Issue
bitfield-enum-conversion
assigning value of signed enum type .* to unsigned bit-field .*; negative enumerators of enum .* will be converted to positive values
warn_signed_bitfield_enum_conversion
Warning
Semantic Issue
bitfield-enum-conversion
signed bit-field .* needs an extra bit to represent the largest positive enumerators of .*
note_change_bitfield_sign
Note
Semantic Issue
Empty Group
consider making the bitfield type (unsigned|signed)
warn_missing_braces
Warning
Semantic Issue
missing-braces
suggest braces around initialization of subobject
err_redefinition_of_label
Error
Semantic Issue
Empty Group
redefinition of label .*
err_undeclared_label_use
Error
Semantic Issue
Empty Group
use of undeclared label .*
err_goto_ms_asm_label
Error
Semantic Issue
Empty Group
cannot jump from this goto statement to label .* inside an inline assembly block
note_goto_ms_asm_label
Note
Semantic Issue
Empty Group
inline assembly label .* declared here
warn_unused_label
Warning
Semantic Issue
unused-label
unused label .*
err_goto_into_protected_scope
Error
Semantic Issue
Empty Group
cannot jump from this goto statement to its label
ext_goto_into_protected_scope
ExtWarn
Semantic Issue
microsoft-goto
jump from this goto statement to its label is a Microsoft extension
warn_cxx98_compat_goto_into_protected_scope
Warning
Semantic Issue
c++98-compat
jump from this goto statement to its label is incompatible with C\+\+98
err_switch_into_protected_scope
Error
Semantic Issue
Empty Group
cannot jump from switch statement to this case label
warn_cxx98_compat_switch_into_protected_scope
Warning
Semantic Issue
c++98-compat
jump from switch statement to this case label is incompatible with C\+\+98
err_indirect_goto_without_addrlabel
Error
Semantic Issue
Empty Group
indirect goto in function with no address-of-label expressions
err_indirect_goto_in_protected_scope
Error
Semantic Issue
Empty Group
cannot jump from this (indirect|asm) goto statement to one of its possible targets
warn_cxx98_compat_indirect_goto_in_protected_scope
Warning
Semantic Issue
c++98-compat
jump from this (indirect|asm) goto statement to one of its possible targets is incompatible with C\+\+98
note_indirect_goto_target
Note
Semantic Issue
Empty Group
possible target of (indirect|asm) goto statement
note_protected_by_variable_init
Note
Semantic Issue
Empty Group
jump bypasses variable initialization
note_protected_by_variable_nontriv_destructor
Note
Semantic Issue
Empty Group
jump bypasses variable with a non-trivial destructor
note_protected_by_variable_non_pod
Note
Semantic Issue
Empty Group
jump bypasses initialization of non-POD variable
note_protected_by_cleanup
Note
Semantic Issue
Empty Group
jump bypasses initialization of variable with __attribute__\(\(cleanup\)\)
note_protected_by_vla_typedef
Note
Semantic Issue
Empty Group
jump bypasses initialization of VLA typedef
note_protected_by_vla_type_alias
Note
Semantic Issue
Empty Group
jump bypasses initialization of VLA type alias
note_protected_by_constexpr_if
Note
Semantic Issue
Empty Group
jump enters controlled statement of constexpr if
note_protected_by_if_available
Note
Semantic Issue
Empty Group
jump enters controlled statement of if available
note_protected_by_vla
Note
Semantic Issue
Empty Group
jump bypasses initialization of variable length array
note_protected_by_objc_fast_enumeration
Note
Semantic Issue
Empty Group
jump enters Objective-C fast enumeration loop
note_protected_by_objc_try
Note
Semantic Issue
Empty Group
jump bypasses initialization of @try block
note_protected_by_objc_catch
Note
Semantic Issue
Empty Group
jump bypasses initialization of @catch block
note_protected_by_objc_finally
Note
Semantic Issue
Empty Group
jump bypasses initialization of @finally block
note_protected_by_objc_synchronized
Note
Semantic Issue
Empty Group
jump bypasses initialization of @synchronized block
note_protected_by_objc_autoreleasepool
Note
Semantic Issue
Empty Group
jump bypasses auto release push of @autoreleasepool block
note_protected_by_cxx_try
Note
Semantic Issue
Empty Group
jump bypasses initialization of try block
note_protected_by_cxx_catch
Note
Semantic Issue
Empty Group
jump bypasses initialization of catch block
note_protected_by_seh_try
Note
Semantic Issue
Empty Group
jump bypasses initialization of __try block
note_protected_by_seh_except
Note
Semantic Issue
Empty Group
jump bypasses initialization of __except block
note_protected_by_seh_finally
Note
Semantic Issue
Empty Group
jump bypasses initialization of __finally block
note_protected_by___block
Note
Semantic Issue
Empty Group
jump bypasses setup of __block variable
note_protected_by_objc_strong_init
Note
Semantic Issue
Empty Group
jump bypasses initialization of __strong variable
note_protected_by_objc_weak_init
Note
Semantic Issue
Empty Group
jump bypasses initialization of __weak variable
note_protected_by_non_trivial_c_struct_init
Note
Semantic Issue
Empty Group
jump bypasses initialization of variable of non-trivial C struct type
note_enters_block_captures_cxx_obj
Note
Semantic Issue
Empty Group
jump enters lifetime of block which captures a destructible C\+\+ object
note_enters_block_captures_strong
Note
Semantic Issue
Empty Group
jump enters lifetime of block which strongly captures a variable
note_enters_block_captures_weak
Note
Semantic Issue
Empty Group
jump enters lifetime of block which weakly captures a variable
note_enters_block_captures_non_trivial_c_struct
Note
Semantic Issue
Empty Group
jump enters lifetime of block which captures a C struct that is non-trivial to destroy
note_enters_compound_literal_scope
Note
Semantic Issue
Empty Group
jump enters lifetime of a compound literal that is non-trivial to destruct
note_exits_cleanup
Note
Semantic Issue
Empty Group
jump exits scope of variable with __attribute__\(\(cleanup\)\)
note_exits_dtor
Note
Semantic Issue
Empty Group
jump exits scope of variable with non-trivial destructor
note_exits_temporary_dtor
Note
Semantic Issue
Empty Group
jump exits scope of lifetime-extended temporary with non-trivial destructor
note_exits___block
Note
Semantic Issue
Empty Group
jump exits scope of __block variable
note_exits_objc_try
Note
Semantic Issue
Empty Group
jump exits @try block
note_exits_objc_catch
Note
Semantic Issue
Empty Group
jump exits @catch block
note_exits_objc_finally
Note
Semantic Issue
Empty Group
jump exits @finally block
note_exits_objc_synchronized
Note
Semantic Issue
Empty Group
jump exits @synchronized block
note_exits_cxx_try
Note
Semantic Issue
Empty Group
jump exits try block
note_exits_cxx_catch
Note
Semantic Issue
Empty Group
jump exits catch block
note_exits_seh_try
Note
Semantic Issue
Empty Group
jump exits __try block
note_exits_seh_except
Note
Semantic Issue
Empty Group
jump exits __except block
note_exits_seh_finally
Note
Semantic Issue
Empty Group
jump exits __finally block
note_exits_objc_autoreleasepool
Note
Semantic Issue
Empty Group
jump exits autoreleasepool block
note_exits_objc_strong
Note
Semantic Issue
Empty Group
jump exits scope of __strong variable
note_exits_objc_weak
Note
Semantic Issue
Empty Group
jump exits scope of __weak variable
note_exits_block_captures_cxx_obj
Note
Semantic Issue
Empty Group
jump exits lifetime of block which captures a destructible C\+\+ object
note_exits_block_captures_strong
Note
Semantic Issue
Empty Group
jump exits lifetime of block which strongly captures a variable
note_exits_block_captures_weak
Note
Semantic Issue
Empty Group
jump exits lifetime of block which weakly captures a variable
note_exits_block_captures_non_trivial_c_struct
Note
Semantic Issue
Empty Group
jump exits lifetime of block which captures a C struct that is non-trivial to destroy
note_exits_compound_literal_scope
Note
Semantic Issue
Empty Group
jump exits lifetime of a compound literal that is non-trivial to destruct
err_func_returning_qualified_void
ExtWarn
Semantic Issue
qualified-void-return-type
function cannot return qualified void type .*
err_func_returning_array_function
Error
Semantic Issue
Empty Group
function cannot return (array|function) type .*
err_field_declared_as_function
Error
Semantic Issue
Empty Group
field .* declared as a function
err_field_incomplete_or_sizeless
Error
Semantic Issue
Empty Group
field has (incomplete|sizeless) type .*
ext_variable_sized_type_in_struct
ExtWarn
Semantic Issue
gnu-variable-sized-type-not-at-end
field .* with variable sized type .* not at the end of a struct or class is a GNU extension
ext_c99_flexible_array_member
Extension
Semantic Issue
c99-extensions
flexible array members are a C99 feature
err_flexible_array_virtual_base
Error
Semantic Issue
Empty Group
flexible array member .* not allowed in (struct|interface|union|class|enum) which has a virtual base class
err_flexible_array_empty_aggregate
Error
Semantic Issue
Empty Group
flexible array member .* not allowed in otherwise empty (struct|interface|union|class|enum)
err_flexible_array_has_nontrivial_dtor
Error
Semantic Issue
Empty Group
flexible array member .* of type .* with non-trivial destruction
ext_flexible_array_in_struct
Extension
Semantic Issue
flexible-array-extensions
.* may not be nested in a struct due to flexible array member
ext_flexible_array_in_array
Extension
Semantic Issue
flexible-array-extensions
.* may not be used as an array element due to flexible array member
err_flexible_array_init
Error
Semantic Issue
Empty Group
initialization of flexible array member is not allowed
ext_flexible_array_empty_aggregate_ms
Extension
Semantic Issue
microsoft-flexible-array
flexible array member .* in otherwise empty (struct|interface|union|class|enum) is a Microsoft extension
err_flexible_array_union
Error
Semantic Issue
Empty Group
flexible array member .* in a union is not allowed
ext_flexible_array_union_ms
Extension
Semantic Issue
microsoft-flexible-array
flexible array member .* in a union is a Microsoft extension
ext_flexible_array_empty_aggregate_gnu
Extension
Semantic Issue
gnu-empty-struct
flexible array member .* in otherwise empty (struct|interface|union|class|enum) is a GNU extension
ext_flexible_array_union_gnu
Extension
Semantic Issue
gnu-flexible-array-union-member
flexible array member .* in a union is a GNU extension
err_flexible_array_not_at_end
Error
Semantic Issue
Empty Group
flexible array member .* with type .* is not at the end of (struct|interface|union|class|enum)
err_objc_variable_sized_type_not_at_end
Error
Semantic Issue
Empty Group
field .* with variable sized type .* is not at the end of class
note_next_field_declaration
Note
Semantic Issue
Empty Group
next field declaration is here
note_next_ivar_declaration
Note
Semantic Issue
Empty Group
next (instance variable declaration|synthesized instance variable) is here
err_synthesize_variable_sized_ivar
Error
Semantic Issue
Empty Group
synthesized property with variable size type .* requires an existing instance variable
err_flexible_array_arc_retainable
Error
Semantic Issue
Empty Group
ARC forbids flexible array members with retainable object type
warn_variable_sized_ivar_visibility
Warning
Semantic Issue
objc-flexible-array
field .* with variable sized type .* is not visible to subclasses and can conflict with their instance variables
warn_superclass_variable_sized_type_not_at_end
Warning
Semantic Issue
objc-flexible-array
field .* can overwrite instance variable .* with variable sized type .* in superclass .*
err_arc_weak_no_runtime
Error
ARC Weak References
Empty Group
cannot create __weak reference because the current deployment target does not support weak references
err_arc_weak_disabled
Error
ARC Weak References
Empty Group
cannot create __weak reference in file using manual reference counting
err_synthesizing_arc_weak_property_disabled
Error
ARC Weak References
Empty Group
cannot synthesize weak property in file using manual reference counting
err_synthesizing_arc_weak_property_no_runtime
Error
ARC Weak References
Empty Group
cannot synthesize weak property because the current deployment target does not support weak references
err_arc_unsupported_weak_class
Error
ARC Weak References
Empty Group
class is incompatible with __weak references
err_arc_weak_unavailable_assign
Error
ARC Weak References
Empty Group
assignment of a weak-unavailable object to a __weak object
err_arc_weak_unavailable_property
Error
ARC Weak References
Empty Group
synthesizing __weak instance variable of type .*, which does not support weak references
note_implemented_by_class
Note
ARC Weak References
Empty Group
when implemented by class .*
err_arc_convesion_of_weak_unavailable
Error
ARC Weak References
Empty Group
(implicit conversion|cast) of weak-unavailable object of type .* to a __weak object of type .*
err_unavailable_in_arc
Error
ARC Restrictions
Empty Group
.* is unavailable in ARC
note_arc_forbidden_type
Note
ARC Restrictions
Empty Group
declaration uses type that is ill-formed in ARC
note_performs_forbidden_arc_conversion
Note
ARC Restrictions
Empty Group
inline function performs a conversion which is forbidden in ARC
note_arc_init_returns_unrelated
Note
ARC Restrictions
Empty Group
init method must return a type related to its receiver type
note_arc_weak_disabled
Note
ARC Restrictions
Empty Group
declaration uses __weak, but ARC is disabled
note_arc_weak_no_runtime
Note
ARC Restrictions
Empty Group
declaration uses __weak, which the current deployment target does not support
note_arc_field_with_ownership
Note
ARC Restrictions
Empty Group
field has non-trivial ownership qualification
err_arc_illegal_explicit_message
Error
ARC Restrictions
Empty Group
ARC forbids explicit message send of .*
err_arc_unused_init_message
Error
ARC Restrictions
Empty Group
the result of a delegate init call must be immediately returned or assigned to 'self'
err_arc_mismatched_cast
Error
ARC Restrictions
Empty Group
(implicit conversion|cast) of (.*|a non-Objective-C pointer type .*|a block pointer|an Objective-C pointer|an indirect pointer to an Objective-C pointer) to .* is disallowed with ARC
err_arc_nolifetime_behavior
Error
ARC Restrictions
Empty Group
explicit ownership qualifier on cast result has no effect
err_arc_objc_property_default_assign_on_object
Error
ARC Restrictions
Empty Group
ARC forbids synthesizing a property of an Objective-C object with unspecified ownership or storage attribute
err_arc_illegal_selector
Error
ARC Restrictions
Empty Group
ARC forbids use of .* in a @selector
err_arc_illegal_method_def
Error
ARC Restrictions
Empty Group
ARC forbids (implementation|synthesis) of .*
warn_arc_strong_pointer_objc_pointer
Warning
ARC Restrictions
explicit-ownership-type
method parameter of type .* with no explicit ownership
err_arc_lost_method_convention
Error
ARC Semantic Issue
Empty Group
method was declared as (an 'alloc'|a 'copy'|an 'init'|a 'new') method, but its implementation doesn't match because (its result type is not an object pointer|its result type is unrelated to its receiver type)
note_arc_lost_method_convention
Note
ARC Semantic Issue
Empty Group
declaration in interface
err_arc_gained_method_convention
Error
ARC Semantic Issue
Empty Group
method implementation does not match its declaration
note_arc_gained_method_convention
Note
ARC Semantic Issue
Empty Group
declaration in interface is not in the '(alloc|copy|init|new)' family because (its result type is not an object pointer|its result type is unrelated to its receiver type)
err_typecheck_arc_assign_self
Error
ARC Semantic Issue
Empty Group
cannot assign to 'self' outside of a method in the init family
err_typecheck_arc_assign_self_class_method
Error
ARC Semantic Issue
Empty Group
cannot assign to 'self' in a class method
err_typecheck_arr_assign_enumeration
Error
ARC Semantic Issue
Empty Group
fast enumeration variables cannot be modified in ARC by default; declare the variable __strong to allow this
err_typecheck_arc_assign_externally_retained
Error
ARC Semantic Issue
Empty Group
variable declared with 'objc_externally_retained' cannot be modified in ARC
warn_arc_retained_assign
Warning
ARC Semantic Issue
arc-unsafe-retained-assign
assigning retained object to (weak|unsafe_unretained) (property|variable); object will be released after assignment
warn_arc_retained_property_assign
Warning
ARC Semantic Issue
arc-unsafe-retained-assign
assigning retained object to unsafe property; object will be released after assignment
warn_arc_literal_assign
Warning
ARC Semantic Issue
arc-unsafe-retained-assign
assigning (array literal|dictionary literal|numeric literal|boxed expression|<should not happen>|block literal) to a weak (property|variable); object will be released after assignment
err_arc_new_array_without_ownership
Error
ARC Semantic Issue
Empty Group
'new' cannot allocate an array of .* with no explicit ownership
err_arc_autoreleasing_var
Error
ARC Semantic Issue
Empty Group
(__block variables|global variables|fields|instance variables) cannot have __autoreleasing ownership
err_arc_autoreleasing_capture
Error
ARC Semantic Issue
Empty Group
cannot capture __autoreleasing variable in a (block|lambda by copy)
err_arc_thread_ownership
Error
ARC Semantic Issue
Empty Group
thread-local variable has non-trivial ownership: type is .*
err_arc_indirect_no_ownership
Error
ARC Semantic Issue
Empty Group
(pointer|reference) to non-const type .* with no explicit ownership
err_arc_array_param_no_ownership
Error
ARC Semantic Issue
Empty Group
must explicitly describe intended ownership of an object array parameter
err_arc_pseudo_dtor_inconstant_quals
Error
ARC Semantic Issue
Empty Group
pseudo-destructor destroys object of type .* with inconsistently-qualified type .*
err_arc_init_method_unrelated_result_type
Error
ARC Semantic Issue
Empty Group
init methods must return a type related to the receiver type
err_arc_nonlocal_writeback
Error
ARC Semantic Issue
Empty Group
passing address of (non-local|non-scalar) object to __autoreleasing parameter for write-back
err_arc_method_not_found
Error
ARC Semantic Issue
Empty Group
no known (instance|class) method for selector .*
err_arc_receiver_forward_class
Error
ARC Semantic Issue
Empty Group
receiver .* for class message is a forward declaration
err_arc_may_not_respond
Error
ARC Semantic Issue
Empty Group
no visible @interface for .* declares the selector .*
err_arc_receiver_forward_instance
Error
ARC Semantic Issue
Empty Group
receiver type .* for instance message is a forward declaration
warn_receiver_forward_instance
Warning
ARC Semantic Issue
receiver-forward-class
receiver type .* for instance message is a forward declaration
err_arc_collection_forward
Error
ARC Semantic Issue
Empty Group
collection expression type .* is a forward declaration
err_arc_multiple_method_decl
Error
ARC Semantic Issue
Empty Group
multiple methods named .* found with mismatched result, parameter type or attributes
warn_arc_lifetime_result_type
Warning
ARC Semantic Issue
ignored-qualifiers
ARC (unused|__unsafe_unretained|__strong|__weak|__autoreleasing) lifetime qualifier on return type is ignored
warn_arc_retain_cycle
Warning
ARC Retain Cycle
arc-retain-cycles
capturing .* strongly in this block is likely to lead to a retain cycle
note_arc_retain_cycle_owner
Note
ARC Retain Cycle
Empty Group
block will be retained by (the captured object|an object strongly retained by the captured object)
warn_arc_object_memaccess
Warning
ARC Semantic Issue
arc-non-pod-memaccess
(destination for|source of) this .* call is a pointer to ownership-qualified type .*
err_arc_strong_property_ownership
Error
ARC and @properties
Empty Group
existing instance variable .* for strong property .* may not be (|__unsafe_unretained||__weak)
err_arc_assign_property_ownership
Error
ARC and @properties
Empty Group
existing instance variable .* for property .* with (unsafe_unretained|assign) attribute must be __unsafe_unretained
err_arc_inconsistent_property_ownership
Error
ARC and @properties
Empty Group
(|unsafe_unretained|strong|weak) property .* may not also be declared (|__unsafe_unretained|__strong|__weak|__autoreleasing)
warn_block_capture_autoreleasing
Warning
ARC Semantic Issue
block-capture-autoreleasing
block captures an autoreleasing out-parameter, which may result in use-after-free bugs
note_declare_parameter_strong
Note
ARC Semantic Issue
Empty Group
declare the parameter __strong or capture a __block __strong variable to keep values alive across autorelease pools
err_arc_atomic_ownership
Error
ARC Semantic Issue
Empty Group
cannot perform atomic operation on a pointer to type .*: type has non-trivial ownership
err_arc_bridge_cast_incompatible
Error
ARC Casting Rules
Empty Group
incompatible types casting .* to .* with a (__bridge|__bridge_transfer|__bridge_retained) cast
err_arc_bridge_cast_wrong_kind
Error
ARC Casting Rules
Empty Group
cast of (Objective-C|block|C) pointer type .* to (Objective-C|block|C) pointer type .* cannot use (__bridge|__bridge_transfer|__bridge_retained)
err_arc_cast_requires_bridge
Error
ARC Casting Rules
Empty Group
(cast|implicit conversion) of (Objective-C|block|C) pointer type .* to (Objective-C|block|C) pointer type .* requires a bridged cast
note_arc_bridge
Note
ARC Casting Rules
Empty Group
use __bridge to convert directly \(no change in ownership\)
note_arc_cstyle_bridge
Note
ARC Casting Rules
Empty Group
use __bridge with C-style cast to convert directly \(no change in ownership\)
note_arc_bridge_transfer
Note
ARC Casting Rules
Empty Group
use (__bridge_transfer|CFBridgingRelease call) to transfer ownership of a \+1 .* into ARC
note_arc_cstyle_bridge_transfer
Note
ARC Casting Rules
Empty Group
use __bridge_transfer with C-style cast to transfer ownership of a \+1 .* into ARC
note_arc_bridge_retained
Note
ARC Casting Rules
Empty Group
use (__bridge_retained|CFBridgingRetain call) to make an ARC object available as a \+1 .*
note_arc_cstyle_bridge_retained
Note
ARC Casting Rules
Empty Group
use __bridge_retained with C-style cast to make an ARC object available as a \+1 .*
err_flexible_array_init_needs_braces
Error
Semantic Issue
Empty Group
flexible array requires brace-enclosed initializer
err_illegal_decl_array_of_functions
Error
Semantic Issue
Empty Group
'.*' declared as array of functions of type .*
err_array_incomplete_or_sizeless_type
Error
Semantic Issue
Empty Group
array has (incomplete|sizeless) element type .*
err_illegal_message_expr_incomplete_type
Error
Semantic Issue
Empty Group
Objective-C message has incomplete result type .*
err_illegal_decl_array_of_references
Error
Semantic Issue
Empty Group
'.*' declared as array of references of type .*
err_decl_negative_array_size
Error
Semantic Issue
Empty Group
'.*' declared as an array with a negative size
err_array_static_outside_prototype
Error
Semantic Issue
Empty Group
.* used in array declarator outside of function prototype
err_array_static_not_outermost
Error
Semantic Issue
Empty Group
.* used in non-outermost array type derivation
err_array_star_outside_prototype
Error
Semantic Issue
Empty Group
star modifier used outside of function prototype
err_illegal_decl_pointer_to_reference
Error
Semantic Issue
Empty Group
'.*' declared as a pointer to a reference of type .*
err_illegal_decl_mempointer_to_reference
Error
Semantic Issue
Empty Group
'.*' declared as a member pointer to a reference of type .*
err_illegal_decl_mempointer_to_void
Error
Semantic Issue
Empty Group
'.*' declared as a member pointer to void
err_illegal_decl_mempointer_in_nonclass
Error
Semantic Issue
Empty Group
'.*' does not point into a class
err_mempointer_in_nonclass_type
Error
Semantic Issue
Empty Group
member pointer refers into non-class type .*
err_reference_to_void
Error
Semantic Issue
Empty Group
cannot form a reference to 'void'
err_nonfunction_block_type
Error
Semantic Issue
Empty Group
block pointer to non-function type is invalid
err_return_block_has_expr
Error
Semantic Issue
Empty Group
void block should not return a value
err_block_return_missing_expr
Error
Semantic Issue
Empty Group
non-void block should return a value
err_func_def_incomplete_result
Error
Semantic Issue
Empty Group
incomplete result type .* in function definition
err_atomic_specifier_bad_type
Error
Semantic Issue
Empty Group
_Atomic cannot be applied to (incomplete |array |function |reference |atomic |qualified |sizeless ||integer )type .* (|||||||which is not trivially copyable|)
ext_sizeof_alignof_function_type
Extension
Semantic Issue
pointer-arith
invalid application of '.*' to a function type
ext_sizeof_alignof_void_type
Extension
Semantic Issue
pointer-arith
invalid application of '.*' to a void type
err_opencl_sizeof_alignof_type
Error
Semantic Issue
Empty Group
invalid application of '.*' to a void type
err_sizeof_alignof_incomplete_or_sizeless_type
Error
Semantic Issue
Empty Group
invalid application of '.*' to (an incomplete|sizeless) type .*
err_sizeof_alignof_function_type
Error
Semantic Issue
Empty Group
invalid application of '.*' to a function type
err_openmp_default_simd_align_expr
Error
Semantic Issue
Empty Group
invalid application of '__builtin_omp_required_simd_align' to an expression, only type is allowed
err_sizeof_alignof_typeof_bitfield
Error
Semantic Issue
Empty Group
invalid application of '(sizeof|alignof|typeof)' to bit-field
err_alignof_member_of_incomplete_type
Error
Semantic Issue
Empty Group
invalid application of 'alignof' to a field of a class still being defined
err_vecstep_non_scalar_vector_type
Error
Semantic Issue
Empty Group
'vec_step' requires built-in scalar or vector type, .* invalid
err_offsetof_incomplete_type
Error
Semantic Issue
Empty Group
offsetof of incomplete type .*
err_offsetof_record_type
Error
Semantic Issue
Empty Group
offsetof requires struct, union, or class type, .* invalid
err_offsetof_array_type
Error
Semantic Issue
Empty Group
offsetof requires array type, .* invalid
ext_offsetof_non_pod_type
ExtWarn
Semantic Issue
invalid-offsetof
offset of on non-POD type .*
ext_offsetof_non_standardlayout_type
ExtWarn
Semantic Issue
invalid-offsetof
offset of on non-standard-layout type .*
err_offsetof_bitfield
Error
Semantic Issue
Empty Group
cannot compute offset of bit-field .*
err_offsetof_field_of_virtual_base
Error
Semantic Issue
Empty Group
invalid application of 'offsetof' to a field of a virtual base
warn_sub_ptr_zero_size_types
Warning
Semantic Issue
pointer-arith
subtraction of pointers to type .* of zero size has undefined behavior
warn_pointer_arith_null_ptr
Warning
Semantic Issue
null-pointer-arithmetic
performing pointer arithmetic on a null pointer has undefined behavior(| if the offset is nonzero)
warn_gnu_null_ptr_arith
Warning
Semantic Issue
null-pointer-arithmetic
arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
warn_floatingpoint_eq
Warning
Semantic Issue
float-equal
comparing floating point with == or != is unsafe
warn_remainder_division_by_zero
Warning
Semantic Issue
division-by-zero
(remainder|division) by zero is undefined
warn_shift_lhs_negative
Warning
Semantic Issue
shift-negative-value
shifting a negative signed value is undefined
warn_shift_negative
Warning
Semantic Issue
shift-count-negative
shift count is negative
warn_shift_gt_typewidth
Warning
Semantic Issue
shift-count-overflow
shift count >= width of type
warn_shift_result_gt_typewidth
Warning
Semantic Issue
shift-overflow
signed shift result \(.*\) requires .* bits to represent, but .* only has .* bits
warn_shift_result_sets_sign_bit
Warning
Semantic Issue
shift-sign-overflow
signed shift result \(.*\) sets the sign bit of the shift expression's type \(.*\) and becomes negative
warn_precedence_bitwise_rel
Warning
Semantic Issue
parentheses
.* has lower precedence than .*; .* will be evaluated first
note_precedence_bitwise_first
Note
Semantic Issue
Empty Group
place parentheses around the .* expression to evaluate it first
note_precedence_silence
Note
Semantic Issue
Empty Group
place parentheses around the '.*' expression to silence this warning
warn_precedence_conditional
Warning
Semantic Issue
parentheses
operator '\?:' has lower precedence than '.*'; '.*' will be evaluated first
warn_precedence_bitwise_conditional
Warning
Semantic Issue
bitwise-conditional-parentheses
operator '\?:' has lower precedence than '.*'; '.*' will be evaluated first
note_precedence_conditional_first
Note
Semantic Issue
Empty Group
place parentheses around the '\?:' expression to evaluate it first
warn_enum_constant_in_bool_context
Warning
Semantic Issue
int-in-bool-context
converting the enum constant to a boolean
warn_left_shift_in_bool_context
Warning
Semantic Issue
int-in-bool-context
converting the result of '<<' to a boolean; did you mean '\(.*\) != 0'\?
warn_logical_instead_of_bitwise
Warning
Semantic Issue
constant-logical-operand
use of logical '.*' with constant operand
note_logical_instead_of_bitwise_change_operator
Note
Semantic Issue
Empty Group
use '.*' for a bitwise operation
note_logical_instead_of_bitwise_remove_constant
Note
Semantic Issue
Empty Group
remove constant to silence this warning
warn_bitwise_op_in_bitwise_op
Warning
Semantic Issue
bitwise-op-parentheses
'.*' within '.*'
warn_logical_and_in_logical_or
Warning
Semantic Issue
logical-op-parentheses
'&&' within '\|\|'
warn_overloaded_shift_in_comparison
Warning
Semantic Issue
overloaded-shift-op-parentheses
overloaded operator (>>|<<) has higher precedence than comparison operator
note_evaluate_comparison_first
Note
Semantic Issue
Empty Group
place parentheses around comparison expression to evaluate it first
note_concatenated_string_literal_silence
Note
Semantic Issue
Empty Group
place parentheses around the string literal to silence warning
warn_addition_in_bitshift
Warning
Semantic Issue
shift-op-parentheses
operator '.*' has lower precedence than '.*'; '.*' will be evaluated first
warn_self_assignment_builtin
Warning
Semantic Issue
self-assign
explicitly assigning value of variable of type .* to itself
warn_self_assignment_overloaded
Warning
Semantic Issue
self-assign-overloaded
explicitly assigning value of variable of type .* to itself
warn_self_move
Warning
Semantic Issue
self-move
explicitly moving variable of type .* to itself
warn_redundant_move_on_return
Warning
Semantic Issue
redundant-move
redundant move in return statement
warn_pessimizing_move_on_return
Warning
Semantic Issue
pessimizing-move
moving a local object in a return statement prevents copy elision
warn_pessimizing_move_on_initialization
Warning
Semantic Issue
pessimizing-move
moving a temporary object prevents copy elision
note_remove_move
Note
Semantic Issue
Empty Group
remove std::move call here
warn_return_std_move
Warning
Semantic Issue
return-std-move
local variable .* will be copied despite being (returned|thrown) by name
note_add_std_move
Note
Semantic Issue
Empty Group
call 'std::move' explicitly to avoid copying
warn_return_std_move_in_cxx11
Warning
Semantic Issue
return-std-move-in-c++11
prior to the resolution of a defect report against ISO C\+\+11, local variable .* would have been copied despite being returned by name, due to its not matching the function return type( \(.* vs .*\)|)
note_add_std_move_in_cxx11
Note
Semantic Issue
Empty Group
call 'std::move' explicitly to avoid copying on older compilers
warn_string_plus_int
Warning
Semantic Issue
string-plus-int
adding .* to a string does not append to the string
warn_string_plus_char
Warning
Semantic Issue
string-plus-char
adding .* to a string pointer does not append to the string
note_string_plus_scalar_silence
Note
Semantic Issue
Empty Group
use array indexing to silence this warning
warn_sizeof_array_param
Warning
Semantic Issue
sizeof-array-argument
sizeof on array function parameter will return size of .* instead of .*
warn_sizeof_array_decay
Warning
Semantic Issue
sizeof-array-decay
sizeof on pointer operation will return size of .* instead of .*
err_sizeof_nonfragile_interface
Error
Semantic Issue
Empty Group
application of '(alignof|sizeof)' to interface .* is not supported on this architecture and platform
err_atdef_nonfragile_interface
Error
Semantic Issue
Empty Group
use of @defs is not supported on this architecture and platform
err_subscript_nonfragile_interface
Error
Semantic Issue
Empty Group
subscript requires size of interface .*, which is not constant for this architecture and platform
err_arithmetic_nonfragile_interface
Error
Semantic Issue
Empty Group
arithmetic on pointer to interface .*, which is not a constant size for this architecture and platform
warn_deprecated_comma_subscript
Warning
Semantic Issue
deprecated-comma-subscript
top-level comma expression in array subscript is deprecated
ext_subscript_non_lvalue
Extension
Semantic Issue
Empty Group
ISO C90 does not allow subscripting non-lvalue array
err_typecheck_subscript_value
Error
Semantic Issue
Empty Group
subscripted value is not an array, pointer, or vector
err_typecheck_subscript_not_integer
Error
Semantic Issue
Empty Group
array subscript is not an integer
err_subscript_function_type
Error
Semantic Issue
Empty Group
subscript of pointer to function type .*
err_subscript_incomplete_or_sizeless_type
Error
Semantic Issue
Empty Group
subscript of pointer to (incomplete|sizeless) type .*
err_dereference_incomplete_type
Error
Semantic Issue
Empty Group
dereference of pointer to incomplete type .*
ext_gnu_subscript_void_type
Extension
Semantic Issue
pointer-arith
subscript of a pointer to void is a GNU extension
err_typecheck_member_reference_struct_union
Error
Semantic Issue
Empty Group
member reference base type .* is not a structure or union
err_typecheck_member_reference_ivar
Error
Semantic Issue
Empty Group
.* does not have a member named .*
err_arc_weak_ivar_access
Error
Semantic Issue
Empty Group
dereferencing a __weak pointer is not allowed due to possible null value caused by race condition, assign it to strong variable first
err_typecheck_member_reference_arrow
Error
Semantic Issue
Empty Group
member reference type .* is not a pointer
err_typecheck_member_reference_suggestion
Error
Semantic Issue
Empty Group
member reference type .* is (a|not a) pointer; did you mean to use '(->|\.)'\?
note_typecheck_member_reference_suggestion
Note
Semantic Issue
Empty Group
did you mean to use '\.' instead\?
note_member_reference_arrow_from_operator_arrow
Note
Semantic Issue
Empty Group
'->' applied to return value of the operator->\(\) declared here
err_typecheck_member_reference_type
Error
Semantic Issue
Empty Group
cannot refer to type member .* in .* with '(\.|->)'
err_typecheck_member_reference_unknown
Error
Semantic Issue
Empty Group
cannot refer to member .* in .* with '(\.|->)'
err_member_reference_needs_call
Error
Semantic Issue
Empty Group
base of member reference is a function; perhaps you meant to call it(| with no arguments)\?
warn_subscript_is_char
Warning
Semantic Issue
char-subscripts
array subscript is of type 'char'
err_typecheck_incomplete_tag
Error
Semantic Issue
Empty Group
incomplete definition of type .*
err_no_member
Error
Semantic Issue
Empty Group
no member named .* in .*
err_no_member_overloaded_arrow
Error
Semantic Issue
Empty Group
no member named .* in .*; did you mean to use '->' instead of '\.'\?
err_member_not_yet_instantiated
Error
Semantic Issue
Empty Group
no member .* in .*; it has not yet been instantiated
note_non_instantiated_member_here
Note
Semantic Issue
Empty Group
not-yet-instantiated member is declared here
err_enumerator_does_not_exist
Error
Semantic Issue
Empty Group
enumerator .* does not exist in instantiation of .*
note_enum_specialized_here
Note
Semantic Issue
Empty Group
enum .* was explicitly specialized here
err_specialization_not_primary_template
Error
Semantic Issue
Empty Group
cannot reference member of primary template because deduced class template specialization .* is (instantiated from a partial|an explicit) specialization
err_member_redeclared
Error
Semantic Issue
Empty Group
class member cannot be redeclared
ext_member_redeclared
ExtWarn
Semantic Issue
redeclared-class-member
class member cannot be redeclared
err_member_redeclared_in_instantiation
Error
Semantic Issue
Empty Group
multiple overloads of .* instantiate to the same signature .*
err_member_name_of_class
Error
Semantic Issue
Empty Group
member .* has the same name as its class
err_member_def_undefined_record
Error
Semantic Issue
Empty Group
out-of-line definition of .* from class .* without definition
err_member_decl_does_not_match
Error
Semantic Issue
Empty Group
out-of-line (declaration|definition) of .* does not match any declaration in .*
err_friend_decl_with_def_arg_must_be_def
Error
Semantic Issue
Empty Group
friend declaration specifying a default argument must be a definition
err_friend_decl_with_def_arg_redeclared
Error
Semantic Issue
Empty Group
friend declaration specifying a default argument must be the only declaration
err_friend_decl_does_not_match
Error
Semantic Issue
Empty Group
friend declaration of .* does not match any declaration in .*
err_member_decl_does_not_match_suggest
Error
Semantic Issue
Empty Group
out-of-line (declaration|definition) of .* does not match any declaration in .*; did you mean .*\?
err_member_def_does_not_match_ret_type
Error
Semantic Issue
Empty Group
return type of out-of-line definition of .* differs from that in the declaration
err_nonstatic_member_out_of_line
Error
Semantic Issue
Empty Group
non-static data member defined out-of-line
err_qualified_typedef_declarator
Error
Semantic Issue
Empty Group
typedef declarator cannot be qualified
err_qualified_param_declarator
Error
Semantic Issue
Empty Group
parameter declarator cannot be qualified
ext_out_of_line_declaration
ExtWarn
Semantic Issue
out-of-line-declaration
out-of-line declaration of a member must be a definition
err_member_extra_qualification
Error
Semantic Issue
Empty Group
extra qualification on member .*
warn_member_extra_qualification
Warning
Semantic Issue
microsoft-extra-qualification
err_member_extra_qualification\.Text
warn_namespace_member_extra_qualification
Warning
Semantic Issue
extra-qualification
extra qualification on member .*
err_member_qualification
Error
Semantic Issue
Empty Group
non-friend class member .* cannot have a qualified name
note_member_def_close_match
Note
Semantic Issue
Empty Group
member declaration nearly matches
note_member_def_close_const_match
Note
Semantic Issue
Empty Group
member declaration does not match because it (is|is not) const qualified
note_member_def_close_param_match
Note
Semantic Issue
Empty Group
type of .* parameter of member declaration does not match definition( \(.* vs .*\)|)
note_local_decl_close_match
Note
Semantic Issue
Empty Group
local declaration nearly matches
note_local_decl_close_param_match
Note
Semantic Issue
Empty Group
type of .* parameter of local declaration does not match definition( \(.* vs .*\)|)
err_typecheck_ivar_variable_size
Error
Semantic Issue
Empty Group
instance variables must have a constant size
err_ivar_reference_type
Error
Semantic Issue
Empty Group
instance variables cannot be of reference type
err_typecheck_illegal_increment_decrement
Error
Semantic Issue
Empty Group
cannot (decrement|increment) value of type .*
err_typecheck_expect_int
Error
Semantic Issue
Empty Group
used type .* where integer is required
err_typecheck_arithmetic_incomplete_or_sizeless_type
Error
Semantic Issue
Empty Group
arithmetic on a pointer to (an incomplete|sizeless) type .*
err_typecheck_pointer_arith_function_type
Error
Semantic Issue
Empty Group
arithmetic on( a|) pointer(|s) to( the|) function type(|s) .*(| and .*)
err_typecheck_pointer_arith_void_type
Error
Semantic Issue
Empty Group
arithmetic on( a|) pointer(|s) to void
err_typecheck_decl_incomplete_type
Error
Semantic Issue
Empty Group
variable has incomplete type .*
ext_typecheck_decl_incomplete_type
ExtWarn
Semantic Issue
tentative-definition-incomplete-type
tentative definition of variable with internal linkage has incomplete non-array type .*
err_tentative_def_incomplete_type
Error
Semantic Issue
Empty Group
tentative definition has type .* that is never completed
warn_tentative_incomplete_array
Warning
Semantic Issue
Empty Group
tentative array definition assumed to have one element
err_typecheck_incomplete_array_needs_initializer
Error
Semantic Issue
Empty Group
definition of variable with array type needs an explicit size or an initializer
err_array_init_not_init_list
Error
Semantic Issue
Empty Group
array initializer must be an initializer list(| or string literal| or wide string literal)
err_array_init_narrow_string_into_wchar
Error
Semantic Issue
Empty Group
initializing wide char array with non-wide string literal
err_array_init_wide_string_into_char
Error
Semantic Issue
Empty Group
initializing char array with wide string literal
err_array_init_incompat_wide_string_into_wchar
Error
Semantic Issue
Empty Group
initializing wide char array with incompatible wide string literal
err_array_init_plain_string_into_char8_t
Error
Semantic Issue
Empty Group
initializing 'char8_t' array with plain string literal
note_array_init_plain_string_into_char8_t
Note
Semantic Issue
Empty Group
add 'u8' prefix to form a 'char8_t' string literal
err_array_init_utf8_string_into_char
Error
Semantic Issue
Empty Group
(|ISO C\+\+20 does not permit )initialization of char array with UTF-8 string literal( is not permitted by '-fchar8_t'|)
warn_cxx20_compat_utf8_string
Warning
Semantic Issue
c++20-compat
type of UTF-8 string literal will change from array of const char to array of const char8_t in C\+\+20
note_cxx20_compat_utf8_string_remove_u8
Note
Semantic Issue
Empty Group
remove 'u8' prefix to avoid a change of behavior; Clang encodes unprefixed narrow string literals as UTF-8
err_array_init_different_type
Error
Semantic Issue
Empty Group
cannot initialize array (of type .* with array of type .*|with different type of array)
err_array_init_non_constant_array
Error
Semantic Issue
Empty Group
cannot initialize array (of type .* with non-constant array of type .*|with different type of array)
ext_array_init_copy
Extension
Semantic Issue
gnu-compound-literal-initializer
initialization of an array (of type .* from a compound literal of type .*|from a compound literal) is a GNU extension
ext_array_init_parens
ExtWarn
Semantic Issue
gnu-array-member-paren-init
parenthesized initialization of a member array is a GNU extension
warn_deprecated_string_literal_conversion
Warning
Semantic Issue
c++11-compat-deprecated-writable-strings
conversion from string literal to .* is deprecated
ext_deprecated_string_literal_conversion
ExtWarn
Semantic Issue
writable-strings
ISO C\+\+11 does not allow conversion from string literal to .*
err_realimag_invalid_type
Error
Semantic Issue
Empty Group
invalid type .* to .* operator
err_typecheck_sclass_fscope
Error
Semantic Issue
Empty Group
illegal storage class on file-scoped variable
warn_standalone_specifier
Warning
Semantic Issue
missing-declarations
'.*' ignored on this declaration
ext_standalone_specifier
ExtWarn
Semantic Issue
missing-declarations
'.*' is not permitted on a declaration of a type
err_standalone_class_nested_name_specifier
Error
Semantic Issue
Empty Group
forward declaration of (class|struct|interface|union|enum) cannot have a nested name specifier
err_typecheck_sclass_func
Error
Semantic Issue
Empty Group
illegal storage class on function
err_static_block_func
Error
Semantic Issue
Empty Group
function declared in block scope cannot have 'static' storage class
err_typecheck_address_of
Error
Semantic Issue
Empty Group
address of (bit-field|vector element|property expression|register variable|matrix element) requested
ext_typecheck_addrof_void
Extension
Semantic Issue
Empty Group
ISO C forbids taking the address of an expression of type 'void'
err_unqualified_pointer_member_function
Error
Semantic Issue
Empty Group
must explicitly qualify name of member function when taking its address
err_invalid_form_pointer_member_function
Error
Semantic Issue
Empty Group
cannot create a non-constant pointer to member function
err_address_of_function_with_pass_object_size_params
Error
Semantic Issue
Empty Group
cannot take address of function .* because parameter .* has pass_object_size attribute
err_parens_pointer_member_function
Error
Semantic Issue
Empty Group
cannot parenthesize the name of a method when forming a member pointer
err_typecheck_invalid_lvalue_addrof_addrof_function
Error
Semantic Issue
Empty Group
extra '&' taking address of overloaded function
err_typecheck_invalid_lvalue_addrof
Error
Semantic Issue
Empty Group
cannot take the address of an rvalue of type .*
ext_typecheck_addrof_temporary
ExtWarn
Semantic Issue
address-of-temporary
taking the address of a temporary object of type .*
err_typecheck_addrof_temporary
Error
Semantic Issue
Empty Group
taking the address of a temporary object of type .*
err_typecheck_addrof_dtor
Error
Semantic Issue
Empty Group
taking the address of a destructor
err_typecheck_unary_expr
Error
Semantic Issue
Empty Group
invalid argument type .* to unary expression
err_typecheck_indirection_requires_pointer
Error
Semantic Issue
Empty Group
indirection requires pointer operand \(.* invalid\)
ext_typecheck_indirection_through_void_pointer
ExtWarn
Semantic Issue
void-ptr-dereference
ISO C\+\+ does not allow indirection on operand of type .*
warn_indirection_through_null
Warning
Semantic Issue
null-dereference
indirection of non-volatile null pointer will be deleted, not trap
warn_binding_null_to_reference
Warning
Semantic Issue
null-dereference
binding dereferenced null pointer to reference has undefined behavior
note_indirection_through_null
Note
Semantic Issue
Empty Group
consider using __builtin_trap\(\) or qualifying pointer with 'volatile'
warn_pointer_indirection_from_incompatible_type
Warning
Semantic Issue
undefined-reinterpret-cast
dereference of type .* that was reinterpret_cast from type .* has undefined behavior
warn_taking_address_of_packed_member
Warning
Semantic Issue
address-of-packed-member
taking address of packed member .* of class or structure .* may result in an unaligned pointer value
err_objc_object_assignment
Error
Semantic Issue
Empty Group
cannot assign to class object \(.* invalid\)
err_typecheck_invalid_operands
Error
Semantic Issue
Empty Group
invalid operands to binary expression \(.* and .*\)
note_typecheck_invalid_operands_converted
Note
Semantic Issue
Empty Group
(first|second) operand was implicitly converted to type .*
err_typecheck_logical_vector_expr_gnu_cpp_restrict
Error
Semantic Issue
Empty Group
logical expression with vector (type .* and non-vector type .*|types .* and .*) is only supported in C\+\+
err_typecheck_sub_ptr_compatible
Error
Semantic Issue
Empty Group
(.* and .* are not pointers to compatible types|pointers to incompatible types)
ext_typecheck_ordered_comparison_of_pointer_integer
ExtWarn
Semantic Issue
Empty Group
ordered comparison between pointer and integer \(.* and .*\)
ext_typecheck_ordered_comparison_of_pointer_and_zero
Extension
Semantic Issue
Empty Group
ordered comparison between pointer and zero \(.* and .*\) is an extension
err_typecheck_ordered_comparison_of_pointer_and_zero
Error
Semantic Issue
Empty Group
ordered comparison between pointer and zero \(.* and .*\)
err_typecheck_three_way_comparison_of_pointer_and_zero
Error
Semantic Issue
Empty Group
three-way comparison between pointer and zero
ext_typecheck_compare_complete_incomplete_pointers
Extension
Semantic Issue
c11-extensions
pointer comparisons before C11 need to be between two complete or two incomplete types; .* is (|in)complete and .* is (|in)complete
ext_typecheck_ordered_comparison_of_function_pointers
ExtWarn
Semantic Issue
ordered-compare-function-pointers
ordered comparison of function pointers \(.* and .*\)
ext_typecheck_comparison_of_fptr_to_void
Extension
Semantic Issue
Empty Group
equality comparison between function pointer and void pointer \(.* and .*\)
err_typecheck_comparison_of_fptr_to_void
Error
Semantic Issue
Empty Group
equality comparison between function pointer and void pointer \(.* and .*\)
ext_typecheck_comparison_of_pointer_integer
ExtWarn
Semantic Issue
pointer-integer-compare
comparison between pointer and integer \(.* and .*\)
err_typecheck_comparison_of_pointer_integer
Error
Semantic Issue
Empty Group
comparison between pointer and integer \(.* and .*\)
ext_typecheck_comparison_of_distinct_pointers
ExtWarn
Semantic Issue
compare-distinct-pointer-types
comparison of distinct pointer types( \(.* and .*\)|)
ext_typecheck_cond_incompatible_operands
ExtWarn
Semantic Issue
Empty Group
incompatible operand types \(.* and .*\)
err_cond_voidptr_arc
Error
Semantic Issue
Empty Group
operands to conditional of types( .* and .*|) are incompatible in ARC mode
err_typecheck_comparison_of_distinct_pointers
Error
Semantic Issue
Empty Group
comparison of distinct pointer types( \(.* and .*\)|)
err_typecheck_op_on_nonoverlapping_address_space_pointers
Error
Semantic Issue
Empty Group
(comparison between ( \(.* and .*\)|)|arithmetic operation with operands of type ( \(.* and .*\)|)|conditional operator with the second and third operands of type ( \(.* and .*\)|)) which are pointers to non-overlapping address spaces
warn_arith_conv_enum_float
Warning
Semantic Issue
enum-float-conversion
(arithmetic between|bitwise operation between|comparison of|conditional expression between|compound assignment of) (floating-point|enumeration) type .* (with|from|and) (enumeration|floating-point) type .*
warn_arith_conv_enum_float_cxx20
Warning
Semantic Issue
deprecated-enum-float-conversion
(arithmetic between|bitwise operation between|comparison of|conditional expression between|compound assignment of) (floating-point|enumeration) type .* (with|from|and) (enumeration|floating-point) type .* is deprecated
warn_arith_conv_mixed_enum_types
Warning
Semantic Issue
enum-enum-conversion
(arithmetic between|bitwise operation between|comparison of|conditional expression between|compound assignment of) different enumeration types( \(.* and .*\)|)
warn_arith_conv_mixed_enum_types_cxx20
Warning
Semantic Issue
deprecated-enum-enum-conversion
(arithmetic between|bitwise operation between|comparison of|conditional expression between|compound assignment of) different enumeration types( \(.* and .*\)|) is deprecated
warn_arith_conv_mixed_anon_enum_types
Warning
Semantic Issue
anon-enum-enum-conversion
warn_arith_conv_mixed_enum_types\.Text
warn_arith_conv_mixed_anon_enum_types_cxx20
Warning
Semantic Issue
deprecated-anon-enum-enum-conversion
warn_arith_conv_mixed_enum_types_cxx20\.Text
warn_conditional_mixed_enum_types
Warning
Semantic Issue
enum-compare-conditional
warn_arith_conv_mixed_enum_types\.Text
warn_conditional_mixed_enum_types_cxx20
Warning
Semantic Issue
deprecated-enum-compare-conditional
warn_arith_conv_mixed_enum_types_cxx20\.Text
warn_comparison_mixed_enum_types
Warning
Semantic Issue
enum-compare
warn_arith_conv_mixed_enum_types\.Text
warn_comparison_mixed_enum_types_cxx20
Warning
Semantic Issue
deprecated-enum-compare
warn_arith_conv_mixed_enum_types_cxx20\.Text
warn_comparison_of_mixed_enum_types_switch
Warning
Semantic Issue
enum-compare-switch
comparison of different enumeration types in switch statement( \(.* and .*\)|)
err_typecheck_assign_const
Error
Semantic Issue
Empty Group
(cannot assign to return value because function .* returns a const value|cannot assign to variable .* with const-qualified type .*|cannot assign to (non-|)static data member .* with const-qualified type .*|cannot assign to non-static data member within const member function .*|cannot assign to (variable .*|non-static data member .*|lvalue) with (|nested )const-qualified data member .*|read-only variable is not assignable)
note_typecheck_assign_const
Note
Semantic Issue
Empty Group
(function .* which returns const-qualified type .* declared here|variable .* declared const here|(non-|)static data member .* declared const here|member function .* is declared const here|(|nested )data member .* declared const here)
warn_unsigned_always_true_comparison
Warning
Semantic Issue
tautological-unsigned-zero-compare
result of comparison of (.*|unsigned expression) .* (unsigned expression|.*) is always .*
warn_unsigned_enum_always_true_comparison
Warning
Semantic Issue
tautological-unsigned-enum-zero-compare
result of comparison of (.*|unsigned enum expression) .* (unsigned enum expression|.*) is always .*
warn_tautological_constant_compare
Warning
Semantic Issue
tautological-type-limit-compare
result of comparison (.*|.*) .* (.*|.*) is always .*
warn_tautological_compare_objc_bool
Warning
Semantic Issue
tautological-objc-bool-compare
result of comparison of constant .* with expression of type 'BOOL' is always .*, as the only well defined values for 'BOOL' are YES and NO
warn_tautological_compare_value_range
Warning
Semantic Issue
tautological-value-range-compare
result of comparison of (.*|.*-bit (signed|unsigned) value) .* (.*-bit (signed|unsigned) value|.*) is always .*
warn_mixed_sign_comparison
Warning
Semantic Issue
sign-compare
comparison of integers of different signs: .* and .*
warn_out_of_range_compare
Warning
Semantic Issue
tautological-constant-out-of-range-compare
result of comparison of (constant .*|true|false) with (expression of type .*|boolean expression) is always .*
warn_tautological_bool_compare
Warning
Semantic Issue
tautological-constant-compare
warn_out_of_range_compare\.Text
warn_integer_constants_in_conditional_always_true
Warning
Semantic Issue
tautological-constant-compare
converting the result of '\?:' with integer constants to a boolean always evaluates to 'true'
warn_left_shift_always
Warning
Semantic Issue
tautological-constant-compare
converting the result of '<<' to a boolean always evaluates to (false|true)
warn_null_in_arithmetic_operation
Warning
Semantic Issue
null-arithmetic
use of NULL in arithmetic operation
warn_null_in_comparison_operation
Warning
Semantic Issue
null-arithmetic
comparison between NULL and non-pointer (\(.* and NULL\)|\(NULL and .*\))
err_shift_rhs_only_vector
Error
Semantic Issue
Empty Group
requested shift is a vector of type .* but the first operand is not a vector \(.*\)
warn_logical_not_on_lhs_of_check
Warning
Semantic Issue
logical-not-parentheses
logical not is only applied to the left hand side of this (comparison|bitwise operator)
note_logical_not_fix
Note
Semantic Issue
Empty Group
add parentheses after the '!' to evaluate the (comparison|bitwise operator) first
note_logical_not_silence_with_parens
Note
Semantic Issue
Empty Group
add parentheses around left hand side expression to silence this warning
err_invalid_this_use
Error
Semantic Issue
Empty Group
invalid use of 'this' outside of a non-static member function
err_this_static_member_func
Error
Semantic Issue
Empty Group
'this' cannot be(| implicitly) used in a static member function declaration
err_invalid_member_use_in_static_method
Error
Semantic Issue
Empty Group
invalid use of member .* in static member function
err_invalid_qualified_function_type
Error
Semantic Issue
Empty Group
(non-member function|static member function|deduction guide) (of type .* |)cannot have '.*' qualifier
err_compound_qualified_function_type
Error
Semantic Issue
Empty Group
(block pointer|pointer|reference) to function type (.* |)cannot have '.*' qualifier
err_qualified_function_typeid
Error
Semantic Issue
Empty Group
type operand .* of 'typeid' cannot have '.*' qualifier
err_ref_qualifier_overload
Error
Semantic Issue
Empty Group
cannot overload a member function (without a ref-qualifier|with ref-qualifier '&'|with ref-qualifier '&&') with a member function (without a ref-qualifier|with ref-qualifier '&'|with ref-qualifier '&&')
err_invalid_non_static_member_use
Error
Semantic Issue
Empty Group
invalid use of non-static data member .*
err_nested_non_static_member_use
Error
Semantic Issue
Empty Group
(call to non-static member function|use of non-static data member) .* of .* from nested type .*
warn_cxx98_compat_non_static_member_use
Warning
Semantic Issue
c++98-compat
use of non-static data member .* in an unevaluated context is incompatible with C\+\+98
err_invalid_incomplete_type_use
Error
Semantic Issue
Empty Group
invalid use of incomplete type .*
err_builtin_func_cast_more_than_one_arg
Error
Semantic Issue
Empty Group
function-style cast to a builtin type can only take one argument
err_value_init_for_array_type
Error
Semantic Issue
Empty Group
array types cannot be value-initialized
err_init_for_function_type
Error
Semantic Issue
Empty Group
cannot create object of function type .*
warn_format_nonliteral_noargs
Warning
Semantic Issue
format-security
format string is not a string literal \(potentially insecure\)
warn_format_nonliteral
Warning
Semantic Issue
format-nonliteral
format string is not a string literal
err_unexpected_interface
Error
Semantic Issue
Empty Group
unexpected interface name .*: expected expression
err_ref_non_value
Error
Semantic Issue
Empty Group
.* does not refer to a value
err_ref_vm_type
Error
Semantic Issue
Empty Group
cannot refer to declaration with a variably modified type inside block
err_ref_flexarray_type
Error
Semantic Issue
Empty Group
cannot refer to declaration of structure variable with flexible array member inside block
err_ref_array_type
Error
Semantic Issue
Empty Group
cannot refer to declaration with an array type inside block
err_property_not_found
Error
Semantic Issue
Empty Group
property .* not found on object of type .*
err_invalid_property_name
Error
Semantic Issue
Empty Group
.* is not a valid property name \(accessing an object of type .*\)
err_getter_not_found
Error
Semantic Issue
Empty Group
no getter method for read from property
err_objc_subscript_method_not_found
Error
Semantic Issue
Empty Group
expected method to (read|write) (dictionary|array) element not found on object of type .*
err_objc_subscript_index_type
Error
Semantic Issue
Empty Group
method index parameter type .* is not integral type
err_objc_subscript_key_type
Error
Semantic Issue
Empty Group
method key parameter type .* is not object type
err_objc_subscript_dic_object_type
Error
Semantic Issue
Empty Group
method object parameter type .* is not object type
err_objc_subscript_object_type
Error
Semantic Issue
Empty Group
cannot assign to this (dictionary|array) because assigning method's 2nd parameter of type .* is not an Objective-C pointer type
err_objc_subscript_base_type
Error
Semantic Issue
Empty Group
(dictionary|array) subscript base type .* is not an Objective-C object
err_objc_multiple_subscript_type_conversion
Error
Semantic Issue
Empty Group
indexing expression is invalid because subscript type .* has multiple type conversion functions
err_objc_subscript_type_conversion
Error
Semantic Issue
Empty Group
indexing expression is invalid because subscript type .* is not an integral or Objective-C pointer type
err_objc_subscript_pointer
Error
Semantic Issue
Empty Group
indexing expression is invalid because subscript type .* is not an Objective-C pointer
err_objc_indexing_method_result_type
Error
Semantic Issue
Empty Group
method for accessing (dictionary|array) element must have Objective-C object return type instead of .*
err_objc_index_incomplete_class_type
Error
Semantic Issue
Empty Group
Objective-C index expression has incomplete class type .*
err_illegal_container_subscripting_op
Error
Semantic Issue
Empty Group
illegal operation on Objective-C container subscripting
err_property_not_found_forward_class
Error
Semantic Issue
Empty Group
property .* cannot be found in forward class object .*
err_property_not_as_forward_class
Error
Semantic Issue
Empty Group
property .* refers to an incomplete Objective-C class .* \(with no @interface available\)
note_forward_class
Note
Semantic Issue
Empty Group
forward declaration of class here
err_duplicate_property
Error
Semantic Issue
Empty Group
property has a previous declaration
ext_gnu_void_ptr
Extension
Semantic Issue
pointer-arith
arithmetic on( a|) pointer(|s) to void is a GNU extension
ext_gnu_ptr_func_arith
Extension
Semantic Issue
pointer-arith
arithmetic on( a|) pointer(|s) to( the|) function type(|s) .*(| and .*) is a GNU extension
err_readonly_message_assignment
Error
Semantic Issue
Empty Group
assigning to 'readonly' return result of an Objective-C message not allowed
ext_integer_increment_complex
Extension
Semantic Issue
Empty Group
ISO C does not support '\+\+'/'--' on complex integer type .*
ext_integer_complement_complex
Extension
Semantic Issue
Empty Group
ISO C does not support '~' for complex conjugation of .*
err_nosetter_property_assignment
Error
Semantic Issue
Empty Group
(assignment to readonly property|no setter method .* for assignment to property)
err_nosetter_property_incdec
Error
Semantic Issue
Empty Group
((increment|decrement) of readonly property|no setter method .* for (increment|decrement) of property)
err_nogetter_property_compound_assignment
Error
Semantic Issue
Empty Group
a getter method is needed to perform a compound assignment on a property
err_nogetter_property_incdec
Error
Semantic Issue
Empty Group
no getter method .* for (increment|decrement) of property
err_no_subobject_property_setting
Error
Semantic Issue
Empty Group
expression is not assignable
err_qualified_objc_access
Error
Semantic Issue
Empty Group
(property|instance variable) access cannot be qualified with '.*'
ext_freestanding_complex
Extension
Semantic Issue
Empty Group
complex numbers are an extension in a freestanding C99 implementation
err_imaginary_not_supported
Error
Semantic Issue
Empty Group
imaginary types are not supported
warn_root_inst_method_not_found
Warning
Semantic Issue
objc-method-access
instance method .* is being used on 'Class' which is not in the root class
warn_class_method_not_found
Warning
Semantic Issue
objc-method-access
class method .* not found \(return type defaults to 'id'\)
warn_instance_method_on_class_found
Warning
Semantic Issue
objc-method-access
instance method .* found instead of class method .*
warn_inst_method_not_found
Warning
Semantic Issue
objc-method-access
instance method .* not found \(return type defaults to 'id'\)
warn_instance_method_not_found_with_typo
Warning
Semantic Issue
objc-method-access
instance method .* not found \(return type defaults to 'id'\); did you mean .*\?
warn_class_method_not_found_with_typo
Warning
Semantic Issue
objc-method-access
class method .* not found \(return type defaults to 'id'\); did you mean .*\?
err_method_not_found_with_typo
Error
Semantic Issue
Empty Group
(instance|class) method .* not found ; did you mean .*\?
err_no_super_class_message
Error
Semantic Issue
Empty Group
no @interface declaration found in class messaging of .*
err_root_class_cannot_use_super
Error
Semantic Issue
Empty Group
.* cannot use 'super' because it is a root class
err_invalid_receiver_to_message_super
Error
Semantic Issue
Empty Group
'super' is only valid in a method body
err_invalid_receiver_class_message
Error
Semantic Issue
Empty Group
receiver type .* is not an Objective-C class
err_missing_open_square_message_send
Error
Semantic Issue
Empty Group
missing '\[' at start of message send expression
warn_bad_receiver_type
Warning
Semantic Issue
receiver-expr
receiver type .* is not 'id' or interface pointer, consider casting it to 'id'
err_bad_receiver_type
Error
Semantic Issue
Empty Group
bad receiver type .*
err_incomplete_receiver_type
Error
Semantic Issue
Empty Group
incomplete receiver type .*
err_unknown_receiver_suggest
Error
Semantic Issue
Empty Group
unknown receiver .*; did you mean .*\?
err_objc_throw_expects_object
Error
Semantic Issue
Empty Group
@throw requires an Objective-C object type \(.* invalid\)
err_objc_synchronized_expects_object
Error
Semantic Issue
Empty Group
@synchronized requires an Objective-C object type \(.* invalid\)
err_rethrow_used_outside_catch
Error
Semantic Issue
Empty Group
@throw \(rethrow\) used outside of a @catch block
err_attribute_multiple_objc_gc
Error
Semantic Issue
Empty Group
multiple garbage collection attributes specified for type
err_catch_param_not_objc_type
Error
Semantic Issue
Empty Group
@catch parameter is not a pointer to an interface type
err_illegal_qualifiers_on_catch_parm
Error
Semantic Issue
Empty Group
illegal qualifiers on @catch parameter
err_storage_spec_on_catch_parm
Error
Semantic Issue
Empty Group
@catch parameter cannot have storage specifier '.*'
warn_register_objc_catch_parm
Warning
Semantic Issue
Empty Group
'register' storage specifier on @catch parameter will be ignored
err_qualified_objc_catch_parm
Error
Semantic Issue
Empty Group
@catch parameter declarator cannot be qualified
warn_objc_pointer_cxx_catch_fragile
Warning
Semantic Issue
objc-nonunified-exceptions
cannot catch an exception thrown with @throw in C\+\+ in the non-unified exception model
err_objc_object_catch
Error
Semantic Issue
Empty Group
cannot catch an Objective-C object by value
err_incomplete_type_objc_at_encode
Error
Semantic Issue
Empty Group
'@encode' of incomplete type .*
warn_objc_circular_container
Warning
Semantic Issue
objc-circular-container
adding .* to .* might cause circular dependency in container
note_objc_circular_container_declared_here
Note
Semantic Issue
Empty Group
.* declared here
warn_objc_unsafe_perform_selector
Warning
Semantic Issue
objc-unsafe-perform-selector
.* is incompatible with selectors that return a (struct|union|vector) type
note_objc_unsafe_perform_selector_method_declared_here
Note
Semantic Issue
Empty Group
method .* that returns .* declared here
err_attribute_arm_builtin_alias
Error
Semantic Issue
Empty Group
'__clang_arm_builtin_alias' attribute can only be applied to an ARM builtin
err_attribute_arm_mve_polymorphism
Error
Semantic Issue
Empty Group
'__clang_arm_mve_strict_polymorphism' attribute can only be applied to an MVE/NEON vector type
warn_setter_getter_impl_required
Warning
Semantic Issue
objc-property-implementation
property .* requires method .* to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
warn_setter_getter_impl_required_in_category
Warning
Semantic Issue
objc-property-implementation
property .* requires method .* to be defined - use @dynamic or provide a method implementation in this category
note_parameter_named_here
Note
Semantic Issue
Empty Group
passing argument to parameter .* here
note_parameter_here
Note
Semantic Issue
Empty Group
passing argument to parameter here
note_method_return_type_change
Note
Semantic Issue
Empty Group
compiler has implicitly changed method .* return type
warn_impl_required_for_class_property
Warning
Semantic Issue
objc-property-implementation
class property .* requires method .* to be defined - use @dynamic or provide a method implementation in this class implementation
warn_impl_required_in_category_for_class_property
Warning
Semantic Issue
objc-property-implementation
class property .* requires method .* to be defined - use @dynamic or provide a method implementation in this category
err_bad_reinterpret_cast_overload
Error
Semantic Issue
Empty Group
reinterpret_cast cannot resolve overloaded function .* to type .*
warn_reinterpret_different_from_static
Warning
Semantic Issue
reinterpret-base-class
'reinterpret_cast' (from|to) class .* (to|from) its (virtual base|base at non-zero offset) .* behaves differently from 'static_cast'
note_reinterpret_updowncast_use_static
Note
Semantic Issue
Empty Group
use 'static_cast' to adjust the pointer correctly while (upcasting|downcasting)
err_bad_static_cast_overload
Error
Semantic Issue
Empty Group
address of overloaded function .* cannot be static_cast to type .*
err_bad_cstyle_cast_overload
Error
Semantic Issue
Empty Group
address of overloaded function .* cannot be cast to type .*
err_bad_cxx_cast_generic
Error
Semantic Issue
Empty Group
(const_cast|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|addrspace_cast) from .* to .* is not allowed
err_bad_cxx_cast_unrelated_class
Error
Semantic Issue
Empty Group
(const_cast|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|) from .* to .*, which are not related by inheritance, is not allowed
note_type_incomplete
Note
Semantic Issue
Empty Group
.* is incomplete
err_bad_cxx_cast_rvalue
Error
Semantic Issue
Empty Group
(const_cast|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|addrspace_cast) from rvalue to reference type .*
err_bad_cxx_cast_bitfield
Error
Semantic Issue
Empty Group
(const_cast|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|) from bit-field lvalue to reference type .*
err_bad_cxx_cast_qualifiers_away
Error
Semantic Issue
Empty Group
(const_cast|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|) from .* to .* casts away qualifiers
err_bad_cxx_cast_addr_space_mismatch
Error
Semantic Issue
Empty Group
(const_cast|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|addrspace_cast) from .* to .* converts between mismatching address spaces
ext_bad_cxx_cast_qualifiers_away_incoherent
ExtWarn
Semantic Issue
cast-qual-unrelated
ISO C\+\+ does not allow (const_cast|static_cast|reinterpret_cast|dynamic_cast|C-style cast|functional-style cast|) from .* to .* because it casts away qualifiers, even though the source and destination types are unrelated
err_bad_const_cast_dest
Error
Semantic Issue
Empty Group
(const_cast||||C-style cast|functional-style cast|) to .*, which is not a reference, pointer-to-object, or pointer-to-data-member
ext_cast_fn_obj
Extension
Semantic Issue
Empty Group
cast between pointer-to-function and pointer-to-object is an extension
ext_ms_cast_fn_obj
ExtWarn
Semantic Issue
microsoft-cast
static_cast between pointer-to-function and pointer-to-object is a Microsoft extension
warn_cxx98_compat_cast_fn_obj
Warning
Semantic Issue
c++98-compat-pedantic
cast between pointer-to-function and pointer-to-object is incompatible with C\+\+98
err_bad_reinterpret_cast_small_int
Error
Semantic Issue
Empty Group
cast from pointer to smaller type .* loses information
err_bad_cxx_cast_vector_to_scalar_different_size
Error
Semantic Issue
Empty Group
(||reinterpret_cast||C-style cast||) from vector .* to scalar .* of different size
err_bad_cxx_cast_scalar_to_vector_different_size
Error
Semantic Issue
Empty Group
(||reinterpret_cast||C-style cast||) from scalar .* to vector .* of different size
err_bad_cxx_cast_vector_to_vector_different_size
Error
Semantic Issue
Empty Group
(||reinterpret_cast||C-style cast||) from vector .* to vector .* of different size
warn_bad_cxx_cast_nested_pointer_addr_space
Warning
Semantic Issue
incompatible-pointer-types-discards-qualifiers
(reinterpret_cast|C-style cast) from .* to .* changes address space of nested pointers
err_bad_lvalue_to_rvalue_cast
Error
Semantic Issue
Empty Group
cannot cast from lvalue of type .* to rvalue reference type .*; types are not compatible
err_bad_rvalue_to_rvalue_cast
Error
Semantic Issue
Empty Group
cannot cast from rvalue of type .* to rvalue reference type .*; types are not compatible
err_bad_static_cast_pointer_nonpointer
Error
Semantic Issue
Empty Group
cannot cast from type .* to pointer type .*
err_bad_static_cast_member_pointer_nonmp
Error
Semantic Issue
Empty Group
cannot cast from type .* to member pointer type .*
err_bad_cxx_cast_member_pointer_size
Error
Semantic Issue
Empty Group
cannot (||reinterpret_cast||C-style cast||) from member pointer type .* to member pointer type .* of different size
err_bad_reinterpret_cast_reference
Error
Semantic Issue
Empty Group
reinterpret_cast of a .* to .* needs its address, which is not allowed
warn_undefined_reinterpret_cast
Warning
Semantic Issue
undefined-reinterpret-cast
reinterpret_cast from .* to .* has undefined behavior
err_ambiguous_base_to_derived_cast
Error
Semantic Issue
Empty Group
ambiguous cast from base .* to derived .*:.*
err_static_downcast_via_virtual
Error
Semantic Issue
Empty Group
cannot cast .* to .* via virtual base .*
err_downcast_from_inaccessible_base
Error
Semantic Issue
Empty Group
cannot cast (private|protected) base class .* to .*
err_upcast_to_inaccessible_base
Error
Semantic Issue
Empty Group
cannot cast .* to its (private|protected) base class .*
err_bad_dynamic_cast_not_ref_or_ptr
Error
Semantic Issue
Empty Group
invalid target type .* for dynamic_cast; target type must be a reference or pointer type to a defined class
err_bad_dynamic_cast_not_class
Error
Semantic Issue
Empty Group
.* is not a class type
err_bad_cast_incomplete
Error
Semantic Issue
Empty Group
.* is an incomplete type
err_bad_dynamic_cast_not_ptr
Error
Semantic Issue
Empty Group
cannot use dynamic_cast to convert from .* to .*
err_bad_dynamic_cast_not_polymorphic
Error
Semantic Issue
Empty Group
.* is not polymorphic
err_need_header_before_typeid
Error
Semantic Issue
Empty Group
you need to include <typeinfo> before using the 'typeid' operator
err_need_header_before_ms_uuidof
Error
Semantic Issue
Empty Group
you need to include <guiddef\.h> before using the '__uuidof' operator
err_ms___leave_not_in___try
Error
Semantic Issue
Empty Group
'__leave' statement not in __try block
err_uuidof_without_guid
Error
Semantic Issue
Empty Group
cannot call operator __uuidof on a type with no GUID
err_uuidof_with_multiple_guids
Error
Semantic Issue
Empty Group
cannot call operator __uuidof on a type with multiple GUIDs
err_incomplete_typeid
Error
Semantic Issue
Empty Group
'typeid' of incomplete type .*
err_variably_modified_typeid
Error
Semantic Issue
Empty Group
'typeid' of variably modified type .*
err_static_illegal_in_new
Error
Semantic Issue
Empty Group
the 'static' modifier for the array size is not legal in new expressions
err_array_new_needs_size
Error
Semantic Issue
Empty Group
array size must be specified in new expression with no initializer
err_bad_new_type
Error
Semantic Issue
Empty Group
cannot allocate (function|reference) type .* with new
err_new_incomplete_or_sizeless_type
Error
Semantic Issue
Empty Group
allocation of (incomplete|sizeless) type .*
err_new_array_nonconst
Error
Semantic Issue
Empty Group
only the first dimension of an allocated array may have dynamic size
err_new_array_size_unknown_from_init
Error
Semantic Issue
Empty Group
cannot determine allocated array size from initializer
err_new_array_init_args
Error
Semantic Issue
Empty Group
array 'new' cannot have initialization arguments
ext_new_paren_array_nonconst
ExtWarn
Semantic Issue
Empty Group
when type is in parentheses, array cannot have dynamic size
err_placement_new_non_placement_delete
Error
Semantic Issue
Empty Group
'new' expression with placement arguments refers to non-placement 'operator delete'
err_array_size_not_integral
Error
Semantic Issue
Empty Group
array size expression must have integral or (|unscoped )enumeration type, not .*
err_array_size_incomplete_type
Error
Semantic Issue
Empty Group
array size expression has incomplete class type .*
err_array_size_explicit_conversion
Error
Semantic Issue
Empty Group
array size expression of type .* requires explicit conversion to type .*
note_array_size_conversion
Note
Semantic Issue
Empty Group
conversion to (integral|enumeration) type .* declared here
err_array_size_ambiguous_conversion
Error
Semantic Issue
Empty Group
ambiguous conversion of array size expression of type .* to an integral or enumeration type
ext_array_size_conversion
Extension
Semantic Issue
c++11-extensions
implicit conversion from array size expression of type .* to (integral|enumeration) type .* is a C\+\+11 extension
warn_cxx98_compat_array_size_conversion
Warning
Semantic Issue
c++98-compat-pedantic
implicit conversion from array size expression of type .* to (integral|enumeration) type .* is incompatible with C\+\+98
err_address_space_qualified_new
Error
Semantic Issue
Empty Group
'new' cannot allocate objects of type .* in address space '.*'
err_address_space_qualified_delete
Error
Semantic Issue
Empty Group
'delete' cannot delete objects of type .* in address space '.*'
err_default_init_const
Error
Semantic Issue
Empty Group
default initialization of an object of const type .*(| without a user-provided default constructor)
ext_default_init_const
ExtWarn
Semantic Issue
microsoft-const-init
default initialization of an object of const type .*(| without a user-provided default constructor) is a Microsoft extension
err_delete_operand
Error
Semantic Issue
Empty Group
cannot delete expression of type .*
ext_delete_void_ptr_operand
ExtWarn
Semantic Issue
delete-incomplete
cannot delete expression with pointer-to-'void' type .*
err_ambiguous_delete_operand
Error
Semantic Issue
Empty Group
ambiguous conversion of delete expression of type .* to a pointer
warn_delete_incomplete
Warning
Semantic Issue
delete-incomplete
deleting pointer to incomplete type .* may cause undefined behavior
err_delete_incomplete_class_type
Error
Semantic Issue
Empty Group
deleting incomplete class type .*; no conversions to pointer type
err_delete_explicit_conversion
Error
Semantic Issue
Empty Group
converting delete expression from type .* to type .* invokes an explicit conversion function
note_delete_conversion
Note
Semantic Issue
Empty Group
conversion to pointer type .*
warn_delete_array_type
Warning
Semantic Issue
Empty Group
'delete' applied to a pointer-to-array type .* treated as 'delete\[\]'
warn_mismatched_delete_new
Warning
Semantic Issue
mismatched-new-delete
'delete(|\[\])' applied to a pointer that was allocated with 'new(\[\]|)'; did you mean 'delete(\[\]|)'\?
note_allocated_here
Note
Semantic Issue
Empty Group
allocated with 'new(\[\]|)' here
err_no_suitable_delete_member_function_found
Error
Semantic Issue
Empty Group
no suitable member .* in .*
err_ambiguous_suitable_delete_member_function_found
Error
Semantic Issue
Empty Group
multiple suitable .* functions in .*
warn_ambiguous_suitable_delete_function_found
Warning
Semantic Issue
ambiguous-delete
multiple suitable .* functions for .*; no 'operator delete' function will be invoked if initialization throws an exception
note_member_declared_here
Note
Semantic Issue
Empty Group
member .* declared here
note_member_first_declared_here
Note
Semantic Issue
Empty Group
member .* first declared here
warn_bitwise_negation_bool
Warning
Semantic Issue
bool-operation
bitwise negation of a boolean expression(;| always evaluates to 'true';) did you mean logical negation\?
err_decrement_bool
Error
Semantic Issue
Empty Group
cannot decrement expression of type bool
warn_increment_bool
Warning
Semantic Issue
deprecated-increment-bool
incrementing expression of type bool is deprecated and incompatible with C\+\+17
ext_increment_bool
ExtWarn
Semantic Issue
increment-bool
ISO C\+\+17 does not allow incrementing expression of type bool
err_increment_decrement_enum
Error
Semantic Issue
Empty Group
cannot (decrement|increment) expression of enum type .*
warn_deprecated_increment_decrement_volatile
Warning
Semantic Issue
deprecated-volatile
(decrement|increment) of object of volatile-qualified type .* is deprecated
warn_deprecated_simple_assign_volatile
Warning
Semantic Issue
deprecated-volatile
use of result of assignment to object of volatile-qualified type .* is deprecated
warn_deprecated_compound_assign_volatile
Warning
Semantic Issue
deprecated-volatile
compound assignment to object of volatile-qualified type .* is deprecated
warn_deprecated_volatile_return
Warning
Semantic Issue
deprecated-volatile
volatile-qualified return type .* is deprecated
warn_deprecated_volatile_param
Warning
Semantic Issue
deprecated-volatile
volatile-qualified parameter type .* is deprecated
warn_deprecated_volatile_structured_binding
Warning
Semantic Issue
deprecated-volatile
volatile qualifier in structured binding declaration is deprecated
err_catch_incomplete_ptr
Error
Semantic Issue
Empty Group
cannot catch pointer to incomplete type .*
err_catch_incomplete_ref
Error
Semantic Issue
Empty Group
cannot catch reference to incomplete type .*
err_catch_incomplete
Error
Semantic Issue
Empty Group
cannot catch incomplete type .*
err_catch_sizeless
Error
Semantic Issue
Empty Group
cannot catch (|reference to )sizeless type .*
err_catch_rvalue_ref
Error
Semantic Issue
Empty Group
cannot catch exceptions by rvalue reference
err_catch_variably_modified
Error
Semantic Issue
Empty Group
cannot catch variably modified type .*
err_qualified_catch_declarator
Error
Semantic Issue
Empty Group
exception declarator cannot be qualified
err_early_catch_all
Error
Semantic Issue
Empty Group
catch-all handler must come last
err_bad_memptr_rhs
Error
Semantic Issue
Empty Group
right hand operand to .* has non-pointer-to-member type .*
err_bad_memptr_lhs
Error
Semantic Issue
Empty Group
left hand operand to .* must be a (|pointer to )class compatible with the right hand operand, but is .*
err_memptr_incomplete
Error
Semantic Issue
Empty Group
member pointer has incomplete base type .*
warn_exception_caught_by_earlier_handler
Warning
Semantic Issue
exceptions
exception of type .* will be caught by earlier handler
note_previous_exception_handler
Note
Semantic Issue
Empty Group
for type .*
err_exceptions_disabled
Error
Semantic Issue
Empty Group
cannot use '.*' with exceptions disabled
err_objc_exceptions_disabled
Error
Semantic Issue
Empty Group
cannot use '.*' with Objective-C exceptions disabled
warn_throw_in_noexcept_func
Warning
Semantic Issue
exceptions
.* has a non-throwing exception specification but can still throw
note_throw_in_dtor
Note
Semantic Issue
Empty Group
(destructor|deallocator) has a (non-throwing|implicit non-throwing) exception specification
note_throw_in_function
Note
Semantic Issue
Empty Group
function declared non-throwing here
err_seh_try_outside_functions
Error
Semantic Issue
Empty Group
cannot use SEH '__try' in blocks, captured regions, or Obj-C method decls
err_mixing_cxx_try_seh_try
Error
Semantic Issue
Empty Group
cannot use C\+\+ 'try' in the same function as SEH '__try'
err_seh_try_unsupported
Error
Semantic Issue
Empty Group
SEH '__try' is not supported on this target
note_conflicting_try_here
Note
Semantic Issue
Empty Group
conflicting .* here
warn_jump_out_of_seh_finally
Warning
Semantic Issue
jump-seh-finally
jump out of __finally block has undefined behavior
warn_non_virtual_dtor
Warning
Semantic Issue
non-virtual-dtor
.* has virtual functions but non-virtual destructor
warn_delete_non_virtual_dtor
Warning
Semantic Issue
delete-non-abstract-non-virtual-dtor
(delete|destructor) called on non-final .* that has virtual functions but non-virtual destructor
note_delete_non_virtual
Note
Semantic Issue
Empty Group
qualify call to silence this warning
warn_delete_abstract_non_virtual_dtor
Warning
Semantic Issue
delete-abstract-non-virtual-dtor
(delete|destructor) called on .* that is abstract but has non-virtual destructor
warn_overloaded_virtual
Warning
Semantic Issue
overloaded-virtual
.* hides overloaded virtual (function|functions)
note_hidden_overloaded_virtual_declared_here
Note
Semantic Issue
Empty Group
hidden overloaded virtual function .* declared here(|: different classes( \(.* vs .*\)|)|: different number of parameters \(.* vs .*\)|: type mismatch at .* parameter( \(.* vs .*\)|)|: different return type( \(.* vs .*\)|)|: different qualifiers \(.* vs .*\)|: different exception specifications)
warn_using_directive_in_header
Warning
Semantic Issue
header-hygiene
using namespace directive in global context in header
warn_overaligned_type
Warning
Semantic Issue
over-aligned
type .* requires .* bytes of alignment and the default allocator only guarantees .* bytes
err_aligned_allocation_unavailable
Error
Semantic Issue
Empty Group
aligned (allocation|deallocation) function of type '.*' is (only|not) available on .*( .* or newer|)
note_silence_aligned_allocation_unavailable
Note
Semantic Issue
Empty Group
if you supply your own aligned allocation functions, use -faligned-allocation to silence this diagnostic
err_conditional_void_nonvoid
Error
Semantic Issue
Empty Group
(left|right) operand to \? is void, but (right|left) operand is of type .*
err_conditional_ambiguous
Error
Semantic Issue
Empty Group
conditional expression is ambiguous; (.* can be converted to .* and vice versa|types can be convert to each other)
err_conditional_ambiguous_ovl
Error
Semantic Issue
Empty Group
conditional expression is ambiguous; (.* and .*|types) can be converted to several common types
err_conditional_vector_size
Error
Semantic Issue
Empty Group
vector condition type .* and result type .* do not have the same number of elements
err_conditional_vector_element_size
Error
Semantic Issue
Empty Group
vector condition type .* and result type .* do not have elements of the same size
err_conditional_vector_has_void
Error
Semantic Issue
Empty Group
GNU vector conditional operand cannot be (void|a throw expression)
err_conditional_vector_operand_type
Error
Semantic Issue
Empty Group
(enumeration|extended vector) type .* is not allowed in a vector conditional
err_conditional_vector_mismatched_vectors
Error
Semantic Issue
Empty Group
vector operands to the vector conditional must be the same type (\(.* and .*\)|)\}
err_throw_incomplete
Error
Semantic Issue
Empty Group
cannot throw object of incomplete type .*
err_throw_incomplete_ptr
Error
Semantic Issue
Empty Group
cannot throw pointer to object of incomplete type .*
err_throw_sizeless
Error
Semantic Issue
Empty Group
cannot throw object of sizeless type .*
warn_throw_underaligned_obj
Warning
Semantic Issue
underaligned-exception-object
underaligned exception object thrown
note_throw_underaligned_obj
Note
Semantic Issue
Empty Group
required alignment of type .* \(.* bytes\) is larger than the supported alignment of C\+\+ exception objects on this target \(.* bytes\)
err_return_in_constructor_handler
Error
Semantic Issue
Empty Group
return in the catch of a function try block of a constructor is illegal
warn_cdtor_function_try_handler_mem_expr
Warning
Semantic Issue
exceptions
cannot refer to a non-static member from the handler of a (constructor|destructor) function try block
err_capture_more_than_once
Error
Lambda Issue
Empty Group
.* can appear only once in a capture list
err_reference_capture_with_reference_default
Error
Lambda Issue
Empty Group
'&' cannot precede a capture when the capture default is '&'
err_copy_capture_with_copy_default
Error
Lambda Issue
Empty Group
'&' must precede a capture when the capture default is '='
err_capture_does_not_name_variable
Error
Lambda Issue
Empty Group
.* in capture list does not name a variable
err_capture_non_automatic_variable
Error
Lambda Issue
Empty Group
.* cannot be captured because it does not have automatic storage duration
err_this_capture
Error
Lambda Issue
Empty Group
'this' cannot be (implicitly |)captured in this context
err_lambda_capture_anonymous_var
Error
Lambda Issue
Empty Group
unnamed variable cannot be implicitly captured in a lambda expression
err_lambda_capture_flexarray_type
Error
Lambda Issue
Empty Group
variable .* with flexible array member cannot be captured in a lambda expression
err_lambda_impcap
Error
Lambda Issue
Empty Group
variable .* cannot be implicitly captured in a lambda with no capture-default specified
note_lambda_decl
Note
Lambda Issue
Empty Group
lambda expression begins here
err_lambda_unevaluated_operand
Error
Lambda Issue
Empty Group
lambda expression in an unevaluated operand
err_lambda_in_constant_expression
Error
Lambda Issue
Empty Group
a lambda expression may not appear inside of a constant expression
err_lambda_in_invalid_context
Error
Lambda Issue
Empty Group
a lambda expression cannot appear in this context
err_lambda_return_init_list
Error
Lambda Issue
Empty Group
cannot deduce lambda return type from initializer list
err_lambda_capture_default_arg
Error
Lambda Issue
Empty Group
lambda expression in default argument cannot capture any entity
err_lambda_incomplete_result
Error
Lambda Issue
Empty Group
incomplete result type .* in lambda expression
err_noreturn_lambda_has_return_expr
Error
Lambda Issue
Empty Group
lambda declared 'noreturn' should not return
warn_maybe_falloff_nonvoid_lambda
Warning
Lambda Issue
return-type
non-void lambda does not return a value in all control paths
warn_falloff_nonvoid_lambda
Warning
Lambda Issue
return-type
non-void lambda does not return a value
err_access_lambda_capture
Error
Lambda Issue
Empty Group
capture of variable '.*' as type .* calls (private|protected) (default |copy |move |\*ERROR\* |\*ERROR\* |\*ERROR\* |)constructor
note_lambda_to_block_conv
Note
Lambda Issue
Empty Group
implicit capture of lambda object due to conversion to block pointer here
note_var_explicitly_captured_here
Note
Lambda Issue
Empty Group
variable .* is(| explicitly) captured here
warn_cxx11_compat_init_capture
Warning
Lambda Issue
c++98-c++11-compat
initialized lambda captures are incompatible with C\+\+ standards before C\+\+14
ext_init_capture
ExtWarn
Lambda Issue
c++14-extensions
initialized lambda captures are a C\+\+14 extension
err_init_capture_no_expression
Error
Lambda Issue
Empty Group
initializer missing for lambda capture .*
err_init_capture_multiple_expressions
Error
Lambda Issue
Empty Group
initializer for lambda capture .* contains multiple expressions
err_init_capture_paren_braces
Error
Lambda Issue
Empty Group
cannot deduce type for lambda capture .* from (parenthesized|nested) initializer list
err_init_capture_deduction_failure
Error
Lambda Issue
Empty Group
cannot deduce type for lambda capture .* from initializer of type .*
err_init_capture_deduction_failure_from_init_list
Error
Lambda Issue
Empty Group
cannot deduce type for lambda capture .* from initializer list
warn_cxx17_compat_init_capture_pack
Warning
Lambda Issue
c++98-c++11-c++14-c++17-compat
initialized lambda capture packs are incompatible with C\+\+ standards before C\+\+20
ext_init_capture_pack
ExtWarn
Lambda Issue
c++20-extensions
initialized lambda pack captures are a C\+\+20 extension
warn_cxx11_compat_generic_lambda
Warning
Lambda Issue
c++98-c++11-compat
generic lambdas are incompatible with C\+\+11
warn_cxx14_compat_star_this_lambda_capture
Warning
Lambda Issue
c++98-c++11-c++14-compat
by value capture of '\*this' is incompatible with C\+\+ standards before C\+\+17
ext_star_this_lambda_capture_cxx17
ExtWarn
Lambda Issue
c++17-extensions
capture of '\*this' by copy is a C\+\+17 extension
err_parameter_shadow_capture
Error
Lambda Issue
Empty Group
a lambda parameter cannot shadow an explicitly captured entity
warn_cxx17_compat_equals_this_lambda_capture
Warning
Lambda Issue
c++98-c++11-c++14-c++17-compat
explicit capture of 'this' with a capture default of '=' is incompatible with C\+\+ standards before C\+\+20
ext_equals_this_lambda_capture_cxx20
ExtWarn
Lambda Issue
c++20-extensions
explicit capture of 'this' with a capture default of '=' is a C\+\+20 extension
warn_deprecated_this_capture
Warning
Lambda Issue
deprecated-this-capture
implicit capture of 'this' with a capture default of '=' is deprecated
note_deprecated_this_capture
Note
Lambda Issue
Empty Group
add an explicit capture of 'this' to capture '\*this' by reference
warn_cxx17_compat_lambda_def_ctor_assign
Warning
Lambda Issue
c++98-c++11-c++14-c++17-compat
(default construction|assignment) of lambda is incompatible with C\+\+ standards before C\+\+20
err_return_in_captured_stmt
Error
Semantic Issue
Empty Group
cannot return from .*
err_capture_block_variable
Error
Semantic Issue
Empty Group
__block variable .* cannot be captured in a (lambda expression|captured statement)
err_operator_arrow_circular
Error
Semantic Issue
Empty Group
circular pointer delegation detected
err_operator_arrow_depth_exceeded
Error
Semantic Issue
Empty Group
use of 'operator->' on type .* would invoke a sequence of more than .* 'operator->' calls
note_operator_arrow_here
Note
Semantic Issue
Empty Group
'operator->' declared here produces an object of type .*
note_operator_arrows_suppressed
Note
Semantic Issue
Empty Group
\(skipping .* 'operator->'.* in backtrace\)
note_operator_arrow_depth
Note
Semantic Issue
Empty Group
use -foperator-arrow-depth=N to increase 'operator->' limit
err_pseudo_dtor_base_not_scalar
Error
Semantic Issue
Empty Group
object expression of non-scalar type .* cannot be used in a pseudo-destructor expression
ext_pseudo_dtor_on_void
ExtWarn
Semantic Issue
microsoft-void-pseudo-dtor
pseudo-destructors on type void are a Microsoft extension
err_pseudo_dtor_type_mismatch
Error
Semantic Issue
Empty Group
the type of object expression (\(.*\) does not match the type being destroyed \(.*\)|does not match the type being destroyed) in pseudo-destructor expression
err_pseudo_dtor_call_with_args
Error
Semantic Issue
Empty Group
call to pseudo-destructor cannot have any arguments
err_dtor_expr_without_call
Error
Semantic Issue
Empty Group
reference to (destructor|pseudo-destructor) must be called(|; did you mean to call it with no arguments\?)
err_pseudo_dtor_destructor_non_type
Error
Semantic Issue
Empty Group
.* does not refer to a type name in pseudo-destructor expression; expected the name of type .*
err_invalid_use_of_function_type
Error
Semantic Issue
Empty Group
a function type is not allowed here
err_invalid_use_of_array_type
Error
Semantic Issue
Empty Group
an array type is not allowed here
err_typecheck_bool_condition
Error
Semantic Issue
Empty Group
value of type .* is not contextually convertible to 'bool'
err_typecheck_ambiguous_condition
Error
Semantic Issue
Empty Group
conversion (from .* to .*|between types) is ambiguous
err_typecheck_nonviable_condition
Error
Semantic Issue
Empty Group
no viable conversion(( from .* to .*|)|( from returned value of type .* to function return type .*|))
err_typecheck_nonviable_condition_incomplete
Error
Semantic Issue
Empty Group
no viable conversion( from .* to incomplete type .*|)
err_typecheck_deleted_function
Error
Semantic Issue
Empty Group
conversion function (from .* to .*|between types) invokes a deleted function
err_expected_class_or_namespace
Error
Semantic Issue
Empty Group
.* is not a class( or namespace|, namespace, or enumeration)
err_invalid_declarator_scope
Error
Semantic Issue
Empty Group
cannot define or redeclare .* here because namespace .* does not enclose namespace .*
err_invalid_declarator_global_scope
Error
Semantic Issue
Empty Group
definition or redeclaration of .* cannot name the global scope
err_invalid_declarator_in_function
Error
Semantic Issue
Empty Group
definition or redeclaration of .* not allowed inside a function
err_invalid_declarator_in_block
Error
Semantic Issue
Empty Group
definition or redeclaration of .* not allowed inside a block
err_not_tag_in_scope
Error
Semantic Issue
Empty Group
no (struct|interface|union|class|enum) named .* in .*
err_no_typeid_with_fno_rtti
Error
Semantic Issue
Empty Group
use of typeid requires -frtti
err_no_dynamic_cast_with_fno_rtti
Error
Semantic Issue
Empty Group
use of dynamic_cast requires -frtti
warn_no_dynamic_cast_with_rtti_disabled
Warning
Semantic Issue
rtti
dynamic_cast will not work since RTTI data is disabled by (-fno-rtti-data|/GR-)
warn_no_typeid_with_rtti_disabled
Warning
Semantic Issue
rtti
typeid will not work since RTTI data is disabled by (-fno-rtti-data|/GR-)
err_cannot_form_pointer_to_member_of_reference_type
Error
Semantic Issue
Empty Group
cannot form a pointer-to-member to member .* of reference type .*
err_incomplete_object_call
Error
Semantic Issue
Empty Group
incomplete type in call to object of type .*
warn_condition_is_assignment
Warning
Semantic Issue
parentheses
using the result of an assignment as a condition without parentheses
warn_condition_is_idiomatic_assignment
Warning
Semantic Issue
idiomatic-parentheses
using the result of an assignment as a condition without parentheses
note_condition_assign_to_comparison
Note
Semantic Issue
Empty Group
use '==' to turn this assignment into an equality comparison
note_condition_or_assign_to_comparison
Note
Semantic Issue
Empty Group
use '!=' to turn this compound assignment into an inequality comparison
note_condition_assign_silence
Note
Semantic Issue
Empty Group
place parentheses around the assignment to silence this warning
warn_equality_with_extra_parens
Warning
Semantic Issue
parentheses-equality
equality comparison with extraneous parentheses
note_equality_comparison_to_assign
Note
Semantic Issue
Empty Group
use '=' to turn this equality comparison into an assignment
note_equality_comparison_silence
Note
Semantic Issue
Empty Group
remove extraneous parentheses around the comparison to silence this warning
err_typecheck_convert_incompatible
Error
Semantic Issue
Empty Group
((assigning to .* from incompatible type .*|assigning to type from incompatible type)|(passing .* to parameter of incompatible type .*|passing type to parameter of incompatible type)|(returning .* from a function with incompatible result type .*|returning type from a function with incompatible result type)|(converting .* to incompatible type .*|converting type to incompatible type)|(initializing .* with an expression of incompatible type .*|initializing type with an expression of incompatible type)|(sending .* to parameter of incompatible type .*|sending type to parameter of incompatible type)|(casting .* to incompatible type .*|casting type to incompatible type))(|; dereference with \*|; take the address with &|; remove \*|; remove &)(|: different classes( \(.* vs .*\)|)|: different number of parameters \(.* vs .*\)|: type mismatch at .* parameter( \(.* vs .*\)|)|: different return type( \(.* vs .*\)|)|: different qualifiers \(.* vs .*\)|: different exception specifications)
err_typecheck_missing_return_type_incompatible
Error
Semantic Issue
Empty Group
(return type .* must match previous return type .*|return type must match previous return type) when (block literal|lambda expression) has unspecified explicit return type
note_incomplete_class_and_qualified_id
Note
Semantic Issue
Empty Group
conformance of forward class .* to protocol .* can not be confirmed
warn_incompatible_qualified_id
Warning
Semantic Issue
Empty Group
((assigning to .* from incompatible type .*|assigning to type from incompatible type)|(passing .* to parameter of incompatible type .*|passing type to parameter of incompatible type)|(returning .* from a function with incompatible result type .*|returning type from a function with incompatible result type)|(converting .* to incompatible type .*|converting type to incompatible type)|(initializing .* with an expression of incompatible type .*|initializing type with an expression of incompatible type)|(sending .* to parameter of incompatible type .*|sending type to parameter of incompatible type)|(casting .* to incompatible type .*|casting type to incompatible type))
err_incompatible_qualified_id
Error
Semantic Issue
Empty Group
((assigning to .* from incompatible type .*|assigning to type from incompatible type)|(passing .* to parameter of incompatible type .*|passing type to parameter of incompatible type)|(returning .* from a function with incompatible result type .*|returning type from a function with incompatible result type)|(converting .* to incompatible type .*|converting type to incompatible type)|(initializing .* with an expression of incompatible type .*|initializing type with an expression of incompatible type)|(sending .* to parameter of incompatible type .*|sending type to parameter of incompatible type)|(casting .* to incompatible type .*|casting type to incompatible type))
ext_typecheck_convert_pointer_int
ExtWarn
Semantic Issue
int-conversion
incompatible pointer to integer conversion ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))(|; dereference with \*|; take the address with &|; remove \*|; remove &)
err_typecheck_convert_pointer_int
Error
Semantic Issue
Empty Group
incompatible pointer to integer conversion ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))(|; dereference with \*|; take the address with &|; remove \*|; remove &)
ext_typecheck_convert_int_pointer
ExtWarn
Semantic Issue
int-conversion
incompatible integer to pointer conversion ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))(|; dereference with \*|; take the address with &|; remove \*|; remove &)
err_typecheck_convert_int_pointer
Error
Semantic Issue
Empty Group
incompatible integer to pointer conversion ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))(|; dereference with \*|; take the address with &|; remove \*|; remove &)
ext_typecheck_convert_pointer_void_func
Extension
Semantic Issue
Empty Group
((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) converts between void pointer and function pointer
err_typecheck_convert_pointer_void_func
Error
Semantic Issue
Empty Group
((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) converts between void pointer and function pointer
ext_typecheck_convert_incompatible_pointer_sign
ExtWarn
Semantic Issue
pointer-sign
((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) converts between pointers to integer types with different sign
err_typecheck_convert_incompatible_pointer_sign
Error
Semantic Issue
Empty Group
((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) converts between pointers to integer types with different sign
ext_typecheck_convert_incompatible_pointer
ExtWarn
Semantic Issue
incompatible-pointer-types
incompatible pointer types ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))(|; dereference with \*|; take the address with &|; remove \*|; remove &)
err_typecheck_convert_incompatible_pointer
Error
Semantic Issue
Empty Group
incompatible pointer types ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))(|; dereference with \*|; take the address with &|; remove \*|; remove &)
ext_typecheck_convert_incompatible_function_pointer
ExtWarn
Semantic Issue
incompatible-function-pointer-types
incompatible function pointer types ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))(|; dereference with \*|; take the address with &|; remove \*|; remove &)
err_typecheck_convert_incompatible_function_pointer
Error
Semantic Issue
Empty Group
incompatible function pointer types ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))(|; dereference with \*|; take the address with &|; remove \*|; remove &)
ext_typecheck_convert_discards_qualifiers
ExtWarn
Semantic Issue
incompatible-pointer-types-discards-qualifiers
((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) discards qualifiers
err_typecheck_convert_discards_qualifiers
Error
Semantic Issue
Empty Group
((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) discards qualifiers
ext_nested_pointer_qualifier_mismatch
ExtWarn
Semantic Issue
incompatible-pointer-types-discards-qualifiers
((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) discards qualifiers in nested pointer types
err_nested_pointer_qualifier_mismatch
Error
Semantic Issue
Empty Group
((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) discards qualifiers in nested pointer types
warn_incompatible_vectors
Warning
Semantic Issue
vector-conversion
incompatible vector types ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))
err_incompatible_vectors
Error
Semantic Issue
Empty Group
incompatible vector types ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))
err_int_to_block_pointer
Error
Semantic Issue
Empty Group
invalid block pointer conversion ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))
err_typecheck_convert_incompatible_block_pointer
Error
Semantic Issue
Empty Group
incompatible block pointer types ((assigning to .* from .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types))
err_typecheck_incompatible_address_space
Error
Semantic Issue
Empty Group
((assigning .* to .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) changes address space of pointer
err_typecheck_incompatible_nested_address_space
Error
Semantic Issue
Empty Group
((assigning .* to .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) changes address space of nested pointer
err_typecheck_incompatible_ownership
Error
Semantic Issue
Empty Group
((assigning .* to .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) changes retain/release properties of pointer
err_typecheck_incompatible_ptrauth
Error
Semantic Issue
Empty Group
((assigning .* to .*|assigning to different types)|(passing .* to parameter of type .*|passing to parameter of different type)|(returning .* from a function with result type .*|returning from function with different return type)|(converting .* to type .*|converting between types)|(initializing .* with an expression of type .*|initializing with expression of different type)|(sending .* to parameter of type .*|sending to parameter of different type)|(casting .* to type .*|casting between types)) changes pointer-authentication of pointee type
err_typecheck_comparison_of_distinct_blocks
Error
Semantic Issue
Empty Group
comparison of distinct block types( \(.* and .*\)|)
err_typecheck_array_not_modifiable_lvalue
Error
Semantic Issue
Empty Group
array type .* is not assignable
err_typecheck_non_object_not_modifiable_lvalue
Error
Semantic Issue
Empty Group
non-object type .* is not assignable
err_typecheck_expression_not_modifiable_lvalue
Error
Semantic Issue
Empty Group
expression is not assignable
err_typecheck_incomplete_type_not_modifiable_lvalue
Error
Semantic Issue
Empty Group
incomplete type .* is not assignable
err_typecheck_lvalue_casts_not_supported
Error
Semantic Issue
Empty Group
assignment to cast is illegal, lvalue casts are not supported
err_typecheck_duplicate_vector_components_not_mlvalue
Error
Semantic Issue
Empty Group
vector is not assignable \(contains duplicate components\)
err_block_decl_ref_not_modifiable_lvalue
Error
Semantic Issue
Empty Group
variable is not assignable \(missing __block type specifier\)
err_lambda_decl_ref_not_modifiable_lvalue
Error
Semantic Issue
Empty Group
cannot assign to a variable captured by copy in a non-mutable lambda
err_typecheck_call_not_function
Error
Semantic Issue
Empty Group
called object type .* is not a function or function pointer
err_call_incomplete_return
Error
Semantic Issue
Empty Group
calling function with incomplete return type .*
err_call_function_incomplete_return
Error
Semantic Issue
Empty Group
calling .* with incomplete return type .*
err_call_incomplete_argument
Error
Semantic Issue
Empty Group
argument type .* is incomplete
err_typecheck_call_too_few_args
Error
Semantic Issue
Empty Group
too few (|||execution configuration )arguments to (function|block|method|kernel function) call, expected .*, have .*
err_typecheck_call_too_few_args_one
Error
Semantic Issue
Empty Group
too few (|||execution configuration )arguments to (function|block|method|kernel function) call, single argument .* was not specified
err_typecheck_call_too_few_args_at_least
Error
Semantic Issue
Empty Group
too few (|||execution configuration )arguments to (function|block|method|kernel function) call, expected at least .*, have .*
err_typecheck_call_too_few_args_at_least_one
Error
Semantic Issue
Empty Group
too few (|||execution configuration )arguments to (function|block|method|kernel function) call, at least argument .* must be specified
err_typecheck_call_too_few_args_suggest
Error
Semantic Issue
Empty Group
too few (|||execution configuration )arguments to (function|block|method|kernel function) call, expected .*, have .*; did you mean .*\?
err_typecheck_call_too_few_args_at_least_suggest
Error
Semantic Issue
Empty Group
too few (|||execution configuration )arguments to (function|block|method|kernel function) call, expected at least .*, have .*; did you mean .*\?
err_typecheck_call_too_many_args
Error
Semantic Issue
Empty Group
too many (|||execution configuration )arguments to (function|block|method|kernel function) call, expected .*, have .*
err_typecheck_call_too_many_args_one
Error
Semantic Issue
Empty Group
too many (|||execution configuration )arguments to (function|block|method|kernel function) call, expected single argument .*, have .* arguments
err_typecheck_call_too_many_args_at_most
Error
Semantic Issue
Empty Group
too many (|||execution configuration )arguments to (function|block|method|kernel function) call, expected at most .*, have .*
err_typecheck_call_too_many_args_at_most_one
Error
Semantic Issue
Empty Group
too many (|||execution configuration )arguments to (function|block|method|kernel function) call, expected at most single argument .*, have .* arguments
err_typecheck_call_too_many_args_suggest
Error
Semantic Issue
Empty Group
too many (|||execution configuration )arguments to (function|block|method|kernel function) call, expected .*, have .*; did you mean .*\?
err_typecheck_call_too_many_args_at_most_suggest
Error
Semantic Issue
Empty Group
too many (|||execution configuration )arguments to (function|block|method|kernel function) call, expected at most .*, have .*; did you mean .*\?
err_arc_typecheck_convert_incompatible_pointer
Error
Semantic Issue
Empty Group
incompatible pointer types passing retainable parameter of type .*to a CF function expecting .* type
err_builtin_fn_use
Error
Semantic Issue
Empty Group
builtin functions must be directly called
warn_call_wrong_number_of_arguments
Warning
Semantic Issue
Empty Group
too (few|many) arguments in call to .*
err_atomic_builtin_must_be_pointer
Error
Semantic Issue
Empty Group
address argument to atomic builtin must be a pointer \(.* invalid\)
err_atomic_builtin_must_be_pointer_intptr
Error
Semantic Issue
Empty Group
address argument to atomic builtin must be a pointer to integer or pointer \(.* invalid\)
err_atomic_builtin_cannot_be_const
Error
Semantic Issue
Empty Group
address argument to atomic builtin cannot be const-qualified \(.* invalid\)
err_atomic_builtin_must_be_pointer_intfltptr
Error
Semantic Issue
Empty Group
address argument to atomic builtin must be a pointer to integer, floating-point or pointer \(.* invalid\)
err_atomic_builtin_pointer_size
Error
Semantic Issue
Empty Group
address argument to atomic builtin must be a pointer to 1,2,4,8 or 16 byte type \(.* invalid\)
err_atomic_exclusive_builtin_pointer_size
Error
Semantic Issue
Empty Group
address argument to load or store exclusive builtin must be a pointer to 1,2,4 or 8 byte type \(.* invalid\)
err_atomic_builtin_ext_int_size
Error
Semantic Issue
Empty Group
Atomic memory operand must have a power-of-two size
err_atomic_builtin_ext_int_prohibit
Error
Semantic Issue
Empty Group
argument to atomic builtin of type '_ExtInt' is not supported
err_atomic_op_needs_atomic
Error
Semantic Issue
Empty Group
address argument to atomic operation must be a pointer to _Atomic type \(.* invalid\)
err_atomic_op_needs_non_const_atomic
Error
Semantic Issue
Empty Group
address argument to atomic operation must be a pointer to non-(const|constant) _Atomic type \(.* invalid\)
err_atomic_op_needs_non_const_pointer
Error
Semantic Issue
Empty Group
address argument to atomic operation must be a pointer to non-const type \(.* invalid\)
err_atomic_op_needs_trivial_copy
Error
Semantic Issue
Empty Group
address argument to atomic operation must be a pointer to a trivially-copyable type \(.* invalid\)
err_atomic_op_needs_atomic_int_or_ptr
Error
Semantic Issue
Empty Group
address argument to atomic operation must be a pointer to (|atomic )integer or pointer \(.* invalid\)
err_atomic_op_needs_atomic_int
Error
Semantic Issue
Empty Group
address argument to atomic operation must be a pointer to (|atomic )integer \(.* invalid\)
warn_atomic_op_has_invalid_memory_order
Warning
Semantic Issue
atomic-memory-ordering
memory order argument to atomic operation is invalid
err_atomic_op_has_invalid_synch_scope
Error
Semantic Issue
Empty Group
synchronization scope argument to atomic operation is invalid
warn_atomic_implicit_seq_cst
Warning
Semantic Issue
atomic-implicit-seq-cst
implicit use of sequentially-consistent atomic may incur stronger memory barriers than necessary
err_overflow_builtin_must_be_int
Error
Semantic Issue
Empty Group
operand argument to overflow builtin must be an integer \(.* invalid\)
err_overflow_builtin_must_be_ptr_int
Error
Semantic Issue
Empty Group
result argument to overflow builtin must be a pointer to a non-const integer \(.* invalid\)
err_overflow_builtin_ext_int_max_size
Error
Semantic Issue
Empty Group
__builtin_mul_overflow does not support signed _ExtInt operands of more than .* bits
err_atomic_load_store_uses_lib
Error
Semantic Issue
Empty Group
atomic (load|store) requires runtime support that is not available for this target
err_nontemporal_builtin_must_be_pointer
Error
Semantic Issue
Empty Group
address argument to nontemporal builtin must be a pointer \(.* invalid\)
err_nontemporal_builtin_must_be_pointer_intfltptr_or_vector
Error
Semantic Issue
Empty Group
address argument to nontemporal builtin must be a pointer to integer, float, pointer, or a vector of such types \(.* invalid\)
err_deleted_function_use
Error
Semantic Issue
Empty Group
attempt to use a deleted function
err_deleted_inherited_ctor_use
Error
Semantic Issue
Empty Group
constructor inherited by .* from base class .* is implicitly deleted
note_called_by
Note
Semantic Issue
Empty Group
called by .*
err_kern_type_not_void_return
Error
Semantic Issue
Empty Group
kernel function type .* must have void return type
err_kern_is_nonstatic_method
Error
Semantic Issue
Empty Group
kernel function .* must be a free function or static member function
err_config_scalar_return
Error
Semantic Issue
Empty Group
CUDA special function '.*' must have scalar return type
err_kern_call_not_global_function
Error
Semantic Issue
Empty Group
kernel call to non-global function .*
err_global_call_not_config
Error
Semantic Issue
Empty Group
call to global function .* not configured
err_ref_bad_target
Error
Semantic Issue
Empty Group
reference to (__device__|__global__|__host__|__host__ __device__) function .* in (__device__|__global__|__host__|__host__ __device__) function
err_ref_bad_target_global_initializer
Error
Semantic Issue
Empty Group
reference to (__device__|__global__|__host__|__host__ __device__) function .* in global initializer
err_capture_bad_target
Error
Semantic Issue
Empty Group
capture host variable .* by reference in device or host device lambda function
err_capture_bad_target_this_ptr
Error
Semantic Issue
Empty Group
capture host side class data member by this pointer in device or host device lambda function
warn_kern_is_method
Extension
Semantic Issue
cuda-compat
kernel function .* is a member function; this may not be accepted by nvcc
warn_kern_is_inline
Warning
Semantic Issue
cuda-compat
ignored 'inline' attribute on kernel function .*
err_variadic_device_fn
Error
Semantic Issue
Empty Group
CUDA device code does not support variadic functions
err_va_arg_in_device
Error
Semantic Issue
Empty Group
CUDA device code does not support va_arg
err_alias_not_supported_on_nvptx
Error
Semantic Issue
Empty Group
CUDA does not support aliases
err_cuda_unattributed_constexpr_cannot_overload_device
Error
Semantic Issue
Empty Group
constexpr function .* without __host__ or __device__ attributes cannot overload __device__ function with same signature\.  Add a __host__ attribute, or build with -fno-cuda-host-device-constexpr\.
note_cuda_conflicting_device_function_declared_here
Note
Semantic Issue
Empty Group
conflicting __device__ function declared here
err_cuda_device_exceptions
Error
Semantic Issue
Empty Group
cannot use '.*' in (__device__|__global__|__host__|__host__ __device__) function
err_dynamic_var_init
Error
Semantic Issue
Empty Group
dynamic initialization is not supported for __device__, __constant__, and __shared__ variables\.
err_shared_var_init
Error
Semantic Issue
Empty Group
initialization is not supported for __shared__ variables\.
err_device_static_local_var
Error
Semantic Issue
Empty Group
within a (__device__|__global__|__host__|__host__ __device__) function, only __shared__ variables or const variables without device memory qualifier may be marked 'static'
err_cuda_vla
Error
Semantic Issue
Empty Group
cannot use variable-length arrays in (__device__|__global__|__host__|__host__ __device__) functions
err_cuda_extern_shared
Error
Semantic Issue
Empty Group
__shared__ variable .* cannot be 'extern'
err_cuda_host_shared
Error
Semantic Issue
Empty Group
__shared__ local variables not allowed in (__device__|__global__|__host__|__host__ __device__) functions
err_cuda_nonglobal_constant
Error
Semantic Issue
Empty Group
__constant__ variables must be global
err_cuda_ovl_target
Error
Semantic Issue
Empty Group
(__device__|__global__|__host__|__host__ __device__) function .* cannot overload (__device__|__global__|__host__|__host__ __device__) function .*
note_cuda_ovl_candidate_target_mismatch
Note
Semantic Issue
Empty Group
candidate template ignored: target attributes do not match
err_cuda_device_builtin_surftex_cls_template
Error
Semantic Issue
Empty Group
illegal device builtin (surface|texture) reference class template .* declared here
note_cuda_device_builtin_surftex_cls_should_have_n_args
Note
Semantic Issue
Empty Group
.* needs to have exactly .* template parameters
note_cuda_device_builtin_surftex_cls_should_have_match_arg
Note
Semantic Issue
Empty Group
the (1st|2nd|3rd) template parameter of .* needs to be (a type|an integer or enum value)
err_cuda_device_builtin_surftex_ref_decl
Error
Semantic Issue
Empty Group
illegal device builtin (surface|texture) reference type .* declared here
note_cuda_device_builtin_surftex_should_be_template_class
Note
Semantic Issue
Empty Group
.* needs to be instantiated from a class template with proper template arguments
warn_non_pod_vararg_with_format_string
Warning
Semantic Issue
non-pod-varargs
cannot pass (non-POD|non-trivial) object of type .* to variadic (function|block|method|constructor); expected type from format string was .*
err_cannot_pass_objc_interface_to_vararg_format
Error
Semantic Issue
Empty Group
cannot pass object with interface type .* by value to variadic (function|block|method|constructor); expected type from format string was .*
err_cannot_pass_non_trivial_c_struct_to_vararg
Error
Semantic Issue
Empty Group
cannot pass non-trivial C object of type .* by value to variadic (function|block|method|constructor)
err_cannot_pass_objc_interface_to_vararg
Error
Semantic Issue
Empty Group
cannot pass object with interface type .* by value through variadic (function|block|method|constructor)
warn_cannot_pass_non_pod_arg_to_vararg
Warning
Semantic Issue
non-pod-varargs
cannot pass object of (non-POD|non-trivial) type .* through variadic (function|block|method|constructor); call will abort at runtime
warn_cxx98_compat_pass_non_pod_arg_to_vararg
Warning
Semantic Issue
c++98-compat
passing object of trivial but non-POD type .* through variadic (function|block|method|constructor) is incompatible with C\+\+98
warn_pass_class_arg_to_vararg
Warning
Semantic Issue
class-varargs
passing object of class type .* through variadic (function|block|method|constructor)(|; did you mean to call '.*'\?)
err_cannot_pass_to_vararg
Error
Semantic Issue
Empty Group
cannot pass (expression of type .*|initializer list) to variadic (function|block|method|constructor)
err_cannot_pass_to_vararg_format
Error
Semantic Issue
Empty Group
cannot pass (expression of type .*|initializer list) to variadic (function|block|method|constructor); expected type from format string was .*
err_typecheck_call_invalid_ordered_compare
Error
Semantic Issue
Empty Group
ordered compare requires two args of floating point type( \(.* and .*\)|)
err_typecheck_call_invalid_unary_fp
Error
Semantic Issue
Empty Group
floating point classification requires argument of floating point type \(passed in .*\)
err_typecheck_cond_expect_int_float
Error
Semantic Issue
Empty Group
used type .* where integer or floating point type is required
err_typecheck_cond_expect_scalar
Error
Semantic Issue
Empty Group
used type .* where arithmetic or pointer type is required
err_typecheck_cond_expect_nonfloat
Error
Semantic Issue
Empty Group
used type .* where floating point type is not allowed
ext_typecheck_cond_one_void
Extension
Semantic Issue
Empty Group
C99 forbids conditional expressions with only one void side
err_typecheck_cast_to_incomplete
Error
Semantic Issue
Empty Group
cast to incomplete type .*
ext_typecheck_cast_nonscalar
Extension
Semantic Issue
Empty Group
C99 forbids casting nonscalar type .* to the same type
ext_typecheck_cast_to_union
Extension
Semantic Issue
gnu-union-cast
cast to union type is a GNU extension
err_typecheck_cast_to_union_no_type
Error
Semantic Issue
Empty Group
cast to union type from type .* not present in union
err_cast_pointer_from_non_pointer_int
Error
Semantic Issue
Empty Group
operand of type .* cannot be cast to a pointer type
warn_cast_pointer_from_sel
Warning
Semantic Issue
cast-of-sel-type
cast of type .* to .* is deprecated; use sel_getName instead
warn_function_def_in_objc_container
Warning
Semantic Issue
function-def-in-objc-container
function definition inside an Objective-C container is deprecated
err_typecheck_call_requires_real_fp
Error
Semantic Issue
Empty Group
argument type .* is not a real floating point type
err_typecheck_call_different_arg_types
Error
Semantic Issue
Empty Group
arguments are of different types( \(.* vs .*\)|)
warn_cast_calling_conv
Warning
Semantic Issue
cast-calling-convention
cast between incompatible calling conventions '.*' and '.*'; calls through this pointer may abort at runtime
note_change_calling_conv_fixit
Note
Semantic Issue
Empty Group
consider defining .* with the '.*' calling convention
warn_bad_function_cast
Warning
Semantic Issue
bad-function-cast
cast from function call of type .* to non-matching type .*
err_cast_pointer_to_non_pointer_int
Error
Semantic Issue
Empty Group
pointer cannot be cast to type .*
err_cast_to_bfloat16
Error
Semantic Issue
Empty Group
cannot type-cast to __bf16
err_cast_from_bfloat16
Error
Semantic Issue
Empty Group
cannot type-cast from __bf16
err_typecheck_expect_scalar_operand
Error
Semantic Issue
Empty Group
operand of type .* where arithmetic or pointer type is required
err_typecheck_cond_incompatible_operands
Error
Semantic Issue
Empty Group
incompatible operand types( \(.* and .*\)|)
err_cast_selector_expr
Error
Semantic Issue
Empty Group
cannot type cast @selector expression
ext_typecheck_cond_incompatible_pointers
ExtWarn
Semantic Issue
pointer-type-mismatch
pointer type mismatch( \(.* and .*\)|)
ext_typecheck_cond_pointer_integer_mismatch
ExtWarn
Semantic Issue
conditional-type-mismatch
pointer/integer type mismatch in conditional expression( \(.* and .*\)|)
err_typecheck_cond_incompatible_ptrauth
Error
Semantic Issue
Empty Group
__ptrauth qualification mismatch( \(.* and .*\)|)
err_typecheck_choose_expr_requires_constant
Error
Semantic Issue
Empty Group
'__builtin_choose_expr' requires a constant expression
warn_unused_expr
Warning
Semantic Issue
unused-value
expression result unused
warn_unused_voidptr
Warning
Semantic Issue
unused-value
expression result unused; should this cast be to 'void'\?
warn_unused_property_expr
Warning
Semantic Issue
unused-getter-return-value
property access result unused - getters should not be used for side effects
warn_unused_container_subscript_expr
Warning
Semantic Issue
unused-value
container access result unused - container access should not be used for side effects
warn_unused_call
Warning
Semantic Issue
unused-value
ignoring return value of function declared with .* attribute
warn_unused_constructor
Warning
Semantic Issue
unused-value
ignoring temporary created by a constructor declared with .* attribute
warn_unused_constructor_msg
Warning
Semantic Issue
unused-value
ignoring temporary created by a constructor declared with .* attribute: .*
warn_side_effects_unevaluated_context
Warning
Semantic Issue
unevaluated-expression
expression with side effects has no effect in an unevaluated context
warn_side_effects_typeid
Warning
Semantic Issue
potentially-evaluated-expression
expression with side effects will be evaluated despite being used as an operand to 'typeid'
warn_unused_result
Warning
Semantic Issue
unused-result
ignoring return value of function declared with .* attribute
warn_unused_result_msg
Warning
Semantic Issue
unused-result
ignoring return value of function declared with .* attribute: .*
warn_unused_volatile
Warning
Semantic Issue
unused-volatile-lvalue
expression result unused; assign into a variable to force a volatile load
ext_cxx14_attr
Extension
Semantic Issue
c++14-extensions
use of the .* attribute is a C\+\+14 extension
ext_cxx17_attr
Extension
Semantic Issue
c++17-extensions
use of the .* attribute is a C\+\+17 extension
ext_cxx20_attr
Extension
Semantic Issue
c++20-extensions
use of the .* attribute is a C\+\+20 extension
warn_unused_comparison
Warning
Semantic Issue
unused-comparison
(equality|inequality|relational|three-way) comparison result unused
note_inequality_comparison_to_or_assign
Note
Semantic Issue
Empty Group
use '\|=' to turn this inequality comparison into an or-assignment
err_incomplete_type_used_in_type_trait_expr
Error
Semantic Issue
Empty Group
incomplete type .* used in type trait expression
warn_cxx20_compat_constinit
Warning
Semantic Issue
c++20-compat
'constinit' specifier is incompatible with C\+\+ standards before C\+\+20
err_constinit_local_variable
Error
Semantic Issue
Empty Group
local variable cannot be declared 'constinit'
err_require_constant_init_failed
Error
Semantic Issue
Empty Group
variable does not have a constant initializer
note_declared_required_constant_init_here
Note
Semantic Issue
Empty Group
required by ('require_constant_initialization' attribute|'constinit' specifier) here
ext_constinit_missing
ExtWarn
Semantic Issue
missing-constinit
'constinit' specifier missing on initializing declaration of .*
note_constinit_specified_here
Note
Semantic Issue
Empty Group
variable declared constinit here
err_constinit_added_too_late
Error
Semantic Issue
Empty Group
'constinit' specifier added after initialization of variable
warn_require_const_init_added_too_late
Warning
Semantic Issue
ignored-attributes
'require_constant_initialization' attribute added after initialization of variable
note_constinit_missing_here
Note
Semantic Issue
Empty Group
add the ('require_constant_initialization' attribute|'constinit' specifier) to the initializing declaration here
err_dimension_expr_not_constant_integer
Error
Semantic Issue
Empty Group
dimension expression does not evaluate to a constant unsigned int
err_typecheck_cond_incompatible_operands_null
Error
Semantic Issue
Empty Group
non-pointer operand type .* incompatible with (NULL|nullptr)
ext_empty_struct_union
Extension
Semantic Issue
gnu-empty-struct
empty (struct|union) is a GNU extension
ext_no_named_members_in_struct_union
Extension
Semantic Issue
gnu-empty-struct
(struct|union) without named members is a GNU extension
warn_zero_size_struct_union_compat
Warning
Semantic Issue
c++-compat
(|empty )(struct|union) has size 0 in C, (size 1|non-zero size) in C\+\+
warn_zero_size_struct_union_in_extern_c
Warning
Semantic Issue
extern-c-compat
(|empty )(struct|union) has size 0 in C, (size 1|non-zero size) in C\+\+
warn_cast_qual
Warning
Semantic Issue
cast-qual
cast from .* to .* drops (const and volatile qualifiers|const qualifier|volatile qualifier)
warn_cast_qual2
Warning
Semantic Issue
cast-qual
cast from .* to .* must have all intermediate pointers const qualified to be safe
warn_redefine_extname_not_applied
Warning
Semantic Issue
pragmas
#pragma redefine_extname is applicable to external C declarations only; not applied to (function|variable) .*
err_asm_invalid_lvalue_in_output
Error
Inline Assembly Issue
Empty Group
invalid lvalue in asm output
err_asm_invalid_output_constraint
Error
Inline Assembly Issue
Empty Group
invalid output constraint '.*' in asm
err_asm_invalid_lvalue_in_input
Error
Inline Assembly Issue
Empty Group
invalid lvalue in asm input for constraint '.*'
err_asm_invalid_input_constraint
Error
Inline Assembly Issue
Empty Group
invalid input constraint '.*' in asm
err_asm_tying_incompatible_types
Error
Inline Assembly Issue
Empty Group
unsupported inline asm: input with type (.* matching output with type .*|)
err_asm_unexpected_constraint_alternatives
Error
Inline Assembly Issue
Empty Group
asm constraint has an unexpected number of alternatives: .* vs .*
err_asm_incomplete_type
Error
Inline Assembly Issue
Empty Group
asm operand has incomplete type .*
err_asm_unknown_register_name
Error
Inline Assembly Issue
Empty Group
unknown register name '.*' in asm
err_asm_invalid_global_var_reg
Error
Inline Assembly Issue
Empty Group
register '.*' unsuitable for global register variables on this target
err_asm_register_size_mismatch
Error
Inline Assembly Issue
Empty Group
size of register '.*' does not match variable size
err_asm_bad_register_type
Error
Inline Assembly Issue
Empty Group
bad type for named register variable
err_asm_invalid_input_size
Error
Inline Assembly Issue
Empty Group
invalid input size for constraint '.*'
err_asm_invalid_output_size
Error
Inline Assembly Issue
Empty Group
invalid output size for constraint '.*'
err_invalid_asm_cast_lvalue
Error
Inline Assembly Issue
Empty Group
invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions
err_invalid_asm_value_for_constraint
Error
Inline Assembly Issue
Empty Group
value '.*' out of range for constraint '.*'
err_asm_non_addr_value_in_memory_constraint
Error
Inline Assembly Issue
Empty Group
reference to a (bit-field|vector element|global register variable) in asm (input|output) with a memory constraint '.*'
err_asm_input_duplicate_match
Error
Inline Assembly Issue
Empty Group
more than one input constraint matches the same output '.*'
warn_asm_label_on_auto_decl
Warning
Inline Assembly Issue
Empty Group
ignored asm label '.*' on automatic variable
warn_invalid_asm_cast_lvalue
Warning
Inline Assembly Issue
Empty Group
invalid use of a cast in an inline asm context requiring an l-value: accepted due to -fheinous-gnu-extensions, but clang may remove support for this in the future
warn_asm_mismatched_size_modifier
Warning
Inline Assembly Issue
asm-operand-widths
value size does not match register size specified by the constraint and modifier
note_asm_missing_constraint_modifier
Note
Inline Assembly Issue
Empty Group
use constraint modifier \".*\"
note_asm_input_duplicate_first
Note
Inline Assembly Issue
Empty Group
constraint '.*' is already present here
error_duplicate_asm_operand_name
Error
Inline Assembly Issue
Empty Group
duplicate use of asm operand name \".*\"
note_duplicate_asm_operand_name
Note
Inline Assembly Issue
Empty Group
asm operand name \".*\" first referenced here
error_inoutput_conflict_with_clobber
Error
Empty Category
Empty Group
asm-specifier for input or output variable conflicts with asm clobber list
err_invalid_conversion_between_vectors
Error
Semantic Issue
Empty Group
invalid conversion between vector type( .* and .*|) of different size
err_invalid_conversion_between_vector_and_integer
Error
Semantic Issue
Empty Group
invalid conversion between vector type .* and integer type .* of different size
err_opencl_function_pointer
Error
Semantic Issue
Empty Group
pointers to functions are not allowed
err_opencl_taking_address_capture
Error
Semantic Issue
Empty Group
taking address of a capture is not allowed
err_invalid_conversion_between_vector_and_scalar
Error
Semantic Issue
Empty Group
invalid conversion between vector type .* and scalar type .*
err_only_constructors_take_base_inits
Error
Semantic Issue
Empty Group
only constructors take base initializers
err_multiple_mem_initialization
Error
Semantic Issue
Empty Group
multiple initializations given for non-static member .*
err_multiple_mem_union_initialization
Error
Semantic Issue
Empty Group
initializing multiple members of union
err_multiple_base_initialization
Error
Semantic Issue
Empty Group
multiple initializations given for base .*
err_mem_init_not_member_or_class
Error
Semantic Issue
Empty Group
member initializer .* does not name a non-static data member or base class
warn_initializer_out_of_order
Warning
Semantic Issue
reorder-ctor
(field|base class) .* will be initialized after (field|base) .*
warn_abstract_vbase_init_ignored
Warning
Semantic Issue
abstract-vbase-init
initializer for virtual base class .* of abstract class .* will never be used
err_base_init_does_not_name_class
Error
Semantic Issue
Empty Group
constructor initializer .* does not name a class
err_base_init_direct_and_virtual
Error
Semantic Issue
Empty Group
base class initializer .* names both a direct base class and an inherited virtual base class
err_not_direct_base_or_virtual
Error
Semantic Issue
Empty Group
type .* is not a direct or virtual base of .*
err_in_class_initializer_non_const
Error
Semantic Issue
Empty Group
non-const static data member must be initialized out of line
err_in_class_initializer_volatile
Error
Semantic Issue
Empty Group
static const volatile data member must be initialized out of line
err_in_class_initializer_bad_type
Error
Semantic Issue
Empty Group
static data member of type .* must be initialized out of line
ext_in_class_initializer_float_type
ExtWarn
Semantic Issue
gnu-static-float-init
in-class initializer for static data member of type .* is a GNU extension
ext_in_class_initializer_float_type_cxx11
ExtWarn
Semantic Issue
static-float-init
in-class initializer for static data member of type .* requires 'constexpr' specifier
note_in_class_initializer_float_type_cxx11
Note
Semantic Issue
Empty Group
add 'constexpr'
err_in_class_initializer_literal_type
Error
Semantic Issue
Empty Group
in-class initializer for static data member of type .* requires 'constexpr' specifier
err_in_class_initializer_non_constant
Error
Semantic Issue
Empty Group
in-class initializer for static data member is not a constant expression
err_default_member_initializer_not_yet_parsed
Error
Semantic Issue
Empty Group
default member initializer for .* needed within definition of enclosing class .* outside of member functions
note_default_member_initializer_not_yet_parsed
Note
Semantic Issue
Empty Group
default member initializer declared here
err_default_member_initializer_cycle
Error
Semantic Issue
Empty Group
default member initializer for .* uses itself
ext_in_class_initializer_non_constant
Extension
Semantic Issue
gnu-folding-constant
in-class initializer for static data member is not a constant expression; folding it to a constant is a GNU extension
err_thread_dynamic_init
Error
Semantic Issue
Empty Group
initializer for thread-local variable must be a constant expression
err_thread_nontrivial_dtor
Error
Semantic Issue
Empty Group
type of thread-local variable has non-trivial destruction
note_use_thread_local
Note
Semantic Issue
Empty Group
use 'thread_local' to allow this
ext_anonymous_union
Extension
Semantic Issue
c11-extensions
anonymous unions are a C11 extension
ext_gnu_anonymous_struct
Extension
Semantic Issue
gnu-anonymous-struct
anonymous structs are a GNU extension
ext_c11_anonymous_struct
Extension
Semantic Issue
c11-extensions
anonymous structs are a C11 extension
err_anonymous_union_not_static
Error
Semantic Issue
Empty Group
anonymous unions at namespace or global scope must be declared 'static'
err_anonymous_union_with_storage_spec
Error
Semantic Issue
Empty Group
anonymous union at class scope must not have a storage specifier
err_anonymous_struct_not_member
Error
Semantic Issue
Empty Group
anonymous (structs|structs and classes) must be (struct or union|class) members
err_anonymous_record_member_redecl
Error
Semantic Issue
Empty Group
member of anonymous (struct|union) redeclares .*
err_anonymous_record_with_type
Error
Semantic Issue
Empty Group
types cannot be declared in an anonymous (struct|union)
ext_anonymous_record_with_type
Extension
Semantic Issue
microsoft-anon-tag
types declared in an anonymous (struct|union) are a Microsoft extension
ext_anonymous_record_with_anonymous_type
Extension
Semantic Issue
nested-anon-types
anonymous types declared in an anonymous (struct|union) are an extension
err_anonymous_record_with_function
Error
Semantic Issue
Empty Group
functions cannot be declared in an anonymous (struct|union)
err_anonymous_record_with_static
Error
Semantic Issue
Empty Group
static members cannot be declared in an anonymous (struct|union)
err_anonymous_record_bad_member
Error
Semantic Issue
Empty Group
anonymous (struct|union) can only contain non-static data members
err_anonymous_record_nonpublic_member
Error
Semantic Issue
Empty Group
anonymous (struct|union) cannot contain a (private|protected) data member
ext_ms_anonymous_record
ExtWarn
Semantic Issue
microsoft-anon-tag
anonymous (structs|unions) are a Microsoft extension
err_reference_to_local_in_enclosing_context
Error
Semantic Issue
Empty Group
reference to local (variable|binding) .* declared in enclosing (.*|block literal|lambda expression|context)
err_static_data_member_not_allowed_in_local_class
Error
Semantic Issue
Empty Group
static data member .* not allowed in local (struct|interface|union|class|enum) .*
err_base_clause_on_union
Error
Semantic Issue
Empty Group
unions cannot have base classes
err_base_must_be_class
Error
Semantic Issue
Empty Group
base specifier must name a class
err_union_as_base_class
Error
Semantic Issue
Empty Group
unions cannot be base classes
err_circular_inheritance
Error
Semantic Issue
Empty Group
circular inheritance between .* and .*
err_base_class_has_flexible_array_member
Error
Semantic Issue
Empty Group
base class .* has a flexible array member
err_incomplete_base_class
Error
Semantic Issue
Empty Group
base class has incomplete type
err_duplicate_base_class
Error
Semantic Issue
Empty Group
base class .* specified more than once as a direct base class
warn_inaccessible_base_class
Warning
Semantic Issue
inaccessible-base
direct base .* is inaccessible due to ambiguity:.*
err_ambiguous_derived_to_base_conv
Error
Semantic Issue
Empty Group
ambiguous conversion from derived class .* to base class .*:.*
err_ambiguous_memptr_conv
Error
Semantic Issue
Empty Group
ambiguous conversion from pointer to member of (base|derived) class .* to pointer to member of (derived|base) class .*:.*
ext_ms_ambiguous_direct_base
ExtWarn
Semantic Issue
microsoft-inaccessible-base
accessing inaccessible direct base .* of .* is a Microsoft extension
err_memptr_conv_via_virtual
Error
Semantic Issue
Empty Group
conversion from pointer to member of class .* to pointer to member of class .* via virtual base .* is not allowed
err_ambiguous_member_multiple_subobjects
Error
Semantic Issue
Empty Group
non-static member .* found in multiple base-class subobjects of type .*:.*
err_ambiguous_member_multiple_subobject_types
Error
Semantic Issue
Empty Group
member .* found in multiple base classes of different types
note_ambiguous_member_found
Note
Semantic Issue
Empty Group
member found by ambiguous name lookup
err_ambiguous_reference
Error
Semantic Issue
Empty Group
reference to .* is ambiguous
note_ambiguous_candidate
Note
Semantic Issue
Empty Group
candidate found by name lookup is .*
err_ambiguous_tag_hiding
Error
Semantic Issue
Empty Group
a type named .* is hidden by a declaration in a different namespace
note_hidden_tag
Note
Semantic Issue
Empty Group
type declaration hidden
note_hiding_object
Note
Semantic Issue
Empty Group
declaration hides type
err_operator_overload_needs_class_or_enum
Error
Semantic Issue
Empty Group
overloaded .* must have at least one parameter of class or enumeration type
err_operator_overload_variadic
Error
Semantic Issue
Empty Group
overloaded .* cannot be variadic
err_operator_overload_static
Error
Semantic Issue
Empty Group
overloaded .* cannot be a static member function
err_operator_overload_default_arg
Error
Semantic Issue
Empty Group
parameter of overloaded .* cannot have a default argument
err_operator_overload_must_be
Error
Semantic Issue
Empty Group
overloaded .* must be a (unary|binary|unary or binary) operator \(has .* parameter.*\)
err_operator_overload_must_be_member
Error
Semantic Issue
Empty Group
overloaded .* must be a non-static member function
err_operator_overload_post_incdec_must_be_int
Error
Semantic Issue
Empty Group
parameter of overloaded post-(increment|decrement) operator must have type 'int' \(not .*\)
err_operator_new_delete_declared_in_namespace
Error
Semantic Issue
Empty Group
.* cannot be declared inside a namespace
err_operator_new_delete_declared_static
Error
Semantic Issue
Empty Group
.* cannot be declared static in global scope
ext_operator_new_delete_declared_inline
ExtWarn
Semantic Issue
inline-new-delete
replacement function .* cannot be declared 'inline'
err_operator_new_delete_invalid_result_type
Error
Semantic Issue
Empty Group
.* must return type .*
err_operator_new_delete_dependent_result_type
Error
Semantic Issue
Empty Group
.* cannot have a dependent return type; use .* instead
err_operator_new_delete_too_few_parameters
Error
Semantic Issue
Empty Group
.* must have at least one parameter
err_operator_new_delete_template_too_few_parameters
Error
Semantic Issue
Empty Group
.* template must have at least two parameters
warn_operator_new_returns_null
Warning
Semantic Issue
new-returns-null
.* should not return a null pointer unless it is declared 'throw\(\)'(| or 'noexcept')
err_operator_new_dependent_param_type
Error
Semantic Issue
Empty Group
.* cannot take a dependent type as first parameter; use size_t \(.*\) instead
err_operator_new_param_type
Error
Semantic Issue
Empty Group
.* takes type size_t \(.*\) as first parameter
err_operator_new_default_arg
Error
Semantic Issue
Empty Group
parameter of .* cannot have a default argument
err_operator_delete_dependent_param_type
Error
Semantic Issue
Empty Group
.* cannot take a dependent type as first parameter; use .* instead
err_operator_delete_param_type
Error
Semantic Issue
Empty Group
first parameter of .* must have type .*
err_destroying_operator_delete_not_usual
Error
Semantic Issue
Empty Group
destroying operator delete can have only an optional size and optional alignment parameter
note_implicit_delete_this_in_destructor_here
Note
Semantic Issue
Empty Group
while checking implicit 'delete this' for virtual destructor
err_builtin_operator_new_delete_not_usual
Error
Semantic Issue
Empty Group
call to '(__builtin_operator_new|__builtin_operator_delete)' selects non-usual (allocation|deallocation) function
note_non_usual_function_declared_here
Note
Semantic Issue
Empty Group
non-usual .* declared here
err_literal_operator_outside_namespace
Error
Semantic Issue
Empty Group
literal operator .* must be in a namespace or global scope
err_literal_operator_id_outside_namespace
Error
Semantic Issue
Empty Group
non-namespace scope '.*' cannot have a literal operator member
err_literal_operator_default_argument
Error
Semantic Issue
Empty Group
literal operator cannot have a default argument
err_literal_operator_bad_param_count
Error
Semantic Issue
Empty Group
non-template literal operator must have one or two parameters
err_literal_operator_invalid_param
Error
Semantic Issue
Empty Group
parameter of literal operator must have type 'unsigned long long', 'long double', 'char', 'wchar_t', 'char16_t', 'char32_t', or 'const char \*'
err_literal_operator_param
Error
Semantic Issue
Empty Group
invalid literal operator parameter type .*, did you mean .*\?
err_literal_operator_template_with_params
Error
Semantic Issue
Empty Group
literal operator template cannot have any parameters
err_literal_operator_template
Error
Semantic Issue
Empty Group
template parameter list for literal operator must be either 'char\.\.\.' or 'typename T, T\.\.\.'
err_literal_operator_extern_c
Error
Semantic Issue
Empty Group
literal operator must have C\+\+ linkage
ext_string_literal_operator_template
ExtWarn
Semantic Issue
gnu-string-literal-operator-template
string literal operator templates are a GNU extension
warn_user_literal_reserved
Warning
Semantic Issue
user-defined-literals
user-defined literal suffixes not starting with '_' are reserved(; no literal will invoke this operator|)
err_conv_function_not_member
Error
Semantic Issue
Empty Group
conversion function must be a non-static member function
err_conv_function_return_type
Error
Semantic Issue
Empty Group
conversion function cannot have a return type
err_conv_function_with_params
Error
Semantic Issue
Empty Group
conversion function cannot have any parameters
err_conv_function_variadic
Error
Semantic Issue
Empty Group
conversion function cannot be variadic
err_conv_function_to_array
Error
Semantic Issue
Empty Group
conversion function cannot convert to an array type
err_conv_function_to_function
Error
Semantic Issue
Empty Group
conversion function cannot convert to a function type
err_conv_function_with_complex_decl
Error
Semantic Issue
Empty Group
cannot specify any part of a return type in the declaration of a conversion function(; put the complete type after 'operator'|; use a typedef to declare a conversion to .*|; use an alias template to declare a conversion to .*|)
err_conv_function_redeclared
Error
Semantic Issue
Empty Group
conversion function cannot be redeclared
warn_conv_to_self_not_used
Warning
Semantic Issue
class-conversion
conversion function converting .* to itself will never be used
warn_conv_to_base_not_used
Warning
Semantic Issue
class-conversion
conversion function converting .* to its base class .* will never be used
warn_conv_to_void_not_used
Warning
Semantic Issue
class-conversion
conversion function converting .* to .* will never be used
warn_not_compound_assign
Warning
Semantic Issue
Empty Group
use of unary operator that may be intended as compound assignment \(.*=\)
ext_explicit_conversion_functions
ExtWarn
Semantic Issue
c++11-extensions
explicit conversion functions are a C\+\+11 extension
warn_cxx98_compat_explicit_conversion_functions
Warning
Semantic Issue
c++98-compat
explicit conversion functions are incompatible with C\+\+98
err_defaulted_special_member_params
Error
Semantic Issue
Empty Group
an explicitly-defaulted (|copy |move )constructor cannot have default arguments
err_defaulted_special_member_variadic
Error
Semantic Issue
Empty Group
an explicitly-defaulted (|copy |move )constructor cannot be variadic
err_defaulted_special_member_return_type
Error
Semantic Issue
Empty Group
explicitly-defaulted (copy|move) assignment operator must return .*
err_defaulted_special_member_quals
Error
Semantic Issue
Empty Group
an explicitly-defaulted (copy|move) assignment operator may not have 'const'(, 'constexpr'|) or 'volatile' qualifiers
err_defaulted_special_member_volatile_param
Error
Semantic Issue
Empty Group
the parameter for an explicitly-defaulted (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) may not be volatile
err_defaulted_special_member_move_const_param
Error
Semantic Issue
Empty Group
the parameter for an explicitly-defaulted move (constructor|assignment operator) may not be const
err_defaulted_special_member_copy_const_param
Error
Semantic Issue
Empty Group
the parameter for this explicitly-defaulted copy (constructor|assignment operator) is const, but a member or base requires it to be non-const
err_defaulted_copy_assign_not_ref
Error
Semantic Issue
Empty Group
the parameter for an explicitly-defaulted copy assignment operator must be an lvalue reference type
err_incorrect_defaulted_constexpr
Error
Semantic Issue
Empty Group
defaulted definition of (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) is not constexpr
err_incorrect_defaulted_consteval
Error
Semantic Issue
Empty Group
defaulted declaration of (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) cannot be consteval because implicit definition is not constexpr
warn_defaulted_method_deleted
Warning
Semantic Issue
defaulted-function-deleted
explicitly defaulted (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) is implicitly deleted
err_out_of_line_default_deletes
Error
Semantic Issue
Empty Group
defaulting this (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) would delete it after its first declaration
note_deleted_type_mismatch
Note
Semantic Issue
Empty Group
function is implicitly deleted because its declared type does not match the type of an implicit (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor)
warn_cxx17_compat_defaulted_method_type_mismatch
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
explicitly defaulting this (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) with a type different from the implicit type is incompatible with C\+\+ standards before C\+\+20
warn_vbase_moved_multiple_times
Warning
Semantic Issue
multiple-move-vbase
defaulted move assignment operator of .* will move assign virtual base class .* multiple times
note_vbase_moved_here
Note
Semantic Issue
Empty Group
(.* is a virtual base class of base class .* declared here|virtual base class .* declared here)
ext_defaulted_comparison
ExtWarn
Semantic Issue
c++20-extensions
defaulted comparison operators are a C\+\+20 extension
warn_cxx17_compat_defaulted_comparison
Warning
Semantic Issue
c++98-c++11-c++14-c++17-compat
defaulted comparison operators are incompatible with C\+\+ standards before C\+\+20
err_defaulted_comparison_template
Error
Semantic Issue
Empty Group
comparison operator template cannot be defaulted
err_defaulted_comparison_out_of_class
Error
Semantic Issue
Empty Group
(<ERROR>|equality|three-way|equality|relational) comparison operator can only be defaulted in a class definition
err_defaulted_comparison_param
Error
Semantic Issue
Empty Group
invalid parameter type for defaulted (<ERROR>|equality|three-way|equality|relational) comparison operator; found .*, expected .*(| or .*)
err_defaulted_comparison_param_mismatch
Error
Semantic Issue
Empty Group
parameters for defaulted (<ERROR>|equality|three-way|equality|relational) comparison operator must have the same type( \(found .* vs .*\)|)
err_defaulted_comparison_non_const
Error
Semantic Issue
Empty Group
defaulted member (<ERROR>|equality|three-way|equality|relational) comparison operator must be const-qualified
err_defaulted_comparison_return_type_not_bool
Error
Semantic Issue
Empty Group
return type for defaulted (<ERROR>|equality|three-way|equality|relational) comparison operator must be 'bool', not .*
err_defaulted_comparison_deduced_return_type_not_auto
Error
Semantic Issue
Empty Group
deduced return type for defaulted (<ERROR>|equality|three-way|equality|relational) comparison operator must be 'auto', not .*
warn_defaulted_comparison_deleted
Warning
Semantic Issue
defaulted-function-deleted
explicitly defaulted (<ERROR>|equality|three-way|equality|relational) comparison operator is implicitly deleted
err_non_first_default_compare_deletes
Error
Semantic Issue
Empty Group
defaulting (this (<ERROR>|equality|three-way|equality|relational) comparison operator|the corresponding implicit 'operator==' for this defaulted 'operator<=>') would delete it after its first declaration
note_defaulted_comparison_union
Note
Semantic Issue
Empty Group
defaulted .* is implicitly deleted because .* is a (union-like class|union) with variant members
note_defaulted_comparison_reference_member
Note
Semantic Issue
Empty Group
defaulted .* is implicitly deleted because class .* has a reference member
note_defaulted_comparison_ambiguous
Note
Semantic Issue
Empty Group
defaulted .* is implicitly deleted because implied (|'==' |'<' )comparison (|for member .* |for base class .* )is ambiguous
note_defaulted_comparison_inaccessible
Note
Semantic Issue
Empty Group
defaulted .* is implicitly deleted because it would invoke a (private|protected) .*( member of .*| member of .* to compare member .*| to compare base class .*)
note_defaulted_comparison_calls_deleted
Note
Semantic Issue
Empty Group
defaulted .* is implicitly deleted because it would invoke a deleted comparison function(| for member .*| for base class .*)
note_defaulted_comparison_no_viable_function
Note
Semantic Issue
Empty Group
defaulted .* is implicitly deleted because there is no viable comparison function(| for member .*| for base class .*)
note_defaulted_comparison_no_viable_function_synthesized
Note
Semantic Issue
Empty Group
three-way comparison cannot be synthesized because there is no viable function for ('=='|'<') comparison
note_defaulted_comparison_not_rewritten_callee
Note
Semantic Issue
Empty Group
defaulted .* is implicitly deleted because this non-rewritten comparison function would be the best match for the comparison
note_defaulted_comparison_cannot_deduce
Note
Semantic Issue
Empty Group
return type of defaulted 'operator<=>' cannot be deduced because return type .* of three-way comparison for (|member|base class) .* is not a standard comparison category type
err_defaulted_comparison_cannot_deduce_undeduced_auto
Error
Semantic Issue
Empty Group
return type of defaulted 'operator<=>' cannot be deduced because three-way comparison for (|member|base class) .* has a deduced return type and is not yet defined
note_defaulted_comparison_cannot_deduce_undeduced_auto
Note
Semantic Issue
Empty Group
(|member|base class) .* declared here
note_defaulted_comparison_cannot_deduce_callee
Note
Semantic Issue
Empty Group
selected 'operator<=>' for (|member|base class) .* declared here
err_incorrect_defaulted_comparison_constexpr
Error
Semantic Issue
Empty Group
defaulted definition of ((<ERROR>|equality|three-way|equality|relational) comparison operator|three-way comparison operator) cannot be declared (constexpr|consteval) because (it|the corresponding implicit 'operator==') invokes a non-constexpr comparison function
note_defaulted_comparison_not_constexpr
Note
Semantic Issue
Empty Group
non-constexpr comparison function would be used to compare (|member .*|base class .*)
note_defaulted_comparison_not_constexpr_here
Note
Semantic Issue
Empty Group
non-constexpr comparison function declared here
note_in_declaration_of_implicit_equality_comparison
Note
Semantic Issue
Empty Group
while declaring the corresponding implicit 'operator==' for this defaulted 'operator<=>'
ext_implicit_exception_spec_mismatch
ExtWarn
Semantic Issue
implicit-exception-spec-mismatch
function previously declared with an (explicit|implicit) exception specification redeclared with an (implicit|explicit) exception specification
warn_ptr_arith_precedes_bounds
Warning
Semantic Issue
array-bounds-pointer-arithmetic
the pointer decremented by .* refers before the beginning of the array
warn_ptr_arith_exceeds_bounds
Warning
Semantic Issue
array-bounds-pointer-arithmetic
the pointer incremented by .* refers past the end of the array \(that contains .* element.*\)
warn_array_index_precedes_bounds
Warning
Semantic Issue
array-bounds
array index .* is before the beginning of the array
warn_array_index_exceeds_bounds
Warning
Semantic Issue
array-bounds
array index .* is past the end of the array \(which contains .* element.*\)
note_array_declared_here
Note
Semantic Issue
Empty Group
array .* declared here
warn_printf_insufficient_data_args
Warning
Semantic Issue
format-insufficient-args
more '%' conversions than data arguments
warn_printf_data_arg_not_used
Warning
Semantic Issue
format-extra-args
data argument not used by format string
warn_format_invalid_conversion
Warning
Semantic Issue
format-invalid-specifier
invalid conversion specifier '.*'
warn_printf_incomplete_specifier
Warning
Semantic Issue
format
incomplete format specifier
warn_missing_format_string
Warning
Semantic Issue
format
format string missing
warn_scanf_nonzero_width
Warning
Semantic Issue
format
zero field width in scanf format string is unused
warn_format_conversion_argument_type_mismatch
Warning
Semantic Issue
format
format specifies type .* but the argument has (type|underlying type) .*
warn_format_conversion_argument_type_mismatch_pedantic
Extension
Semantic Issue
format-pedantic
warn_format_conversion_argument_type_mismatch\.Text
warn_format_conversion_argument_type_mismatch_confusion
Warning
Semantic Issue
format-type-confusion
warn_format_conversion_argument_type_mismatch\.Text
warn_format_argument_needs_cast
Warning
Semantic Issue
format
(values of type|enum values with underlying type) '.*' should not be used as format arguments; add an explicit cast to .* instead
warn_format_argument_needs_cast_pedantic
Warning
Semantic Issue
format-pedantic
warn_format_argument_needs_cast\.Text
warn_printf_positional_arg_exceeds_data_args
Warning
Semantic Issue
format
data argument position '.*' exceeds the number of data arguments \(.*\)
warn_format_zero_positional_specifier
Warning
Semantic Issue
format
position arguments in format strings start counting at 1 \(not 0\)
warn_format_invalid_positional_specifier
Warning
Semantic Issue
format
invalid position specified for (field width|field precision)
warn_format_mix_positional_nonpositional_args
Warning
Semantic Issue
format
cannot mix positional and non-positional arguments in format string
warn_static_array_too_small
Warning
Semantic Issue
array-bounds
array argument is too small; (contains .* elements|is of size .*) callee requires at least .*
note_callee_static_array
Note
Semantic Issue
Empty Group
callee declares array parameter as static here
warn_empty_format_string
Warning
Semantic Issue
format-zero-length
format string is empty
warn_format_string_is_wide_literal
Warning
Semantic Issue
format
format string should not be a wide string
warn_printf_format_string_contains_null_char
Warning
Semantic Issue
format
format string contains '\\0' within the string body
warn_printf_format_string_not_null_terminated
Warning
Semantic Issue
format
format string is not null-terminated
warn_printf_asterisk_missing_arg
Warning
Semantic Issue
format
'(\*|\.\*)' specified field (width|precision) is missing a matching 'int' argument
warn_printf_asterisk_wrong_type
Warning
Semantic Issue
format
field (width|precision) should have type .*, but argument has type .*
warn_printf_nonsensical_optional_amount
Warning
Semantic Issue
format
(field width|precision) used with '.*' conversion specifier, resulting in undefined behavior
warn_printf_nonsensical_flag
Warning
Semantic Issue
format
flag '.*' results in undefined behavior with '.*' conversion specifier
warn_format_nonsensical_length
Warning
Semantic Issue
format
length modifier '.*' results in undefined behavior or no effect with '.*' conversion specifier
warn_format_non_standard_positional_arg
Warning
Semantic Issue
format-non-iso
positional arguments are not supported by ISO C
warn_format_non_standard
Warning
Semantic Issue
format-non-iso
'.*' (length modifier|conversion specifier) is not supported by ISO C
warn_format_non_standard_conversion_spec
Warning
Semantic Issue
format-non-iso
using length modifier '.*' with conversion specifier '.*' is not supported by ISO C
err_invalid_mask_type_size
Error
Semantic Issue
Empty Group
mask type size must be between 1-byte and 8-bytes
warn_format_invalid_annotation
Warning
Semantic Issue
format
using '.*' format specifier annotation outside of os_log\(\)/os_trace\(\)
warn_format_P_no_precision
Warning
Semantic Issue
format
using '%P' format specifier without precision
warn_printf_ignored_flag
Warning
Semantic Issue
format
flag '.*' is ignored when flag '.*' is present
warn_printf_empty_objc_flag
Warning
Semantic Issue
format
missing object format flag
warn_printf_ObjCflags_without_ObjCConversion
Warning
Semantic Issue
format
object format flags cannot be used with '.*' conversion specifier
warn_printf_invalid_objc_flag
Warning
Semantic Issue
format
'.*' is not a valid object format flag
warn_scanf_scanlist_incomplete
Warning
Semantic Issue
format
no closing '\]' for '%\[' in scanf format string
warn_format_bool_as_character
Warning
Semantic Issue
format
using '.*' format specifier, but argument has boolean value
note_format_string_defined
Note
Semantic Issue
Empty Group
format string is defined here
note_format_fix_specifier
Note
Semantic Issue
Empty Group
did you mean to use '.*'\?
note_printf_c_str
Note
Semantic Issue
Empty Group
did you mean to call the .* method\?
note_format_security_fixit
Note
Semantic Issue
Empty Group
treat the string as an argument to avoid this
warn_null_arg
Warning
Semantic Issue
nonnull
null passed to a callee that requires a non-null argument
warn_null_ret
Warning
Semantic Issue
nonnull
null returned from (function|method) that requires a non-null return value
err_lifetimebound_no_object_param
Error
Semantic Issue
Empty Group
'lifetimebound' attribute cannot be applied; (static |non-)member function has no implicit object parameter
err_lifetimebound_ctor_dtor
Error
Semantic Issue
Empty Group
'lifetimebound' attribute cannot be applied to a (constructor|destructor)
warn_ret_stack_addr_ref
Warning
Semantic Issue
return-stack-address
(address of|reference to) stack memory associated with (local variable|parameter) .* returned
warn_ret_local_temp_addr_ref
Warning
Semantic Issue
return-stack-address
returning (address of|reference to) local temporary object
warn_ret_addr_label
Warning
Semantic Issue
return-stack-address
returning address of label, which is local
err_ret_local_block
Error
Semantic Issue
Empty Group
returning block that lives on the local stack
note_local_var_initializer
Note
Semantic Issue
Empty Group
(via initialization of|binding reference) variable (.* |)here
note_init_with_default_member_initalizer
Note
Semantic Issue
Empty Group
initializing field .* with default member initializer
warn_bind_ref_member_to_parameter
Warning
Semantic Issue
dangling-field
binding reference member .* to stack allocated (variable|parameter) .*
warn_init_ptr_member_to_parameter_addr
Warning
Semantic Issue
dangling-field
initializing pointer member .* with the stack address of (variable|parameter) .*
note_ref_or_ptr_member_declared_here
Note
Semantic Issue
Empty Group
(reference|pointer) member declared here
err_dangling_member
Error
Semantic Issue
Empty Group
(reference|backing array for 'std::initializer_list') (|subobject of )member .* (binds to|is) a temporary object whose lifetime would be shorter than the lifetime of the constructed object
warn_dangling_member
Warning
Semantic Issue
dangling-field
(reference|backing array for 'std::initializer_list') (|subobject of )member .* (binds to|is) a temporary object whose lifetime is shorter than the lifetime of the constructed object
warn_dangling_lifetime_pointer_member
Warning
Semantic Issue
dangling-gsl
initializing pointer member .* to point to a temporary object whose lifetime is shorter than the lifetime of the constructed object
note_lifetime_extending_member_declared_here
Note
Semantic Issue
Empty Group
((reference|'std::initializer_list') member|member with (reference|'std::initializer_list') subobject) declared here
warn_dangling_variable
Warning
Semantic Issue
dangling
(temporary (whose address is used as value of|(|implicitly )bound to) ((|reference )member of local variable|local (variable|reference))|array backing (initializer list subobject of local variable|local initializer list)) (.* |)will be destroyed at the end of the full-expression
warn_new_dangling_reference
Warning
Semantic Issue
dangling-field
temporary bound to reference member of allocated object will be destroyed at the end of the full-expression
warn_dangling_lifetime_pointer
Warning
Semantic Issue
dangling-gsl
object backing the pointer will be destroyed at the end of the full-expression
warn_new_dangling_initializer_list
Warning
Semantic Issue
dangling-initializer-list
array backing (initializer list subobject of the allocated object|the allocated initializer list) will be destroyed at the end of the full-expression
warn_unsupported_lifetime_extension
Warning
Semantic Issue
dangling
sorry, lifetime extension of (temporary|backing array of initializer list) created by aggregate initialization using default member initializer is not supported; lifetime of (temporary|backing array) will end at the end of the full-expression
warn_comparison_always
Warning
Semantic Issue
tautological-compare
(self-|array )comparison always evaluates to (a constant|true|false|'std::strong_ordering::equal')
warn_comparison_bitwise_always
Warning
Semantic Issue
tautological-bitwise-compare
bitwise comparison always evaluates to (false|true)
warn_comparison_bitwise_or
Warning
Semantic Issue
tautological-bitwise-compare
bitwise or with non-zero value always evaluates to true
warn_tautological_overlap_comparison
Warning
Semantic Issue
tautological-overlap-compare
overlapping comparisons always evaluate to (false|true)
warn_depr_array_comparison
Warning
Semantic Issue
deprecated-array-compare
comparison between two arrays is deprecated; to compare array addresses, use unary '\+' to decay operands to pointers
warn_stringcompare
Warning
Semantic Issue
string-compare
result of comparison against (a string literal|@encode) is unspecified \(use an explicit string comparison function instead\)
warn_identity_field_assign
Warning
Semantic Issue
self-assign-field
assigning (field|instance variable) to itself
err_type_tag_for_datatype_not_ice
Error
Semantic Issue
Empty Group
'type_tag_for_datatype' attribute requires the initializer to be an (integer|integral) constant expression
err_type_tag_for_datatype_too_large
Error
Semantic Issue
Empty Group
'type_tag_for_datatype' attribute requires the initializer to be an (integer|integral) constant expression that can be represented by a 64 bit integer
err_tag_index_out_of_range
Error
Semantic Issue
Empty Group
(type tag|argument) index .* is greater than the number of arguments specified
warn_type_tag_for_datatype_wrong_kind
Warning
Semantic Issue
type-safety
this type tag was not designed to be used with this function
warn_type_safety_type_mismatch
Warning
Semantic Issue
type-safety
argument type .* doesn't match specified .* type tag (that requires .*|)
warn_type_safety_null_pointer_required
Warning
Semantic Issue
type-safety
specified .* type tag requires a null pointer
err_assoc_type_incomplete
Error
Semantic Issue
Empty Group
type .* in generic association incomplete
err_assoc_type_nonobject
Error
Semantic Issue
Empty Group
type .* in generic association not an object type
err_assoc_type_variably_modified
Error
Semantic Issue
Empty Group
type .* in generic association is a variably modified type
err_assoc_compatible_types
Error
Semantic Issue
Empty Group
type .* in generic association compatible with previously specified type .*
note_compat_assoc
Note
Semantic Issue
Empty Group
compatible type .* specified here
err_generic_sel_no_match
Error
Semantic Issue
Empty Group
controlling expression type .* not compatible with any generic association type
err_generic_sel_multi_match
Error
Semantic Issue
Empty Group
controlling expression type .* compatible with .* generic association types
err_blocks_disable
Error
Semantic Issue
Empty Group
blocks support disabled - compile with -fblocks or (pick a deployment target that supports them|for OpenCL 2\.0)
err_block_returning_array_function
Error
Semantic Issue
Empty Group
block cannot return (array|function) type .*
err_builtin_annotation_first_arg
Error
Semantic Issue
Empty Group
first argument to __builtin_annotation must be an integer
err_builtin_annotation_second_arg
Error
Semantic Issue
Empty Group
second argument to __builtin_annotation must be a non-wide string constant
err_msvc_annotation_wide_str
Error
Semantic Issue
Empty Group
arguments to __annotation must be wide string constants
err_cfstring_literal_not_string_constant
Error
Semantic Issue
Empty Group
CFString literal is not a string constant
warn_cfstring_truncated
Warning
Semantic Issue
CFString-literal
input conversion stopped due to an input byte that does not belong to the input codeset UTF-8
err_os_log_format_not_string_constant
Error
Semantic Issue
Empty Group
os_log\(\) format argument is not a string constant
err_os_log_argument_too_big
Error
Semantic Issue
Empty Group
os_log\(\) argument .* is too big \(.* bytes, max .*\)
warn_os_log_format_narg
Error
Semantic Issue
Empty Group
os_log\(\) '%n' format specifier is not allowed
err_continue_not_in_loop
Error
Semantic Issue
Empty Group
'continue' statement not in loop statement
err_break_not_in_loop_or_switch
Error
Semantic Issue
Empty Group
'break' statement not in loop or switch statement
warn_loop_ctrl_binds_to_inner
Warning
Semantic Issue
gcc-compat
'.*' is bound to current loop, GCC binds it to the enclosing loop
warn_break_binds_to_switch
Warning
Semantic Issue
gcc-compat
'break' is bound to loop, GCC binds it to switch
err_default_not_in_switch
Error
Semantic Issue
Empty Group
'default' statement not in switch statement
err_case_not_in_switch
Error
Semantic Issue
Empty Group
'case' statement not in switch statement
warn_bool_switch_condition
Warning
Semantic Issue
switch-bool
switch condition has boolean value
warn_case_value_overflow
Warning
Semantic Issue
switch
overflow converting case value to switch condition type \(.* to .*\)
err_duplicate_case
Error
Semantic Issue
Empty Group
duplicate case value '.*'
err_duplicate_case_differing_expr
Error
Semantic Issue
Empty Group
duplicate case value: '.*' and '.*' both equal '.*'
warn_case_empty_range
Warning
Semantic Issue
Empty Group
empty case range specified
warn_missing_case_for_condition
Warning
Semantic Issue
Empty Group
no case matching constant switch condition '.*'
warn_def_missing_case
Warning
Semantic Issue
switch-enum
(enumeration value .* not explicitly handled in switch|enumeration values .* and .* not explicitly handled in switch|enumeration values .*, .*, and .* not explicitly handled in switch|.* enumeration values not explicitly handled in switch: .*, .*, .*\.\.\.)
warn_missing_case
Warning
Semantic Issue
switch
(enumeration value .* not handled in switch|enumeration values .* and .* not handled in switch|enumeration values .*, .*, and .* not handled in switch|.* enumeration values not handled in switch: .*, .*, .*\.\.\.)
note_fill_in_missing_cases
Note
Semantic Issue
Empty Group
add missing switch cases
warn_unannotated_fallthrough
Warning
Semantic Issue
implicit-fallthrough
unannotated fall-through between switch labels
warn_unannotated_fallthrough_per_function
Warning
Semantic Issue
implicit-fallthrough-per-function
unannotated fall-through between switch labels in partly-annotated function
note_insert_fallthrough_fixit
Note
Semantic Issue
Empty Group
insert '.*;' to silence this warning
note_insert_break_fixit
Note
Semantic Issue
Empty Group
insert 'break;' to avoid fall-through
err_fallthrough_attr_wrong_target
Error
Semantic Issue
Empty Group
.* attribute is only allowed on empty statements
note_fallthrough_insert_semi_fixit
Note
Semantic Issue
Empty Group
did you forget ';'\?
err_fallthrough_attr_outside_switch
Error
Semantic Issue
Empty Group
fallthrough annotation is outside switch statement
err_fallthrough_attr_invalid_placement
Error
Semantic Issue
Empty Group
fallthrough annotation does not directly precede switch label
warn_fallthrough_attr_unreachable
Warning
Semantic Issue
implicit-fallthrough
fallthrough annotation in unreachable code
warn_unreachable_default
Warning
Semantic Issue
covered-switch-default
default label in switch which covers all enumeration values
warn_not_in_enum
Warning
Semantic Issue
switch
case value not in enumerated type .*
warn_not_in_enum_assignment
Warning
Semantic Issue
assign-enum
integer constant not in range of enumerated type .*
err_typecheck_statement_requires_scalar
Error
Semantic Issue
Empty Group
statement requires expression of scalar type \(.* invalid\)
err_typecheck_statement_requires_integer
Error
Semantic Issue
Empty Group
statement requires expression of integer type \(.* invalid\)
err_multiple_default_labels_defined
Error
Semantic Issue
Empty Group
multiple default labels in one switch
err_switch_multiple_conversions
Error
Semantic Issue
Empty Group
multiple conversions from switch condition type .* to an integral or enumeration type
note_switch_conversion
Note
Semantic Issue
Empty Group
conversion to (integral|enumeration) type .*
err_switch_explicit_conversion
Error
Semantic Issue
Empty Group
switch condition type .* requires explicit conversion to .*
err_switch_incomplete_class_type
Error
Semantic Issue
Empty Group
switch condition has incomplete class type .*
warn_empty_if_body
Warning
Semantic Issue
empty-body
if statement has empty body
warn_empty_for_body
Warning
Semantic Issue
empty-body
for loop has empty body
warn_empty_range_based_for_body
Warning
Semantic Issue
empty-body
range-based for loop has empty body
warn_empty_while_body
Warning
Semantic Issue
empty-body
while loop has empty body
warn_empty_switch_body
Warning
Semantic Issue
empty-body
switch statement has empty body
note_empty_body_on_separate_line
Note
Semantic Issue
Empty Group
put the semicolon on a separate line to silence this warning
err_va_start_captured_stmt
Error
Semantic Issue
Empty Group
'va_start' cannot be used in a captured statement
err_va_start_outside_function
Error
Semantic Issue
Empty Group
'va_start' cannot be used outside a function
err_va_start_fixed_function
Error
Semantic Issue
Empty Group
'va_start' used in function with fixed args
err_va_start_used_in_wrong_abi_function
Error
Semantic Issue
Empty Group
'va_start' used in (System V|Win64) ABI function
err_ms_va_start_used_in_sysv_function
Error
Semantic Issue
Empty Group
'__builtin_ms_va_start' used in System V ABI function
warn_second_arg_of_va_start_not_last_named_param
Warning
Semantic Issue
varargs
second argument to 'va_start' is not the last named parameter
warn_va_start_type_is_undefined
Warning
Semantic Issue
varargs
passing (an object that undergoes default argument promotion|an object of reference type|a parameter declared with the 'register' keyword) to 'va_start' has undefined behavior
err_first_argument_to_va_arg_not_of_type_va_list
Error
Semantic Issue
Empty Group
first argument to 'va_arg' is of type .* and not 'va_list'
err_second_parameter_to_va_arg_incomplete
Error
Semantic Issue
Empty Group
second argument to 'va_arg' is of incomplete type .*
err_second_parameter_to_va_arg_abstract
Error
Semantic Issue
Empty Group
second argument to 'va_arg' is of abstract type .*
warn_second_parameter_to_va_arg_not_pod
Warning
Semantic Issue
non-pod-varargs
second argument to 'va_arg' is of non-POD type .*
warn_second_parameter_to_va_arg_ownership_qualified
Warning
Semantic Issue
non-pod-varargs
second argument to 'va_arg' is of ARC ownership-qualified type .*
warn_second_parameter_to_va_arg_never_compatible
Warning
Semantic Issue
varargs
second argument to 'va_arg' is of promotable type .*; this va_arg has undefined behavior because arguments will be promoted to .*
warn_return_missing_expr
Warning
Semantic Issue
return-type
non-void (function|method) .* should return a value
ext_return_missing_expr
ExtWarn
Semantic Issue
return-type
non-void (function|method) .* should return a value
ext_return_has_expr
ExtWarn
Semantic Issue
return-type
(void function|void method|constructor|destructor) .* should not return a value
ext_return_has_void_expr
Extension
Semantic Issue
Empty Group
void (function|method|block) .* should not return void expression
err_return_init_list
Error
Semantic Issue
Empty Group
(void function|void method|constructor|destructor) .* must not return a value
err_ctor_dtor_returns_void
Error
Semantic Issue
Empty Group
(constructor|destructor) .* must not return void expression
warn_noreturn_function_has_return_expr
Warning
Semantic Issue
invalid-noreturn
function .* declared 'noreturn' should not return
warn_falloff_noreturn_function
Warning
Semantic Issue
invalid-noreturn
function declared 'noreturn' should not return
err_noreturn_block_has_return_expr
Error
Semantic Issue
Empty Group
block declared 'noreturn' should not return
err_noreturn_missing_on_first_decl
Error
Semantic Issue
Empty Group
function declared '\[\[noreturn\]\]' after its first declaration
note_noreturn_missing_first_decl
Note
Semantic Issue
Empty Group
declaration missing '\[\[noreturn\]\]' attribute is here
err_carries_dependency_missing_on_first_decl
Error
Semantic Issue
Empty Group
(function|parameter) declared '\[\[carries_dependency\]\]' after its first declaration
note_carries_dependency_missing_first_decl
Note
Semantic Issue
Empty Group
declaration missing '\[\[carries_dependency\]\]' attribute is here
err_carries_dependency_param_not_function_decl
Error
Semantic Issue
Empty Group
'\[\[carries_dependency\]\]' attribute only allowed on parameter in a function declaration or lambda
err_block_on_nonlocal
Error
Semantic Issue
Empty Group
__block attribute not allowed, only allowed on local variables
err_block_on_vm
Error
Semantic Issue
Empty Group
__block attribute not allowed on declaration with a variably modified type
err_sizeless_nonlocal
Error
Semantic Issue
Empty Group
non-local variable with sizeless type .*
err_vec_builtin_non_vector
Error
Semantic Issue
Empty Group
first two arguments to .* must be vectors
err_vec_builtin_incompatible_vector
Error
Semantic Issue
Empty Group
first two arguments to .* must have the same type
err_vsx_builtin_nonconstant_argument
Error
Semantic Issue
Empty Group
argument .* to .* must be a 2-bit unsigned literal \(i\.e\. 0, 1, 2 or 3\)
err_shufflevector_nonconstant_argument
Error
Semantic Issue
Empty Group
index for __builtin_shufflevector must be a constant integer
err_shufflevector_argument_too_large
Error
Semantic Issue
Empty Group
index for __builtin_shufflevector must be less than the total number of vector elements
err_convertvector_non_vector
Error
Semantic Issue
Empty Group
first argument to __builtin_convertvector must be a vector
err_convertvector_non_vector_type
Error
Semantic Issue
Empty Group
second argument to __builtin_convertvector must be a vector type
err_convertvector_incompatible_vector
Error
Semantic Issue
Empty Group
first two arguments to __builtin_convertvector must have the same number of elements
err_first_argument_to_cwsc_not_call
Error
Semantic Issue
Empty Group
first argument to __builtin_call_with_static_chain must be a non-member call expression
err_first_argument_to_cwsc_block_call
Error
Semantic Issue
Empty Group
first argument to __builtin_call_with_static_chain must not be a block call
err_first_argument_to_cwsc_builtin_call
Error
Semantic Issue
Empty Group
first argument to __builtin_call_with_static_chain must not be a builtin call
err_first_argument_to_cwsc_pdtor_call
Error
Semantic Issue
Empty Group
first argument to __builtin_call_with_static_chain must not be a pseudo-destructor call
err_second_argument_to_cwsc_not_pointer
Error
Semantic Issue
Empty Group
second argument to __builtin_call_with_static_chain must be of pointer type
err_vector_incorrect_num_initializers
Error
Semantic Issue
Empty Group
(too many|too few) elements in vector initialization \(expected .* elements, have .*\)
err_altivec_empty_initializer
Error
Semantic Issue
Empty Group
expected initializer
err_invalid_neon_type_code
Error
Semantic Issue
Empty Group
incompatible constant for this __builtin_neon function
err_argument_invalid_range
Error
Semantic Issue
Empty Group
argument value .* is outside the valid range \[.*, .*\]
warn_argument_invalid_range
Warning
Semantic Issue
argument-outside-range
argument value .* is outside the valid range \[.*, .*\]
err_argument_not_multiple
Error
Semantic Issue
Empty Group
argument should be a multiple of .*
err_argument_not_power_of_2
Error
Semantic Issue
Empty Group
argument should be a power of 2
err_argument_not_shifted_byte
Error
Semantic Issue
Empty Group
argument should be an 8-bit value shifted by a multiple of 8 bits
err_argument_not_shifted_byte_or_xxff
Error
Semantic Issue
Empty Group
argument should be an 8-bit value shifted by a multiple of 8 bits, or in the form 0x\?\?FF
err_rotation_argument_to_cadd
Error
Semantic Issue
Empty Group
argument should be the value 90 or 270
err_rotation_argument_to_cmla
Error
Semantic Issue
Empty Group
argument should be the value 0, 90, 180 or 270
warn_neon_vector_initializer_non_portable
Warning
Semantic Issue
nonportable-vector-initialization
vector initializers are not compatible with NEON intrinsics in big endian mode
note_neon_vector_initializer_non_portable
Note
Semantic Issue
Empty Group
consider using vld1_.*.*\(\) to initialize a vector from memory, or vcreate_.*.*\(\) to initialize from an integer constant
note_neon_vector_initializer_non_portable_q
Note
Semantic Issue
Empty Group
consider using vld1q_.*.*\(\) to initialize a vector from memory, or vcombine_.*.*\(vcreate_.*.*\(\), vcreate_.*.*\(\)\) to initialize from integer constants
err_systemz_invalid_tabort_code
Error
Semantic Issue
Empty Group
invalid transaction abort code
err_64_bit_builtin_32_bit_tgt
Error
Semantic Issue
Empty Group
this builtin is only available on 64-bit targets
err_32_bit_builtin_64_bit_tgt
Error
Semantic Issue
Empty Group
this builtin is only available on 32-bit targets
err_builtin_x64_aarch64_only
Error
Semantic Issue
Empty Group
this builtin is only available on x86-64 and aarch64 targets
err_mips_builtin_requires_dsp
Error
Semantic Issue
Empty Group
this builtin requires 'dsp' ASE, please use -mdsp
err_mips_builtin_requires_dspr2
Error
Semantic Issue
Empty Group
this builtin requires 'dsp r2' ASE, please use -mdspr2
err_mips_builtin_requires_msa
Error
Semantic Issue
Empty Group
this builtin requires 'msa' ASE, please use -mmsa
err_ppc_builtin_only_on_pwr7
Error
Semantic Issue
Empty Group
this builtin is only valid on POWER7 or later CPUs
err_x86_builtin_invalid_rounding
Error
Semantic Issue
Empty Group
invalid rounding argument
err_x86_builtin_invalid_scale
Error
Semantic Issue
Empty Group
scale argument must be 1, 2, 4, or 8
err_x86_builtin_tile_arg_duplicate
Error
Semantic Issue
Empty Group
tile arguments must refer to different tiles
err_builtin_target_unsupported
Error
Semantic Issue
Empty Group
builtin is not supported on this target
err_builtin_longjmp_unsupported
Error
Semantic Issue
Empty Group
__builtin_longjmp is not supported for the current target
err_builtin_setjmp_unsupported
Error
Semantic Issue
Empty Group
__builtin_setjmp is not supported for the current target
err_builtin_longjmp_invalid_val
Error
Semantic Issue
Empty Group
argument to __builtin_longjmp must be a constant 1
err_builtin_requires_language
Error
Semantic Issue
Empty Group
'.*' is only available in .*
err_constant_integer_arg_type
Error
Semantic Issue
Empty Group
argument to .* must be a constant integer
ext_mixed_decls_code
Extension
Semantic Issue
declaration-after-statement
ISO C90 forbids mixing declarations and code
err_non_local_variable_decl_in_for
Error
Semantic Issue
Empty Group
declaration of non-local variable in 'for' loop
err_non_variable_decl_in_for
Error
Semantic Issue
Empty Group
non-variable declaration in 'for' loop
err_toomany_element_decls
Error
Semantic Issue
Empty Group
only one element declaration is allowed
err_selector_element_not_lvalue
Error
Semantic Issue
Empty Group
selector element is not a valid lvalue
err_selector_element_type
Error
Semantic Issue
Empty Group
selector element type .* is not a valid object
err_selector_element_const_type
Error
Semantic Issue
Empty Group
selector element of type .* cannot be a constant l-value expression
err_collection_expr_type
Error
Semantic Issue
Empty Group
the type .* is not a pointer to a fast-enumerable object
warn_collection_expr_type
Warning
Semantic Issue
Empty Group
collection expression type .* may not respond to .*
err_invalid_conversion_between_ext_vectors
Error
Semantic Issue
Empty Group
invalid conversion between ext-vector type .* and .*
warn_duplicate_attribute_exact
Warning
Semantic Issue
ignored-attributes
attribute .* is already applied
warn_duplicate_attribute
Warning
Semantic Issue
ignored-attributes
attribute .* is already applied with different parameters
warn_sync_fetch_and_nand_semantics_change
Warning
Semantic Issue
sync-fetch-and-nand-semantics-changed
the semantics of this intrinsic changed with GCC version 4\.4 - the newer semantics are provided here
ext_wchar_t_sign_spec
ExtWarn
Semantic Issue
signed-unsigned-wchar
'.*' cannot be signed or unsigned
warn_receiver_forward_class
Warning
Semantic Issue
receiver-forward-class
receiver .* is a forward class and corresponding @interface may not exist
note_method_sent_forward_class
Note
Semantic Issue
Empty Group
method .* is used for the forward class
ext_missing_declspec
ExtWarn
Semantic Issue
Empty Group
declaration specifier missing, defaulting to 'int'
ext_missing_type_specifier
ExtWarn
Semantic Issue
implicit-int
type specifier missing, defaults to 'int'
err_decimal_unsupported
Error
Semantic Issue
Empty Group
GNU decimal type extension not supported
err_missing_type_specifier
Error
Semantic Issue
Empty Group
C\+\+ requires a type specifier for all declarations
err_objc_array_of_interfaces
Error
Semantic Issue
Empty Group
array of interface .* is invalid \(probably should be an array of pointers\)
ext_c99_array_usage
Extension
Semantic Issue
c99-extensions
(qualifier in |static |)array size (||'\[\*\] ')is a C99 feature
err_c99_array_usage_cxx
Error
Semantic Issue
Empty Group
(qualifier in |static |)array size (||'\[\*\] ')is a C99 feature, not permitted in C\+\+
err_type_unsupported
Error
Semantic Issue
Empty Group
.* is not supported on this target
err_nsconsumed_attribute_mismatch
Error
Semantic Issue
Empty Group
overriding method has mismatched ns_consumed attribute on its parameter
err_nsreturns_retained_attribute_mismatch
Error
Semantic Issue
Empty Group
overriding method has mismatched ns_returns_(not_retained|retained) attributes
err_nserrordomain_invalid_decl
Error
Semantic Issue
Empty Group
domain argument (|.* )does not refer to global constant
err_nserrordomain_wrong_type
Error
Semantic Issue
Empty Group
domain argument .* does not point to an NSString constant
warn_nsconsumed_attribute_mismatch
Warning
Semantic Issue
nsconsumed-mismatch
err_nsconsumed_attribute_mismatch\.Text
warn_nsreturns_retained_attribute_mismatch
Warning
Semantic Issue
nsreturns-mismatch
err_nsreturns_retained_attribute_mismatch\.Text
note_getter_unavailable
Note
Semantic Issue
Empty Group
or because setter is declared here, but no getter method .* is found
err_invalid_protocol_qualifiers
Error
Semantic Issue
Empty Group
invalid protocol qualifiers on non-ObjC type
warn_ivar_use_hidden
Warning
Semantic Issue
shadow-ivar
local declaration of .* hides instance variable
warn_direct_initialize_call
Warning
Semantic Issue
explicit-initialize-call
explicit call to \+initialize results in duplicate call to \+initialize
warn_direct_super_initialize_call
Warning
Semantic Issue
explicit-initialize-call
explicit call to \[super initialize\] should only be in implementation of \+initialize
err_ivar_use_in_class_method
Error
Semantic Issue
Empty Group
instance variable .* accessed in class method
err_private_ivar_access
Error
Semantic Issue
Empty Group
instance variable .* is private
err_protected_ivar_access
Error
Semantic Issue
Empty Group
instance variable .* is protected
warn_maynot_respond
Warning
Semantic Issue
Empty Group
.* may not respond to .*
ext_typecheck_base_super
Warning
Semantic Issue
super-class-method-mismatch
method parameter type (.* does not match super class method parameter type .*|does not match super class method parameter type)
warn_missing_method_return_type
Warning
Semantic Issue
missing-method-return-type
method has no return type specified; defaults to 'id'
warn_direct_ivar_access
Warning
Semantic Issue
direct-ivar-access
instance variable .* is being directly accessed
err_unknown_typename
Error
Semantic Issue
Empty Group
unknown type name .*
err_unknown_type_or_class_name_suggest
Error
Semantic Issue
Empty Group
unknown (type|class) name .*; did you mean .*\?
err_unknown_typename_suggest
Error
Semantic Issue
Empty Group
unknown type name .*; did you mean .*\?
err_unknown_nested_typename_suggest
Error
Semantic Issue
Empty Group
no type named .* in .*; did you mean (|simply ).*\?
err_no_member_suggest
Error
Semantic Issue
Empty Group
no member named .* in .*; did you mean (|simply ).*\?
err_undeclared_use_suggest
Error
Semantic Issue
Empty Group
use of undeclared .*; did you mean .*\?
err_undeclared_var_use_suggest
Error
Semantic Issue
Empty Group
use of undeclared identifier .*; did you mean .*\?
err_no_template
Error
Semantic Issue
Empty Group
no template named .*
err_no_template_suggest
Error
Semantic Issue
Empty Group
no template named .*; did you mean .*\?
err_no_member_template
Error
Semantic Issue
Empty Group
no template named .* in .*
err_no_member_template_suggest
Error
Semantic Issue
Empty Group
no template named .* in .*; did you mean (|simply ).*\?
err_non_template_in_template_id
Error
Semantic Issue
Empty Group
.* does not name a template but is followed by template arguments
err_non_template_in_template_id_suggest
Error
Semantic Issue
Empty Group
.* does not name a template but is followed by template arguments; did you mean .*\?
err_non_template_in_member_template_id_suggest
Error
Semantic Issue
Empty Group
member .* of .* is not a template; did you mean (|simply ).*\?
note_non_template_in_template_id_found
Note
Semantic Issue
Empty Group
non-template declaration found by name lookup
err_mem_init_not_member_or_class_suggest
Error
Semantic Issue
Empty Group
initializer .* does not name a non-static data member or base class; did you mean the (base class|member) .*\?
err_field_designator_unknown_suggest
Error
Semantic Issue
Empty Group
field designator .* does not refer to any field in type .*; did you mean .*\?
err_typecheck_member_reference_ivar_suggest
Error
Semantic Issue
Empty Group
.* does not have a member named .*; did you mean .*\?
err_property_not_found_suggest
Error
Semantic Issue
Empty Group
property .* not found on object of type .*; did you mean .*\?
err_class_property_found
Error
Semantic Issue
Empty Group
property .* is a class property; did you mean to access it with class '.*'\?
err_ivar_access_using_property_syntax_suggest
Error
Semantic Issue
Empty Group
property .* not found on object of type .*; did you mean to access instance variable .*\?
warn_property_access_suggest
Warning
Semantic Issue
property-access-dot-syntax
property .* not found on object of type .*; did you mean to access property .*\?
err_property_found_suggest
Error
Semantic Issue
Empty Group
property .* found on object of type .*; did you mean to access it with the \"\.\" operator\?
err_undef_interface_suggest
Error
Semantic Issue
Empty Group
cannot find interface declaration for .*; did you mean .*\?
warn_undef_interface_suggest
Warning
Semantic Issue
Empty Group
cannot find interface declaration for .*; did you mean .*\?
err_undef_superclass_suggest
Error
Semantic Issue
Empty Group
cannot find interface declaration for .*, superclass of .*; did you mean .*\?
err_undeclared_protocol_suggest
Error
Semantic Issue
Empty Group
cannot find protocol declaration for .*; did you mean .*\?
note_base_class_specified_here
Note
Semantic Issue
Empty Group
base class .* specified here
err_using_directive_suggest
Error
Semantic Issue
Empty Group
no namespace named .*; did you mean .*\?
err_using_directive_member_suggest
Error
Semantic Issue
Empty Group
no namespace named .* in .*; did you mean (|simply ).*\?
note_namespace_defined_here
Note
Semantic Issue
Empty Group
namespace .* defined here
err_sizeof_pack_no_pack_name_suggest
Error
Semantic Issue
Empty Group
.* does not refer to the name of a parameter pack; did you mean .*\?
note_parameter_pack_here
Note
Semantic Issue
Empty Group
parameter pack .* declared here
err_uncasted_use_of_unknown_any
Error
Semantic Issue
Empty Group
.* has unknown type; cast it to its declared type to use it
err_uncasted_call_of_unknown_any
Error
Semantic Issue
Empty Group
.* has unknown return type; cast the call to its declared return type
err_uncasted_send_to_unknown_any_method
Error
Semantic Issue
Empty Group
no known method (.*|.*); cast the message send to the method's return type
err_unsupported_unknown_any_decl
Error
Semantic Issue
Empty Group
.* has unknown type, which is not supported for this kind of declaration
err_unsupported_unknown_any_expr
Error
Semantic Issue
Empty Group
unsupported expression with unknown type
err_unsupported_unknown_any_call
Error
Semantic Issue
Empty Group
call to unsupported expression with unknown type
err_unknown_any_addrof
Error
Semantic Issue
Empty Group
the address of a declaration with unknown type can only be cast to a pointer type
err_unknown_any_addrof_call
Error
Semantic Issue
Empty Group
address-of operator cannot be applied to a call to a function with unknown return type
err_unknown_any_var_function_type
Error
Semantic Issue
Empty Group
variable .* with unknown type cannot be given a function type
err_unknown_any_function
Error
Semantic Issue
Empty Group
function .* with unknown type must be given a function type
err_filter_expression_integral
Error
Semantic Issue
Empty Group
filter expression has non-integral type .*
err_non_asm_stmt_in_naked_function
Error
Semantic Issue
Empty Group
non-ASM statement in naked function is not supported
err_asm_naked_this_ref
Error
Semantic Issue
Empty Group
'this' pointer references not allowed in naked functions
err_asm_naked_parm_ref
Error
Semantic Issue
Empty Group
parameter references not allowed in naked functions
err_invalid_astype_of_different_size
Error
Semantic Issue
Empty Group
invalid reinterpretation: sizes of .* and .* must match
err_static_kernel
Error
Semantic Issue
Empty Group
kernel functions cannot be declared static
err_method_kernel
Error
Semantic Issue
Empty Group
kernel functions cannot be class members
err_template_kernel
Error
Semantic Issue
Empty Group
kernel functions cannot be used in a template declaration, instantiation or specialization
err_opencl_ptrptr_kernel_param
Error
Semantic Issue
Empty Group
kernel parameter cannot be declared as a pointer to a pointer
err_kernel_arg_address_space
Error
Semantic Issue
Empty Group
pointer arguments to kernel functions must reside in '__global', '__constant' or '__local' address space
err_opencl_ext_vector_component_invalid_length
Error
Semantic Issue
Empty Group
vector component access has invalid length .*\.  Supported: 1,2,3,4,8,16\.
err_opencl_function_variable
Error
Semantic Issue
Empty Group
(non-kernel function|function scope) variable cannot be declared in .* address space
err_opencl_addrspace_scope
Error
Semantic Issue
Empty Group
variables in the .* address space can only be declared in the outermost scope of a kernel function
err_static_function_scope
Error
Semantic Issue
Empty Group
variables in function scope cannot be declared static
err_opencl_bitfields
Error
Semantic Issue
Empty Group
bit-fields are not supported in OpenCL
err_opencl_vla
Error
Semantic Issue
Empty Group
variable length arrays are not supported in OpenCL
err_opencl_scalar_type_rank_greater_than_vector_type
Error
Semantic Issue
Empty Group
scalar operand type has greater rank than the type of the vector element\. \(.* and .*\)
err_bad_kernel_param_type
Error
Semantic Issue
Empty Group
.* cannot be used as the type of a kernel parameter
err_opencl_implicit_function_decl
Error
Semantic Issue
Empty Group
implicit declaration of function .* is invalid in OpenCL
err_record_with_pointers_kernel_param
Error
Semantic Issue
Empty Group
(struct|union) kernel parameters may not contain pointers
note_within_field_of_type
Note
Semantic Issue
Empty Group
within field of type .* declared here
note_illegal_field_declared_here
Note
Semantic Issue
Empty Group
field of illegal (type|pointer type) .* declared here
err_opencl_type_struct_or_union_field
Error
Semantic Issue
Empty Group
the .* type cannot be used to declare a structure or union field
err_event_t_addr_space_qual
Error
Semantic Issue
Empty Group
the event_t type can only be used with __private address space qualifier
err_expected_kernel_void_return_type
Error
Semantic Issue
Empty Group
kernel must have void return type
err_sampler_initializer_not_integer
Error
Semantic Issue
Empty Group
sampler_t initialization requires 32-bit integer, not .*
warn_sampler_initializer_invalid_bits
Warning
Semantic Issue
spir-compat
sampler initializer has invalid .* bits
err_sampler_argument_required
Error
Semantic Issue
Empty Group
sampler_t variable required - got .*
err_wrong_sampler_addressspace
Error
Semantic Issue
Empty Group
sampler type cannot be used with the __local and __global address space qualifiers
err_opencl_nonconst_global_sampler
Error
Semantic Issue
Empty Group
global sampler requires a const or constant address space qualifier
err_opencl_cast_non_zero_to_event_t
Error
Semantic Issue
Empty Group
cannot cast non-zero value '.*' to 'event_t'
err_opencl_global_invalid_addr_space
Error
Semantic Issue
Empty Group
(program scope|static local|extern) variable must reside in .* address space
err_missing_actual_pipe_type
Error
Semantic Issue
Empty Group
missing actual type specifier for pipe
err_reference_pipe_type
Error
Semantic Issue
Empty Group
pipes packet types cannot be of reference type
err_opencl_no_main
Error
Semantic Issue
Empty Group
(function|kernel) cannot be called 'main'
err_opencl_kernel_attr
Error
Semantic Issue
Empty Group
attribute .* can only be applied to an OpenCL kernel function
err_opencl_return_value_with_address_space
Error
Semantic Issue
Empty Group
return value cannot be qualified with address space
err_opencl_constant_no_init
Error
Semantic Issue
Empty Group
variable in constant address space must be initialized
err_opencl_atomic_init
Error
Semantic Issue
Empty Group
atomic variable can be (assigned|initialized) to a variable only in global address space
err_opencl_implicit_vector_conversion
Error
Semantic Issue
Empty Group
implicit conversions between vector types \(.* and .*\) are not permitted
err_opencl_invalid_type_array
Error
Semantic Issue
Empty Group
array of .* type is invalid in OpenCL
err_opencl_ternary_with_block
Error
Semantic Issue
Empty Group
block type cannot be used as expression in ternary expression in OpenCL
err_opencl_pointer_to_type
Error
Semantic Issue
Empty Group
pointer to type .* is invalid in OpenCL
err_opencl_type_can_only_be_used_as_function_parameter
Error
Semantic Issue
Empty Group
type .* can only be used as a function parameter in OpenCL
warn_opencl_attr_deprecated_ignored
Warning
Semantic Issue
ignored-attributes
.* attribute is deprecated and ignored in OpenCL version .*
err_opencl_variadic_function
Error
Semantic Issue
Empty Group
invalid prototype, variadic arguments are not allowed in OpenCL
err_opencl_requires_extension
Error
Semantic Issue
Empty Group
use of (type|declaration) .* requires .* extension to be enabled
warn_opencl_generic_address_space_arg
Warning
Semantic Issue
conversion
passing non-generic address space pointer to .* may cause dynamic conversion affecting performance
err_opencl_builtin_pipe_first_arg
Error
Semantic Issue
Empty Group
first argument to .* must be a pipe type
err_opencl_builtin_pipe_arg_num
Error
Semantic Issue
Empty Group
invalid number of arguments to function: .*
err_opencl_builtin_pipe_invalid_arg
Error
Semantic Issue
Empty Group
invalid argument type to function .* \(expecting .* having .*\)
err_opencl_builtin_pipe_invalid_access_modifier
Error
Semantic Issue
Empty Group
invalid pipe access modifier \(expecting .*\)
err_opencl_invalid_access_qualifier
Error
Semantic Issue
Empty Group
access qualifier can only be used for pipe and image type
err_opencl_invalid_read_write
Error
Semantic Issue
Empty Group
access qualifier .* can not be used for .* (|prior to OpenCL version 2\.0)
err_opencl_multiple_access_qualifiers
Error
Semantic Issue
Empty Group
multiple access qualifiers
note_opencl_typedef_access_qualifier
Note
Semantic Issue
Empty Group
previously declared '.*' here
err_opencl_block_storage_type
Error
Semantic Issue
Empty Group
the __block storage type is not permitted
err_opencl_invalid_block_declaration
Error
Semantic Issue
Empty Group
invalid block variable declaration - must be (const qualified|initialized)
err_opencl_extern_block_declaration
Error
Semantic Issue
Empty Group
invalid block variable declaration - using 'extern' storage class is disallowed
err_opencl_block_ref_block
Error
Semantic Issue
Empty Group
cannot refer to a block inside block
err_opencl_builtin_to_addr_invalid_arg
Error
Semantic Issue
Empty Group
invalid argument .* to function: .*, expecting a generic pointer argument
err_opencl_enqueue_kernel_incorrect_args
Error
Semantic Issue
Empty Group
illegal call to enqueue_kernel, incorrect argument types
err_opencl_enqueue_kernel_local_size_args
Error
Semantic Issue
Empty Group
mismatch in number of block parameters and local size arguments passed
err_opencl_enqueue_kernel_invalid_local_size_type
Error
Semantic Issue
Empty Group
illegal call to enqueue_kernel, parameter needs to be specified as integer type
err_opencl_enqueue_kernel_blocks_non_local_void_args
Error
Semantic Issue
Empty Group
blocks used in enqueue_kernel call are expected to have parameters of type 'local void\*'
err_opencl_enqueue_kernel_blocks_no_args
Error
Semantic Issue
Empty Group
blocks with parameters are not accepted in this prototype of enqueue_kernel call
err_opencl_builtin_expected_type
Error
Semantic Issue
Empty Group
illegal call to .*, expected .* argument type
ext_opencl_ext_vector_type_rgba_selector
ExtWarn
Semantic Issue
opencl-unsupported-rgba
vector component name '.*' is an OpenCL version 2\.2 feature
err_openclcxx_placement_new
Error
Semantic Issue
Empty Group
use of placement new requires explicit declaration
warn_mig_server_routine_does_not_return_kern_return_t
Warning
Semantic Issue
ignored-attributes
'mig_server_routine' attribute only applies to routines that return a kern_return_t
err_incompatible_replacement_type
Error
API Notes Issue
Empty Group
API notes replacement type .* has a different size from original type .*
err_omp_expected_var_arg
Error
OpenMP Issue
Empty Group
.* is not a global variable, static local variable or static data member
err_omp_expected_var_arg_suggest
Error
OpenMP Issue
Empty Group
.* is not a global variable, static local variable or static data member; did you mean .*
err_omp_global_var_arg
Error
OpenMP Issue
Empty Group
arguments of '#pragma omp .*' must have (global storage|static storage duration)
err_omp_ref_type_arg
Error
OpenMP Issue
Empty Group
arguments of '#pragma omp .*' cannot be of reference type .*
err_omp_region_not_file_context
Error
OpenMP Issue
Empty Group
directive must be at file or namespace scope
err_omp_var_scope
Error
OpenMP Issue
Empty Group
'#pragma omp .*' must appear in the scope of the .* variable declaration
err_omp_var_used
Error
OpenMP Issue
Empty Group
'#pragma omp .*' must precede all references to variable .*
err_omp_var_thread_local
Error
OpenMP Issue
Empty Group
variable .* cannot be threadprivate because it is (thread-local|a global named register variable)
err_omp_private_incomplete_type
Error
OpenMP Issue
Empty Group
a private variable with incomplete type .*
err_omp_firstprivate_incomplete_type
Error
OpenMP Issue
Empty Group
a firstprivate variable with incomplete type .*
err_omp_lastprivate_incomplete_type
Error
OpenMP Issue
Empty Group
a lastprivate variable with incomplete type .*
err_omp_reduction_incomplete_type
Error
OpenMP Issue
Empty Group
a reduction list item with incomplete type .*
err_omp_unexpected_clause_value
Error
OpenMP Issue
Empty Group
expected .* in OpenMP clause '.*'
err_omp_expected_var_name_member_expr
Error
OpenMP Issue
Empty Group
expected variable name(| or data member of current class)
err_omp_expected_var_name_member_expr_or_array_item
Error
OpenMP Issue
Empty Group
expected variable name(|, data member of current class) array element or array section
err_omp_expected_addressable_lvalue_or_array_item
Error
OpenMP Issue
Empty Group
expected addressable lvalue expression, array element( or array section|, array section or array shaping expression)(| of non 'omp_depend_t' type)
err_omp_expected_named_var_member_or_array_expression
Error
OpenMP Issue
Empty Group
expected expression containing only member accesses and/or array sections based on named variables
err_omp_bit_fields_forbidden_in_clause
Error
OpenMP Issue
Empty Group
bit fields cannot be used to specify storage in a '.*' clause
err_array_section_does_not_specify_contiguous_storage
Error
OpenMP Issue
Empty Group
array section does not specify contiguous storage
err_omp_union_type_not_allowed
Error
OpenMP Issue
Empty Group
mapping of union members is not allowed
err_omp_expected_access_to_data_field
Error
OpenMP Issue
Empty Group
expected access to data field
err_omp_multiple_array_items_in_map_clause
Error
OpenMP Issue
Empty Group
multiple array elements associated with the same variable are not allowed in map clauses of the same construct
err_omp_duplicate_map_type_modifier
Error
OpenMP Issue
Empty Group
same map type modifier has been specified more than once
err_omp_duplicate_motion_modifier
Error
OpenMP Issue
Empty Group
same motion modifier has been specified more than once
err_omp_pointer_mapped_along_with_derived_section
Error
OpenMP Issue
Empty Group
pointer cannot be mapped along with a section derived from itself
err_omp_original_storage_is_shared_and_does_not_contain
Error
OpenMP Issue
Empty Group
original storage of expression in data environment is shared but data environment do not fully contain mapped expression storage
err_omp_same_pointer_dereferenced
Error
OpenMP Issue
Empty Group
same pointer dereferenced in multiple different ways in map clause expressions
note_omp_task_predetermined_firstprivate_here
Note
OpenMP Issue
Empty Group
predetermined as a firstprivate in a task construct here
err_omp_threadprivate_incomplete_type
Error
OpenMP Issue
Empty Group
threadprivate variable with incomplete type .*
err_omp_no_dsa_for_variable
Error
OpenMP Issue
Empty Group
variable .* must have explicitly specified data sharing attributes
err_omp_defaultmap_no_attr_for_variable
Error
OpenMP Issue
Empty Group
variable .* must have explicitly specified data sharing attributes, data mapping attributes, or in an is_device_ptr clause
note_omp_default_dsa_none
Note
OpenMP Issue
Empty Group
explicit data sharing attribute requested here
note_omp_defaultmap_attr_none
Note
OpenMP Issue
Empty Group
explicit data sharing attribute, data mapping attribute, or is_device_ptr clause requested here
err_omp_wrong_dsa
Error
OpenMP Issue
Empty Group
.* variable cannot be .*
err_omp_variably_modified_type_not_supported
Error
OpenMP Issue
Empty Group
arguments of OpenMP clause '.*' in '#pragma omp .*' directive cannot be of variably-modified type .*
note_omp_explicit_dsa
Note
OpenMP Issue
Empty Group
defined as .*
note_omp_predetermined_dsa
Note
OpenMP Issue
Empty Group
(static data member is predetermined as shared|variable with static storage duration is predetermined as shared|loop iteration variable is predetermined as private|loop iteration variable is predetermined as linear|loop iteration variable is predetermined as lastprivate|constant variable is predetermined as shared|global variable is predetermined as shared|non-shared variable in a task construct is predetermined as firstprivate|variable with automatic storage duration is predetermined as private)(|; perhaps you forget to enclose 'omp .*' directive into a parallel or another task region\?)
note_omp_implicit_dsa
Note
OpenMP Issue
Empty Group
implicitly determined as .*
err_omp_loop_var_dsa
Error
OpenMP Issue
Empty Group
loop iteration variable in the associated loop of 'omp .*' directive may not be .*, predetermined as .*
err_omp_not_for
Error
OpenMP Issue
Empty Group
(statement after '#pragma omp .*' must be a for loop|expected .* for loops after '#pragma omp .*'(|, but found only .*))
note_omp_collapse_ordered_expr
Note
OpenMP Issue
Empty Group
as specified in ('collapse'|'ordered'|'collapse' and 'ordered') clause(||s)
err_omp_negative_expression_in_clause
Error
OpenMP Issue
Empty Group
argument to '.*' clause must be a (non-negative|strictly positive) integer value
err_omp_not_integral
Error
OpenMP Issue
Empty Group
expression must have integral or unscoped enumeration type, not .*
err_omp_threadprivate_in_target
Error
OpenMP Issue
Empty Group
threadprivate variables cannot be used in target constructs
err_omp_incomplete_type
Error
OpenMP Issue
Empty Group
expression has incomplete class type .*
err_omp_explicit_conversion
Error
OpenMP Issue
Empty Group
expression requires explicit conversion from .* to .*
note_omp_conversion_here
Note
OpenMP Issue
Empty Group
conversion to (integral|enumeration) type .* declared here
err_omp_ambiguous_conversion
Error
OpenMP Issue
Empty Group
ambiguous conversion from type .* to an integral or unscoped enumeration type
err_omp_iterator_not_integral_or_pointer
Error
OpenMP Issue
Empty Group
expected integral or pointer type as the iterator-type, not .*
err_omp_iterator_step_not_integral
Error
OpenMP Issue
Empty Group
iterator step expression .* is not the integral expression
err_omp_iterator_step_constant_zero
Error
OpenMP Issue
Empty Group
iterator step expression .* evaluates to 0
err_omp_required_access
Error
OpenMP Issue
Empty Group
.* variable must be .*
err_omp_const_variable
Error
OpenMP Issue
Empty Group
const-qualified variable cannot be .*
err_omp_const_not_mutable_variable
Error
OpenMP Issue
Empty Group
const-qualified variable without mutable fields cannot be .*
err_omp_const_list_item
Error
OpenMP Issue
Empty Group
const-qualified list item cannot be .*
err_omp_linear_incomplete_type
Error
OpenMP Issue
Empty Group
a linear variable with incomplete type .*
err_omp_linear_expected_int_or_ptr
Error
OpenMP Issue
Empty Group
argument of a linear clause should be of integral or pointer type, not .*
warn_omp_linear_step_zero
Warning
OpenMP Issue
openmp-clauses
zero linear step \(.* (|and other variables in clause )should probably be const\)
warn_omp_alignment_not_power_of_two
Warning
OpenMP Issue
openmp-clauses
aligned clause will be ignored because the requested alignment is not a power of 2
err_omp_invalid_target_decl
Error
OpenMP Issue
Empty Group
.* used in declare target directive is not a variable or a function name
err_omp_declare_target_multiple
Error
OpenMP Issue
Empty Group
.* appears multiple times in clauses on the same declare target directive
err_omp_declare_target_to_and_link
Error
OpenMP Issue
Empty Group
.* must not appear in both clauses 'to' and 'link'
warn_omp_not_in_target_context
Warning
OpenMP Issue
openmp-target
declaration is not declared in any declare target region
err_omp_function_in_link_clause
Error
OpenMP Issue
Empty Group
function name is not allowed in 'link' clause
err_omp_aligned_expected_array_or_ptr
Error
OpenMP Issue
Empty Group
argument of aligned clause should be array( or pointer|, pointer, reference to array or reference to pointer) not .*
err_omp_used_in_clause_twice
Error
OpenMP Issue
Empty Group
(a variable|a parameter|'this') cannot appear in more than one .* clause
err_omp_local_var_in_threadprivate_init
Error
OpenMP Issue
Empty Group
variable with local storage in initial value of threadprivate variable
err_omp_loop_not_canonical_init
Error
OpenMP Issue
Empty Group
initialization clause of OpenMP for loop is not in canonical form \('var = init' or 'T var = init'\)
ext_omp_loop_not_canonical_init
ExtWarn
OpenMP Issue
openmp-loop-form
initialization clause of OpenMP for loop is not in canonical form \('var = init' or 'T var = init'\)
err_omp_loop_not_canonical_cond
Error
OpenMP Issue
Empty Group
condition of OpenMP for loop must be a relational comparison \('<', '<=', '>', (or '>='|'>=', or '!=')\) of loop variable .*
err_omp_loop_not_canonical_incr
Error
OpenMP Issue
Empty Group
increment clause of OpenMP for loop must perform simple addition or subtraction on loop variable .*
err_omp_loop_variable_type
Error
OpenMP Issue
Empty Group
variable must be of integer or (pointer|random access iterator) type
err_omp_loop_incr_not_compatible
Error
OpenMP Issue
Empty Group
increment expression must cause .* to (decrease|increase) on each iteration of OpenMP for loop
note_omp_loop_cond_requres_compatible_incr
Note
OpenMP Issue
Empty Group
loop step is expected to be (negative|positive) due to this condition
err_omp_loop_diff_cxx
Error
OpenMP Issue
Empty Group
could not calculate number of iterations calling 'operator-' with upper and lower loop bounds
err_omp_loop_cannot_use_stmt
Error
OpenMP Issue
Empty Group
'.*' statement cannot be used in OpenMP for loop
err_omp_simd_region_cannot_use_stmt
Error
OpenMP Issue
Empty Group
'.*' statement cannot be used in OpenMP simd region
warn_omp_loop_64_bit_var
Warning
OpenMP Issue
openmp-loop-form
OpenMP loop iteration variable cannot have more than 64 bits size and will be narrowed
err_omp_unknown_reduction_identifier
Error
OpenMP Issue
Empty Group
incorrect reduction identifier, expected one of '\+', '-', '\*', '&', '\|', '^', '&&', '\|\|', 'min' or 'max' or declare reduction for type .*
err_omp_not_resolved_reduction_identifier
Error
OpenMP Issue
Empty Group
unable to resolve declare reduction construct for type .*
err_omp_reduction_ref_type_arg
Error
OpenMP Issue
Empty Group
argument of OpenMP clause '.*' must reference the same object in all threads
err_omp_clause_not_arithmetic_type_arg
Error
OpenMP Issue
Empty Group
arguments of OpenMP clause '.*' for 'min' or 'max' must be of (scalar|arithmetic) type
err_omp_clause_floating_type_arg
Error
OpenMP Issue
Empty Group
arguments of OpenMP clause '.*' with bitwise operators cannot be of floating type
err_omp_once_referenced
Error
OpenMP Issue
Empty Group
variable can appear only once in OpenMP '.*' clause
err_omp_once_referenced_in_target_update
Error
OpenMP Issue
Empty Group
variable can appear only once in OpenMP 'target update' construct
note_omp_referenced
Note
OpenMP Issue
Empty Group
previously referenced here
err_omp_reduction_in_task
Error
OpenMP Issue
Empty Group
reduction variables may not be accessed in an explicit task
err_omp_reduction_id_not_compatible
Error
OpenMP Issue
Empty Group
list item of type .* is not valid for specified reduction operation: unable to provide default initialization value
err_omp_reduction_identifier_mismatch
Error
OpenMP Issue
Empty Group
in_reduction variable must have the same reduction operation as in a task_reduction clause
note_omp_previous_reduction_identifier
Note
OpenMP Issue
Empty Group
previously marked as task_reduction with different reduction operation
err_omp_prohibited_region
Error
OpenMP Issue
Empty Group
region cannot be(| closely) nested inside '.*' region(|; perhaps you forget to enclose 'omp .*' directive into a parallel region\?|; perhaps you forget to enclose 'omp .*' directive into a for or a parallel for region with 'ordered' clause\?|; perhaps you forget to enclose 'omp .*' directive into a target region\?|; perhaps you forget to enclose 'omp .*' directive into a teams region\?|; perhaps you forget to enclose 'omp .*' directive into a for, simd, for simd, parallel for, or parallel for simd region\?)
err_omp_prohibited_region_simd
Error
OpenMP Issue
Empty Group
OpenMP constructs may not be nested inside a simd region(| except for ordered simd, simd, scan, or atomic directive)
err_omp_prohibited_region_atomic
Error
OpenMP Issue
Empty Group
OpenMP constructs may not be nested inside an atomic region
err_omp_prohibited_region_critical_same_name
Error
OpenMP Issue
Empty Group
cannot nest 'critical' regions having the same name .*
note_omp_previous_critical_region
Note
OpenMP Issue
Empty Group
previous 'critical' region starts here
err_omp_several_directives_in_region
Error
OpenMP Issue
Empty Group
exactly one '.*' directive must appear in the loop body of an enclosing directive
note_omp_previous_directive
Note
OpenMP Issue
Empty Group
previous '.*' directive used here
err_omp_sections_not_compound_stmt
Error
OpenMP Issue
Empty Group
the statement for '#pragma omp sections' must be a compound statement
err_omp_parallel_sections_not_compound_stmt
Error
OpenMP Issue
Empty Group
the statement for '#pragma omp parallel sections' must be a compound statement
err_omp_orphaned_section_directive
Error
OpenMP Issue
Empty Group
(orphaned 'omp section' directives are prohibited, it|'omp section' directive) must be closely nested to a sections region(|, not a .* region)
err_omp_sections_substmt_not_section
Error
OpenMP Issue
Empty Group
statement in 'omp sections' directive must be enclosed into a section region
err_omp_parallel_sections_substmt_not_section
Error
OpenMP Issue
Empty Group
statement in 'omp parallel sections' directive must be enclosed into a section region
err_omp_parallel_reduction_in_task_firstprivate
Error
OpenMP Issue
Empty Group
argument of a reduction clause of a .* construct must not appear in a firstprivate clause on a task construct
err_omp_atomic_read_not_expression_statement
Error
OpenMP Issue
Empty Group
the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with scalar type
note_omp_atomic_read_write
Note
OpenMP Issue
Empty Group
(expected an expression statement|expected built-in assignment operator|expected expression of scalar type|expected lvalue expression)
err_omp_atomic_write_not_expression_statement
Error
OpenMP Issue
Empty Group
the statement for 'atomic write' must be an expression statement of form 'x = expr;', where x is a lvalue expression with scalar type
err_omp_atomic_update_not_expression_statement
Error
OpenMP Issue
Empty Group
the statement for 'atomic update' must be an expression statement of form '\+\+x;', '--x;', 'x\+\+;', 'x--;', 'x binop= expr;', 'x = x binop expr' or 'x = expr binop x', where x is an l-value expression with scalar type
err_omp_atomic_not_expression_statement
Error
OpenMP Issue
Empty Group
the statement for 'atomic' must be an expression statement of form '\+\+x;', '--x;', 'x\+\+;', 'x--;', 'x binop= expr;', 'x = x binop expr' or 'x = expr binop x', where x is an l-value expression with scalar type
note_omp_atomic_update
Note
OpenMP Issue
Empty Group
(expected an expression statement|expected built-in binary or unary operator|expected unary decrement/increment operation|expected expression of scalar type|expected assignment expression|expected built-in binary operator|expected one of '\+', '\*', '-', '/', '&', '^', '\|', '<<', or '>>' built-in operations|expected in right hand side of expression)
err_omp_atomic_capture_not_expression_statement
Error
OpenMP Issue
Empty Group
the statement for 'atomic capture' must be an expression statement of form 'v = \+\+x;', 'v = --x;', 'v = x\+\+;', 'v = x--;', 'v = x binop= expr;', 'v = x = x binop expr' or 'v = x = expr binop x', where x and v are both l-value expressions with scalar type
err_omp_atomic_capture_not_compound_statement
Error
OpenMP Issue
Empty Group
the statement for 'atomic capture' must be a compound statement of form '\{v = x; x binop= expr;\}', '\{x binop= expr; v = x;\}', '\{v = x; x = x binop expr;\}', '\{v = x; x = expr binop x;\}', '\{x = x binop expr; v = x;\}', '\{x = expr binop x; v = x;\}' or '\{v = x; x = expr;\}', '\{v = x; x\+\+;\}', '\{v = x; \+\+x;\}', '\{\+\+x; v = x;\}', '\{x\+\+; v = x;\}', '\{v = x; x--;\}', '\{v = x; --x;\}', '\{--x; v = x;\}', '\{x--; v = x;\}' where x is an l-value expression with scalar type
note_omp_atomic_capture
Note
OpenMP Issue
Empty Group
(expected assignment expression|expected compound statement|expected exactly two expression statements|expected in right hand side of the first expression)
err_omp_atomic_several_clauses
Error
OpenMP Issue
Empty Group
directive '#pragma omp atomic' cannot contain more than one 'read', 'write', 'update' or 'capture' clause
err_omp_several_mem_order_clauses
Error
OpenMP Issue
Empty Group
directive '#pragma omp .*' cannot contain more than one ('seq_cst', 'relaxed', |)'acq_rel', 'acquire' or 'release' clause
err_omp_atomic_incompatible_mem_order_clause
Error
OpenMP Issue
Empty Group
directive '#pragma omp atomic( .*|)' cannot be used with '.*' clause
note_omp_previous_mem_order_clause
Note
OpenMP Issue
Empty Group
'.*' clause used here
err_omp_target_contains_not_only_teams
Error
OpenMP Issue
Empty Group
target construct with nested teams region contains statements outside of the teams construct
note_omp_nested_teams_construct_here
Note
OpenMP Issue
Empty Group
nested teams construct here
note_omp_nested_statement_here
Note
OpenMP Issue
Empty Group
(statement|directive) outside teams construct here
err_omp_single_copyprivate_with_nowait
Error
OpenMP Issue
Empty Group
the 'copyprivate' clause must not be used with the 'nowait' clause
note_omp_nowait_clause_here
Note
OpenMP Issue
Empty Group
'nowait' clause is here
err_omp_single_decl_in_declare_simd_variant
Error
OpenMP Issue
Empty Group
single declaration is expected after 'declare (simd|variant)' directive
err_omp_function_expected
Error
OpenMP Issue
Empty Group
'#pragma omp declare (simd|variant)' can only be applied to functions
err_omp_wrong_cancel_region
Error
OpenMP Issue
Empty Group
one of 'for', 'parallel', 'sections' or 'taskgroup' is expected
err_omp_parent_cancel_region_nowait
Error
OpenMP Issue
Empty Group
parent region for 'omp (cancellation point|cancel)' construct cannot be nowait
err_omp_parent_cancel_region_ordered
Error
OpenMP Issue
Empty Group
parent region for 'omp (cancellation point|cancel)' construct cannot be ordered
err_omp_reduction_wrong_type
Error
OpenMP Issue
Empty Group
reduction type cannot be (qualified with 'const', 'volatile' or 'restrict'|a function|a reference|an array) type
err_omp_wrong_var_in_declare_reduction
Error
OpenMP Issue
Empty Group
only ('omp_priv' or 'omp_orig'|'omp_in' or 'omp_out') variables are allowed in (initializer|combiner) expression
err_omp_declare_reduction_redefinition
Error
OpenMP Issue
Empty Group
redefinition of user-defined reduction for type .*
err_omp_mapper_wrong_type
Error
OpenMP Issue
Empty Group
mapper type must be of struct, union or class type
err_omp_declare_mapper_wrong_var
Error
OpenMP Issue
Empty Group
only variable .* is allowed in map clauses of this 'omp declare mapper' directive
err_omp_declare_mapper_redefinition
Error
OpenMP Issue
Empty Group
redefinition of user-defined mapper for type .* with name .*
err_omp_invalid_mapper
Error
OpenMP Issue
Empty Group
cannot find a valid user-defined mapper for type .* with name .*
err_omp_array_section_use
Error
OpenMP Issue
Empty Group
OpenMP array section is not allowed here
err_omp_array_shaping_use
Error
OpenMP Issue
Empty Group
OpenMP array shaping operation is not allowed here
err_omp_iterator_use
Error
OpenMP Issue
Empty Group
OpenMP iterator is not allowed here
err_omp_typecheck_section_value
Error
OpenMP Issue
Empty Group
subscripted value is not an array or pointer
err_omp_typecheck_section_not_integer
Error
OpenMP Issue
Empty Group
array section (lower bound|length) is not an integer
err_omp_typecheck_shaping_not_integer
Error
OpenMP Issue
Empty Group
array shaping operation dimension is not an integer
err_omp_shaping_dimension_not_positive
Error
OpenMP Issue
Empty Group
array shaping dimension is evaluated to a non-positive value .*
err_omp_section_function_type
Error
OpenMP Issue
Empty Group
section of pointer to function type .*
warn_omp_section_is_char
Warning
OpenMP Issue
char-subscripts
array section (lower bound|length) is of type 'char'
err_omp_section_incomplete_type
Error
OpenMP Issue
Empty Group
section of pointer to incomplete type .*
err_omp_section_not_subset_of_array
Error
OpenMP Issue
Empty Group
array section must be a subset of the original array
err_omp_section_length_negative
Error
OpenMP Issue
Empty Group
section length is evaluated to a negative value .*
err_omp_section_stride_non_positive
Error
OpenMP Issue
Empty Group
section stride is evaluated to a non-positive value .*
err_omp_section_length_undefined
Error
OpenMP Issue
Empty Group
section length is unspecified and cannot be inferred because subscripted value is (not an array|an array of unknown bound)
err_omp_wrong_linear_modifier
Error
OpenMP Issue
Empty Group
expected ('val' modifier|one of 'ref', val' or 'uval' modifiers)
err_omp_wrong_linear_modifier_non_reference
Error
OpenMP Issue
Empty Group
variable of non-reference type .* can be used only with 'val' modifier, but used with '.*'
err_omp_wrong_simdlen_safelen_values
Error
OpenMP Issue
Empty Group
the value of 'simdlen' parameter must be less than or equal to the value of the 'safelen' parameter
err_omp_wrong_if_directive_name_modifier
Error
OpenMP Issue
Empty Group
directive name modifier '.*' is not allowed for '#pragma omp .*'
err_omp_no_more_if_clause
Error
OpenMP Issue
Empty Group
no more 'if' clause is allowed
err_omp_unnamed_if_clause
Error
OpenMP Issue
Empty Group
expected(| one of) .* directive name modifier(|s)
note_omp_previous_named_if_clause
Note
OpenMP Issue
Empty Group
previous clause with directive name modifier specified here
err_omp_ordered_directive_with_param
Error
OpenMP Issue
Empty Group
'ordered' directive (without any clauses|with 'threads' clause) cannot be closely nested inside ordered region with specified parameter
err_omp_ordered_directive_without_param
Error
OpenMP Issue
Empty Group
'ordered' directive with 'depend' clause cannot be closely nested inside ordered region without specified parameter
note_omp_ordered_param
Note
OpenMP Issue
Empty Group
'ordered' clause(| with specified parameter)
err_omp_expected_base_var_name
Error
OpenMP Issue
Empty Group
expected variable name as a base of the array (subscript|section)
err_omp_map_shared_storage
Error
OpenMP Issue
Empty Group
variable already marked as mapped in current construct
err_omp_invalid_map_type_for_directive
Error
OpenMP Issue
Empty Group
(map type '.*' is not allowed|map type must be specified) for '#pragma omp .*'
err_omp_no_clause_for_directive
Error
OpenMP Issue
Empty Group
expected at least one .* clause for '#pragma omp .*'
err_omp_threadprivate_in_clause
Error
OpenMP Issue
Empty Group
threadprivate variables are not allowed in '.*' clause
err_omp_wrong_ordered_loop_count
Error
OpenMP Issue
Empty Group
the parameter of the 'ordered' clause must be greater than or equal to the parameter of the 'collapse' clause
note_collapse_loop_count
Note
OpenMP Issue
Empty Group
parameter of the 'collapse' clause
err_omp_clauses_mutually_exclusive
Error
OpenMP Issue
Empty Group
'.*' and '.*' clause are mutually exclusive and may not appear on the same directive
note_omp_previous_clause
Note
OpenMP Issue
Empty Group
'.*' clause is specified here
err_omp_hint_clause_no_name
Error
OpenMP Issue
Empty Group
the name of the construct must be specified in presence of 'hint' clause
err_omp_critical_with_hint
Error
OpenMP Issue
Empty Group
constructs with the same name must have a 'hint' clause with the same value
note_omp_critical_hint_here
Note
OpenMP Issue
Empty Group
(|previous )'hint' clause with value '.*'
note_omp_critical_no_hint
Note
OpenMP Issue
Empty Group
(|previous )directive with no 'hint' clause specified
err_omp_depend_clause_thread_simd
Error
OpenMP Issue
Empty Group
'depend' clauses cannot be mixed with '.*' clause
err_omp_depend_sink_expected_loop_iteration
Error
OpenMP Issue
Empty Group
expected(| .*) loop iteration variable
err_omp_depend_sink_unexpected_expr
Error
OpenMP Issue
Empty Group
unexpected expression: number of expressions is larger than the number of associated loops
err_omp_depend_sink_expected_plus_minus
Error
OpenMP Issue
Empty Group
expected '\+' or '-' operation
err_omp_depend_sink_source_not_allowed
Error
OpenMP Issue
Empty Group
'depend\((source|sink:vec)\)' clause(|s) cannot be mixed with 'depend\((sink:vec|source)\)' clause(s|)
err_omp_depend_zero_length_array_section_not_allowed
Error
OpenMP Issue
Empty Group
zero-length array section is not allowed in 'depend' clause
err_omp_depend_sink_source_with_modifier
Error
OpenMP Issue
Empty Group
depend modifier cannot be used with 'sink' or 'source' depend type
err_omp_depend_modifier_not_iterator
Error
OpenMP Issue
Empty Group
expected iterator specification as depend modifier
err_omp_linear_ordered
Error
OpenMP Issue
Empty Group
'linear' clause cannot be specified along with 'ordered' clause with a parameter
err_omp_unexpected_schedule_modifier
Error
OpenMP Issue
Empty Group
modifier '.*' cannot be used along with modifier '.*'
err_omp_schedule_nonmonotonic_static
Error
OpenMP Issue
Empty Group
'nonmonotonic' modifier can only be specified with 'dynamic' or 'guided' schedule kind
err_omp_simple_clause_incompatible_with_ordered
Error
OpenMP Issue
Empty Group
'.*' clause with '.*' modifier cannot be specified if an 'ordered' clause is specified
err_omp_ordered_simd
Error
OpenMP Issue
Empty Group
'ordered' clause with a parameter can not be specified in '#pragma omp .*' directive
err_omp_variable_in_given_clause_and_dsa
Error
OpenMP Issue
Empty Group
.* variable cannot be in a .* clause in '#pragma omp .*' directive
err_omp_param_or_this_in_clause
Error
OpenMP Issue
Empty Group
expected reference to one of the parameters of function .*(| or 'this')
err_omp_expected_uniform_param
Error
OpenMP Issue
Empty Group
expected a reference to a parameter specified in a 'uniform' clause
err_omp_expected_int_param
Error
OpenMP Issue
Empty Group
expected a reference to an integer-typed parameter
err_omp_at_least_one_motion_clause_required
Error
OpenMP Issue
Empty Group
expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'
err_omp_usedeviceptr_not_a_pointer
Error
OpenMP Issue
Empty Group
expected pointer or reference to pointer in 'use_device_ptr' clause
err_omp_argument_type_isdeviceptr
Error
OpenMP Issue
Empty Group
expected pointer, array, reference to pointer, or reference to array in 'is_device_ptr clause'
warn_omp_nesting_simd
Warning
OpenMP Issue
source-uses-openmp
OpenMP only allows an ordered construct with the simd clause nested in a simd construct
err_omp_orphaned_device_directive
Error
OpenMP Issue
Empty Group
orphaned 'omp .*' directives are prohibited; perhaps you forget to enclose the directive into a (|||target |teams|for, simd, for simd, parallel for, or parallel for simd )region\?
err_omp_reduction_non_addressable_expression
Error
OpenMP Issue
Empty Group
expected addressable reduction item for the task-based directives
err_omp_reduction_with_nogroup
Error
OpenMP Issue
Empty Group
'reduction' clause cannot be used with 'nogroup' clause
err_omp_reduction_vla_unsupported
Error
OpenMP Issue
Empty Group
cannot generate code for reduction on (|array section, which requires a )variable length array
err_omp_linear_distribute_var_non_loop_iteration
Error
OpenMP Issue
Empty Group
only loop iteration variables are allowed in 'linear' clause in distribute directives
warn_omp_non_trivial_type_mapped
Warning
OpenMP Issue
openmp-mapping
Type .* is not trivially copyable and not guaranteed to be mapped correctly
err_omp_requires_clause_redeclaration
Error
OpenMP Issue
Empty Group
Only one .* clause can appear on a requires directive in a single translation unit
note_omp_requires_previous_clause
Note
OpenMP Issue
Empty Group
.* clause previously used here
err_omp_directive_before_requires
Error
OpenMP Issue
Empty Group
'.*' region encountered before requires directive with '.*' clause
note_omp_requires_encountered_directive
Note
OpenMP Issue
Empty Group
'.*' previously encountered here
err_omp_invalid_scope
Error
OpenMP Issue
Empty Group
'#pragma omp .*' directive must appear only in file scope
note_omp_invalid_length_on_this_ptr_mapping
Note
OpenMP Issue
Empty Group
expected length on mapping of 'this' array section expression to be '1'
note_omp_invalid_lower_bound_on_this_ptr_mapping
Note
OpenMP Issue
Empty Group
expected lower bound on mapping of 'this' array section expression to be '0' or not specified
note_omp_invalid_subscript_on_this_ptr_map
Note
OpenMP Issue
Empty Group
expected 'this' subscript expression on map clause to be 'this\[0\]'
err_omp_invalid_map_this_expr
Error
OpenMP Issue
Empty Group
invalid 'this' expression on 'map' clause
err_omp_implied_type_not_found
Error
OpenMP Issue
Empty Group
'.*' type not found; include <omp\.h>
err_omp_expected_omp_depend_t_lvalue
Error
OpenMP Issue
Empty Group
expected lvalue expression( of 'omp_depend_t' type, not .*|)
err_omp_depobj_expected
Error
OpenMP Issue
Empty Group
expected depobj expression
err_omp_depobj_single_clause_expected
Error
OpenMP Issue
Empty Group
exactly one of 'depend', 'destroy', or 'update' clauses is expected
err_omp_scan_single_clause_expected
Error
OpenMP Issue
Empty Group
exactly one of 'inclusive' or 'exclusive' clauses is expected
err_omp_inclusive_exclusive_not_reduction
Error
OpenMP Issue
Empty Group
the list item must appear in 'reduction' clause with the 'inscan' modifier of the parent directive
err_omp_reduction_not_inclusive_exclusive
Error
OpenMP Issue
Empty Group
the inscan reduction list item must appear as a list item in an 'inclusive' or 'exclusive' clause on an inner 'omp scan' directive
err_omp_wrong_inscan_reduction
Error
OpenMP Issue
Empty Group
'inscan' modifier can be used only in 'omp for', 'omp simd', 'omp for simd', 'omp parallel for', or 'omp parallel for simd' directive
err_omp_inscan_reduction_expected
Error
OpenMP Issue
Empty Group
expected 'reduction' clause with the 'inscan' modifier
note_omp_previous_inscan_reduction
Note
OpenMP Issue
Empty Group
'reduction' clause with 'inscan' modifier is used here
err_omp_expected_predefined_allocator
Error
OpenMP Issue
Empty Group
expected one of the predefined allocators for the variables with the static storage: 'omp_default_mem_alloc', 'omp_large_cap_mem_alloc', 'omp_const_mem_alloc', 'omp_high_bw_mem_alloc', 'omp_low_lat_mem_alloc', 'omp_cgroup_mem_alloc', 'omp_pteam_mem_alloc' or 'omp_thread_mem_alloc'
warn_omp_used_different_allocator
Warning
OpenMP Issue
openmp-clauses
allocate directive specifies (default|'.*') allocator while previously used (default|'.*')
note_omp_previous_allocator
Note
OpenMP Issue
Empty Group
previous allocator is specified here
err_expected_allocator_clause
Error
OpenMP Issue
Empty Group
expected an 'allocator' clause inside of the target region; provide an 'allocator' clause or use 'requires' directive with the 'dynamic_allocators' clause
err_expected_allocator_expression
Error
OpenMP Issue
Empty Group
expected an allocator expression inside of the target region; provide an allocator expression or use 'requires' directive with the 'dynamic_allocators' clause
warn_omp_allocate_thread_on_task_target_directive
Warning
OpenMP Issue
openmp-clauses
allocator with the 'thread' trait access has unspecified behavior on '.*' directive
err_omp_expected_private_copy_for_allocate
Error
OpenMP Issue
Empty Group
the referenced item is not found in any private clause on the same directive
err_omp_stmt_depends_on_loop_counter
Error
OpenMP Issue
Empty Group
the loop (initializer|condition) expression depends on the current loop control variable
err_omp_invariant_or_linear_dependency
Error
OpenMP Issue
Empty Group
expected loop invariant expression or '<invariant1> \* .* \+ <invariant2>' kind of expression
err_omp_wrong_dependency_iterator_type
Error
OpenMP Issue
Empty Group
expected an integer or a pointer type of the outer loop counter '.*' for non-rectangular nests
err_device_unsupported_type
Error
OpenMP Issue
Empty Group
.* requires .* bit size .* type support, but device '.*' does not support it
err_omp_lambda_capture_in_declare_target_not_to
Error
OpenMP Issue
Empty Group
variable captured in declare target region must appear in a to clause
err_omp_device_type_mismatch
Error
OpenMP Issue
Empty Group
'device_type\(.*\)' does not match previously specified 'device_type\(.*\)' for the same declaration
err_omp_wrong_device_function_call
Error
OpenMP Issue
Empty Group
function with 'device_type\(.*\)' is not available on (device|host)
note_omp_marked_device_type_here
Note
OpenMP Issue
Empty Group
marked as 'device_type\(.*\)' here
warn_omp_declare_target_after_first_use
Warning
OpenMP Issue
openmp-target
declaration marked as declare target after first use, it may lead to incorrect results
err_omp_declare_variant_incompat_attributes
Error
OpenMP Issue
Empty Group
'#pragma omp declare variant' is not compatible with any target-specific attributes
warn_omp_declare_variant_score_not_constant
Warning
OpenMP Issue
source-uses-openmp
score expressions in the OpenMP context selector need to be constant; .* is not and will be ignored
err_omp_declare_variant_user_condition_not_constant
Error
OpenMP Issue
Empty Group
the user condition in the OpenMP context selector needs to be constant; .* is not
warn_omp_declare_variant_after_used
Warning
OpenMP Issue
source-uses-openmp
'#pragma omp declare variant' cannot be applied for function after first usage; the original function might be used
warn_omp_declare_variant_after_emitted
Warning
OpenMP Issue
source-uses-openmp
'#pragma omp declare variant' cannot be applied to the function that was defined already; the original function might be used
err_omp_declare_variant_doesnt_support
Error
OpenMP Issue
Empty Group
'#pragma omp declare variant' does not support (function templates|virtual functions|deduced return types|constructors|destructors|deleted functions|defaulted functions|constexpr functions|consteval function)
err_omp_declare_variant_diff
Error
OpenMP Issue
Empty Group
function with '#pragma omp declare variant' has a different (calling convention|return type|constexpr specification|inline specification|storage class|linkage)
err_omp_declare_variant_incompat_types
Error
OpenMP Issue
Empty Group
variant in '#pragma omp declare variant' with type .* is incompatible with type .*
warn_omp_declare_variant_marked_as_declare_variant
Warning
OpenMP Issue
source-uses-openmp
variant function in '#pragma omp declare variant' is itself marked as '#pragma omp declare variant'
note_omp_marked_declare_variant_here
Note
OpenMP Issue
Empty Group
marked as 'declare variant' here
err_omp_one_defaultmap_each_category
Error
OpenMP Issue
Empty Group
at most one defaultmap clause for each variable-category can appear on the directive
err_omp_lastprivate_conditional_non_scalar
Error
OpenMP Issue
Empty Group
expected list item of scalar type in 'lastprivate' clause with 'conditional' modifier
err_omp_flush_order_clause_and_list
Error
OpenMP Issue
Empty Group
'flush' directive with memory order clause '.*' cannot have the list
note_omp_flush_order_clause_here
Note
OpenMP Issue
Empty Group
memory order clause '.*' is specified here
err_omp_non_lvalue_in_map_or_motion_clauses
Error
OpenMP Issue
Empty Group
expected addressable lvalue in '.*' clause
err_omp_var_expected
Error
OpenMP Issue
Empty Group
expected variable of the '.*' type(|, not .*)
warn_unknown_declare_variant_isa_trait
Warning
OpenMP Issue
source-uses-openmp
isa trait '.*' is not known to the current target; verify the spelling or consider restricting the context selector with the 'arch' selector further
err_omp_non_pointer_type_array_shaping_base
Error
OpenMP Issue
Empty Group
expected expression with a pointer to a complete type as a base of an array shaping operation
err_omp_reduction_task_not_parallel_or_worksharing
Error
OpenMP Issue
Empty Group
'reduction' clause with 'task' modifier allowed only on non-simd parallel or worksharing constructs
err_omp_expected_array_alloctraits
Error
OpenMP Issue
Empty Group
expected constant sized array of 'omp_alloctrait_t' elements, not .*
err_omp_predefined_allocator_with_traits
Error
OpenMP Issue
Empty Group
predefined allocator cannot have traits specified
note_omp_predefined_allocator
Note
OpenMP Issue
Empty Group
predefined trait '.*' used here
err_omp_nonpredefined_allocator_without_traits
Error
OpenMP Issue
Empty Group
non-predefined allocator must have traits specified
err_omp_allocator_used_in_clauses
Error
OpenMP Issue
Empty Group
allocators used in 'uses_allocators' clause cannot appear in other data-sharing or data-mapping attribute clauses
err_omp_allocator_not_in_uses_allocators
Error
OpenMP Issue
Empty Group
allocator must be specified in the 'uses_allocators' clause
note_omp_protected_structured_block
Note
OpenMP Issue
Empty Group
jump bypasses OpenMP structured block
note_omp_exits_structured_block
Note
OpenMP Issue
Empty Group
jump exits scope of OpenMP structured block
warn_related_result_type_compatibility_class
Warning
Related Result Type Issue
Empty Group
method is expected to return an instance of its class type (.*, but is declared to return .*|, but is declared to return different type)
warn_related_result_type_compatibility_protocol
Warning
Related Result Type Issue
Empty Group
protocol method is expected to return an instance of the implementing class, but is declared to return .*
note_related_result_type_family
Note
Related Result Type Issue
Empty Group
(overridden|current) method is part of the '(|alloc|copy|init|mutableCopy|new|autorelease|dealloc|finalize|release|retain|retainCount|self)' method family(| and is expected to return an instance of its class type)
note_related_result_type_overridden
Note
Related Result Type Issue
Empty Group
overridden method returns an instance of its class type
note_related_result_type_inferred
Note
Related Result Type Issue
Empty Group
(class|instance) method .* is assumed to return an instance of its receiver type \(.*\)
note_related_result_type_explicit
Note
Related Result Type Issue
Empty Group
(overridden|current) method is explicitly declared 'instancetype'(| and is expected to return an instance of its class type)
err_invalid_type_for_program_scope_var
Error
Related Result Type Issue
Empty Group
the .* type cannot be used to declare a program scope variable
err_module_decl_in_module_map_module
Error
Modules Issue
Empty Group
'module' declaration found while building module from module map
err_module_decl_in_header_module
Error
Modules Issue
Empty Group
'module' declaration found while building header unit
err_module_interface_implementation_mismatch
Error
Modules Issue
Empty Group
missing 'export' specifier in module declaration while building module interface
err_current_module_name_mismatch
Error
Modules Issue
Empty Group
module name '.*' specified on command line does not match name of module
err_module_redefinition
Error
Modules Issue
Empty Group
redefinition of module '.*'
note_prev_module_definition
Note
Modules Issue
Empty Group
previously defined here
note_prev_module_definition_from_ast_file
Note
Modules Issue
Empty Group
module loaded from '.*'
err_module_not_defined
Error
Modules Issue
Empty Group
definition of module '.*' is not available; use -fmodule-file= to specify path to precompiled module interface
err_module_redeclaration
Error
Modules Issue
Empty Group
translation unit contains multiple module declarations
note_prev_module_declaration
Note
Modules Issue
Empty Group
previous module declaration is here
err_module_declaration_missing
Error
Modules Issue
Empty Group
missing 'export module' declaration in module interface unit
err_module_declaration_missing_after_global_module_introducer
Error
Modules Issue
Empty Group
missing 'module' declaration at end of global module fragment introduced here
err_module_private_specialization
Error
Modules Issue
Empty Group
(template|partial|member) specialization cannot be declared __module_private__
err_module_private_local
Error
Modules Issue
Empty Group
(local variable|parameter|typedef) .* cannot be declared __module_private__
err_module_private_local_class
Error
Modules Issue
Empty Group
local (struct|interface|union|class|enum) cannot be declared __module_private__
err_module_unimported_use
Error
Modules Issue
Empty Group
(declaration|definition|default argument|explicit specialization|partial specialization) of .* must be imported from module '.*' before it is required
err_module_unimported_use_header
Error
Modules Issue
Empty Group
(missing '#include'|missing '#include .*'); (||default argument of |explicit specialization of |partial specialization of ).* must be (declared|defined|defined|declared|declared) before it is used
err_module_unimported_use_multiple
Error
Modules Issue
Empty Group
(declaration|definition|default argument|explicit specialization|partial specialization) of .* must be imported from one of the following modules before it is required:.*
note_unreachable_entity
Note
Modules Issue
Empty Group
(declaration|definition|default argument declared|explicit specialization declared|partial specialization declared) here is not (visible|reachable|reachable|reachable|reachable|reachable)
ext_module_import_in_extern_c
ExtWarn
Modules Issue
module-import-in-extern-c
import of C\+\+ module '.*' appears within extern \"C\" language linkage specification
err_module_import_not_at_top_level_fatal
Error
Modules Issue
Empty Group
import of module '.*' appears within .*
ext_module_import_not_at_top_level_noop
ExtWarn
Modules Issue
modules-import-nested-redundant
redundant #include of module '.*' appears within .*
note_module_import_not_at_top_level
Note
Modules Issue
Empty Group
.* begins here
err_module_self_import
Error
Modules Issue
Empty Group
import of module '.*' appears within same top-level module '.*'
err_module_import_in_implementation
Error
Modules Issue
Empty Group
@import of module '.*' in implementation of '.*'; use #import
err_module_decl_not_at_start
Error
Modules Issue
Empty Group
module declaration must occur at the start of the translation unit
note_global_module_introducer_missing
Note
Modules Issue
Empty Group
add 'module;' to the start of the file to introduce a global module fragment
err_export_within_anonymous_namespace
Error
Modules Issue
Empty Group
export declaration appears within anonymous namespace
note_anonymous_namespace
Note
Modules Issue
Empty Group
anonymous namespace begins here
ext_export_no_name_block
ExtWarn
Modules Issue
export-unnamed
ISO C\+\+20 does not permit (an empty|a static_assert) declaration to appear in an export block
ext_export_no_names
ExtWarn
Modules Issue
export-unnamed
ISO C\+\+20 does not permit a declaration that does not introduce any names to be exported
note_export
Note
Modules Issue
Empty Group
export block begins here
err_export_no_name
Error
Modules Issue
Empty Group
(empty|static_assert|asm) declaration cannot be exported
ext_export_using_directive
ExtWarn
Modules Issue
export-using-directive
ISO C\+\+20 does not permit using directive to be exported
err_export_within_export
Error
Modules Issue
Empty Group
export declaration appears within another export declaration
err_export_internal
Error
Modules Issue
Empty Group
declaration of .* with internal linkage cannot be exported
err_export_using_internal
Error
Modules Issue
Empty Group
using declaration referring to .* with internal linkage cannot be exported
err_export_not_in_module_interface
Error
Modules Issue
Empty Group
export declaration can only be used within a module interface unit( after the module declaration|)
err_export_in_private_module_fragment
Error
Modules Issue
Empty Group
export declaration cannot be used in a private module fragment
note_private_module_fragment
Note
Modules Issue
Empty Group
private module fragment begins here
err_private_module_fragment_not_module
Error
Modules Issue
Empty Group
private module fragment declaration with no preceding module declaration
err_private_module_fragment_redefined
Error
Modules Issue
Empty Group
private module fragment redefined
err_private_module_fragment_not_module_interface
Error
Modules Issue
Empty Group
private module fragment in module implementation unit
note_not_module_interface_add_export
Note
Modules Issue
Empty Group
add 'export' here if this is intended to be a module interface unit
ext_equivalent_internal_linkage_decl_in_modules
ExtWarn
Modules Issue
modules-ambiguous-internal-linkage
ambiguous use of internal linkage declaration .* defined in multiple modules
note_equivalent_internal_linkage_decl
Note
Modules Issue
Empty Group
declared here( in module '.*'|)
note_redefinition_modules_same_file
Note
Modules Issue
Empty Group
'.*' included multiple times, additional include site in header from module '.*'
note_redefinition_include_same_file
Note
Modules Issue
Empty Group
'.*' included multiple times, additional include site here
err_return_in_coroutine
Error
Coroutines Issue
Empty Group
return statement not allowed in coroutine; did you mean 'co_return'\?
note_declared_coroutine_here
Note
Coroutines Issue
Empty Group
function is a coroutine due to use of '.*' here
err_coroutine_objc_method
Error
Coroutines Issue
Empty Group
Objective-C methods as coroutines are not yet supported
err_coroutine_unevaluated_context
Error
Coroutines Issue
Empty Group
'.*' cannot be used in an unevaluated context
err_coroutine_within_handler
Error
Coroutines Issue
Empty Group
'.*' cannot be used in the handler of a try block
err_coroutine_outside_function
Error
Coroutines Issue
Empty Group
'.*' cannot be used outside a function
err_coroutine_invalid_func_context
Error
Coroutines Issue
Empty Group
'.*' cannot be used in (a constructor|a destructor|the 'main' function|a constexpr function|a function with a deduced return type|a varargs function|a consteval function)
err_implied_coroutine_type_not_found
Error
Coroutines Issue
Empty Group
.* type was not found; include <experimental/coroutine> before defining a coroutine
err_implicit_coroutine_std_nothrow_type_not_found
Error
Coroutines Issue
Empty Group
std::nothrow was not found; include <new> before defining a coroutine which uses get_return_object_on_allocation_failure\(\)
err_malformed_std_nothrow
Error
Coroutines Issue
Empty Group
std::nothrow must be a valid variable declaration
err_malformed_std_coroutine_handle
Error
Coroutines Issue
Empty Group
std::experimental::coroutine_handle must be a class template
err_coroutine_handle_missing_member
Error
Coroutines Issue
Empty Group
std::experimental::coroutine_handle missing a member named '.*'
err_malformed_std_coroutine_traits
Error
Coroutines Issue
Empty Group
'std::experimental::coroutine_traits' must be a class template
err_implied_std_coroutine_traits_promise_type_not_found
Error
Coroutines Issue
Empty Group
this function cannot be a coroutine: .* has no member named 'promise_type'
err_implied_std_coroutine_traits_promise_type_not_class
Error
Coroutines Issue
Empty Group
this function cannot be a coroutine: .* is not a class
err_coroutine_promise_type_incomplete
Error
Coroutines Issue
Empty Group
this function cannot be a coroutine: .* is an incomplete type
err_coroutine_type_missing_specialization
Error
Coroutines Issue
Empty Group
this function cannot be a coroutine: missing definition of specialization .*
err_coroutine_promise_incompatible_return_functions
Error
Coroutines Issue
Empty Group
the coroutine promise type .* declares both 'return_value' and 'return_void'
err_coroutine_promise_requires_return_function
Error
Coroutines Issue
Empty Group
the coroutine promise type .* must declare either 'return_value' or 'return_void'
note_coroutine_promise_implicit_await_transform_required_here
Note
Coroutines Issue
Empty Group
call to 'await_transform' implicitly required by 'co_await' here
note_coroutine_promise_suspend_implicitly_required
Note
Coroutines Issue
Empty Group
call to '(initial_suspend|final_suspend)' implicitly required by the (initial suspend point|final suspend point)
err_coroutine_promise_unhandled_exception_required
Error
Coroutines Issue
Empty Group
.* is required to declare the member 'unhandled_exception\(\)'
warn_coroutine_promise_unhandled_exception_required_with_exceptions
Warning
Coroutines Issue
coroutine-missing-unhandled-exception
.* is required to declare the member 'unhandled_exception\(\)' when exceptions are enabled
err_coroutine_promise_get_return_object_on_allocation_failure
Error
Coroutines Issue
Empty Group
.*: 'get_return_object_on_allocation_failure\(\)' must be a static member function
err_seh_in_a_coroutine_with_cxx_exceptions
Error
Coroutines Issue
Empty Group
cannot use SEH '__try' in a coroutine when C\+\+ exceptions are enabled
err_coroutine_promise_new_requires_nothrow
Error
Coroutines Issue
Empty Group
.* is required to have a non-throwing noexcept specification when the promise type declares 'get_return_object_on_allocation_failure\(\)'
note_coroutine_promise_call_implicitly_required
Note
Coroutines Issue
Empty Group
call to .* implicitly required by coroutine function here
err_await_suspend_invalid_return_type
Error
Coroutines Issue
Empty Group
return type of 'await_suspend' is required to be 'void' or 'bool' \(have .*\)
note_await_ready_no_bool_conversion
Note
Coroutines Issue
Empty Group
return type of 'await_ready' is required to be contextually convertible to 'bool'
warn_coroutine_handle_address_invalid_return_type
Warning
Coroutines Issue
coroutine
return type of 'coroutine_handle<>::address should be 'void\*' \(have .*\) in order to get capability with existing async C API\.
err_coroutine_promise_final_suspend_requires_nothrow
Error
Coroutines Issue
Empty Group
the expression 'co_await __promise\.final_suspend\(\)' is required to be non-throwing
note_coroutine_function_declare_noexcept
Note
Coroutines Issue
Empty Group
must be declared with 'noexcept'
warn_not_a_doxygen_trailing_member_comment
Warning
Documentation Issue
documentation
not a Doxygen trailing comment
warn_mismatched_nullability_attr
Warning
Nullability Issue
nullability
nullability specifier .* conflicts with existing specifier .*
warn_nullability_declspec
Warning
Nullability Issue
nullability-declspec
nullability specifier .* cannot be applied to non-pointer type .*; did you mean to apply the specifier to the (pointer|block pointer|member pointer|function pointer|member function pointer)\?
note_nullability_here
Note
Nullability Issue
Empty Group
.* specified here
err_nullability_nonpointer
Error
Nullability Issue
Empty Group
nullability specifier .* cannot be applied to non-pointer type .*
warn_nullability_lost
Warning
Nullability Issue
nullable-to-nonnull-conversion
implicit conversion from nullable pointer .* to non-nullable pointer type .*
warn_zero_as_null_pointer_constant
Warning
Nullability Issue
zero-as-null-pointer-constant
zero as null pointer constant
err_nullability_cs_multilevel
Error
Nullability Issue
Empty Group
nullability keyword .* cannot be applied to multi-level pointer type .*
note_nullability_type_specifier
Note
Nullability Issue
Empty Group
use nullability type specifier .* to affect the innermost pointer type of .*
warn_null_resettable_setter
Warning
Nullability Issue
nullability
synthesized setter .* for null_resettable property .* does not handle nil
warn_nullability_missing
Warning
Nullability Issue
nullability-completeness
(pointer|block pointer|member pointer) is missing a nullability type specifier \(_Nonnull, _Nullable, or _Null_unspecified\)
warn_nullability_missing_array
Warning
Nullability Issue
nullability-completeness-on-arrays
array parameter is missing a nullability type specifier \(_Nonnull, _Nullable, or _Null_unspecified\)
note_nullability_fix_it
Note
Nullability Issue
Empty Group
insert '(_Nonnull|_Nullable|_Null_unspecified)' if the (pointer|block pointer|member pointer|array parameter) (should never be null|may be null|should not declare nullability)
warn_nullability_inferred_on_nested_type
Warning
Nullability Issue
nullability-inferred-on-nested-type
inferring '_Nonnull' for pointer type within (array|reference) is deprecated
err_objc_type_arg_explicit_nullability
Error
Nullability Issue
Empty Group
type argument .* cannot explicitly specify nullability
err_objc_type_param_bound_explicit_nullability
Error
Nullability Issue
Empty Group
type parameter .* bound .* cannot explicitly specify nullability
err_objc_type_param_bound_nonobject
Error
Generics Issue
Empty Group
type bound .* for type parameter .* is not an Objective-C pointer type
err_objc_type_param_bound_missing_pointer
Error
Generics Issue
Empty Group
missing '\*' in type bound .* for type parameter .*
err_objc_type_param_bound_qualified
Error
Generics Issue
Empty Group
type bound .* for type parameter .* cannot be qualified with '.*'
err_objc_type_param_redecl
Error
Generics Issue
Empty Group
redeclaration of type parameter .*
err_objc_type_param_arity_mismatch
Error
Generics Issue
Empty Group
(forward class declaration|class definition|category|extension) has too (few|many) type parameters \(expected .*, have .*\)
err_objc_type_param_bound_conflict
Error
Generics Issue
Empty Group
type bound .* for type parameter .* conflicts with (implicit|previous) bound .*(for type parameter .*|)
err_objc_type_param_variance_conflict
Error
Generics Issue
Empty Group
(in|co|contra)variant type parameter .* conflicts with previous (in|co|contra)variant type parameter .*
note_objc_type_param_here
Note
Generics Issue
Empty Group
type parameter .* declared here
err_objc_type_param_bound_missing
Error
Generics Issue
Empty Group
missing type bound .* for type parameter .* in (@interface|@class)
err_objc_parameterized_category_nonclass
Error
Generics Issue
Empty Group
(extension|category) of non-parameterized class .* cannot have type parameters
err_objc_parameterized_forward_class
Error
Generics Issue
Empty Group
forward declaration of non-parameterized class .* cannot have type parameters
err_objc_parameterized_forward_class_first
Error
Generics Issue
Empty Group
class .* previously declared with type parameters
err_objc_type_arg_missing_star
Error
Generics Issue
Empty Group
type argument .* must be a pointer \(requires a '\*'\)
err_objc_type_arg_qualified
Error
Generics Issue
Empty Group
type argument .* cannot be qualified with '.*'
err_objc_type_arg_missing
Error
Generics Issue
Empty Group
no type or protocol named .*
err_objc_type_args_and_protocols
Error
Generics Issue
Empty Group
angle brackets contain both a (type|protocol) \(.*\) and a (protocol|type) \(.*\)
err_objc_type_args_non_class
Error
Generics Issue
Empty Group
type arguments cannot be applied to non-class type .*
err_objc_type_args_non_parameterized_class
Error
Generics Issue
Empty Group
type arguments cannot be applied to non-parameterized class .*
err_objc_type_args_specialized_class
Error
Generics Issue
Empty Group
type arguments cannot be applied to already-specialized class type .*
err_objc_type_args_wrong_arity
Error
Generics Issue
Empty Group
too (many|few) type arguments for class .* \(have .*, expected .*\)
err_objc_type_arg_not_id_compatible
Error
Empty Category
Empty Group
type argument .* is neither an Objective-C object nor a block type
err_objc_type_arg_does_not_match_bound
Error
Empty Category
Empty Group
type argument .* does not satisfy the bound \(.*\) of type parameter .*
warn_objc_redundant_qualified_class_type
Warning
Empty Category
objc-protocol-qualifiers
parameterized class .* already conforms to the protocols listed; did you forget a '\*'\?
warn_block_literal_attributes_on_omitted_return_type
Warning
Empty Category
ignored-attributes
attribute .* ignored, because it cannot be applied to omitted return type
warn_block_literal_qualifiers_on_omitted_return_type
Warning
Empty Category
ignored-qualifiers
'.*' qualifier on omitted return type .* has no effect
warn_shadow_field
Warning
Empty Category
shadow-field
(parameter|non-static data member) .* (|of .* )shadows member inherited from type .*
note_shadow_field
Note
Empty Category
Empty Group
declared here
err_multiversion_required_in_redecl
Error
Empty Category
Empty Group
function declaration is missing ('target'|'cpu_specific' or 'cpu_dispatch') attribute in a multiversioned function
note_multiversioning_caused_here
Note
Empty Category
Empty Group
function multiversioning caused by this declaration
err_multiversion_after_used
Error
Empty Category
Empty Group
function declaration cannot become a multiversioned function after first usage
err_bad_multiversion_option
Error
Empty Category
Empty Group
function multiversioning doesn't support (feature|architecture) '.*'
err_multiversion_duplicate
Error
Empty Category
Empty Group
multiversioned function redeclarations require identical target attributes
err_multiversion_noproto
Error
Empty Category
Empty Group
multiversioned function must have a prototype
err_multiversion_disallowed_other_attr
Error
Empty Category
Empty Group
attribute '(target|cpu_specific|cpu_dispatch)' multiversioning cannot be combined with attribute .*
err_multiversion_mismatched_attrs
Error
Empty Category
Empty Group
attributes on multiversioned functions must all match, attribute .* (is missing|has different arguments)
err_multiversion_diff
Error
Empty Category
Empty Group
multiversioned function declaration has a different (calling convention|return type|constexpr specification|inline specification|storage class|linkage)
err_multiversion_doesnt_support
Error
Empty Category
Empty Group
attribute '(target|cpu_specific|cpu_dispatch)' multiversioned functions do not yet support (function templates|virtual functions|deduced return types|constructors|destructors|deleted functions|defaulted functions|constexpr functions|consteval function)
err_multiversion_not_allowed_on_main
Error
Empty Category
Empty Group
'main' cannot be a multiversioned function
err_multiversion_not_supported
Error
Empty Category
Empty Group
function multiversioning is not supported on the current target
err_multiversion_types_mixed
Error
Empty Category
Empty Group
multiversioning attributes cannot be combined
err_cpu_dispatch_mismatch
Error
Empty Category
Empty Group
'cpu_dispatch' function redeclared with different CPUs
err_cpu_specific_multiple_defs
Error
Empty Category
Empty Group
multiple 'cpu_specific' functions cannot specify the same CPU: .*
warn_multiversion_duplicate_entries
Warning
Empty Category
function-multiversion
CPU list contains duplicate entries; attribute ignored
warn_dispatch_body_ignored
Warning
Empty Category
function-multiversion
body of cpu_dispatch function will be ignored
err_implied_comparison_category_type_not_found
Error
Empty Category
Empty Group
cannot (use builtin operator '<=>'|default 'operator<=>') because type '.*' was not found; include <compare>
err_spaceship_argument_narrowing
Error
Empty Category
Empty Group
argument to 'operator<=>' (cannot be narrowed from type .* to .*|evaluates to .*, which cannot be narrowed to type .*)
err_std_compare_type_not_supported
Error
Empty Category
Empty Group
standard library implementation of .* is not supported; (member '.*' does not have expected form|member '.*' is missing|the type is not trivially copyable|the type does not have the expected form)
note_rewriting_operator_as_spaceship
Note
Empty Category
Empty Group
while rewriting comparison as call to 'operator<=>' declared here
err_three_way_vector_comparison
Error
Empty Category
Empty Group
three-way comparison between vectors is not supported
err_memtag_arg_null_or_pointer
Error
Empty Category
Empty Group
.* argument of MTE builtin function must be a null or a pointer \(.* invalid\)
err_memtag_any2arg_pointer
Error
Empty Category
Empty Group
at least one argument of MTE builtin function must be a pointer \(.*, .* invalid\)
err_memtag_arg_must_be_pointer
Error
Empty Category
Empty Group
.* argument of MTE builtin function must be a pointer \(.* invalid\)
err_memtag_arg_must_be_integer
Error
Empty Category
Empty Group
.* argument of MTE builtin function must be an integer type \(.* invalid\)
warn_dereference_of_noderef_type
Warning
Empty Category
noderef
dereferencing .*; was declared with a 'noderef' type
warn_dereference_of_noderef_type_no_decl
Warning
Empty Category
noderef
dereferencing expression marked as 'noderef'
warn_noderef_on_non_pointer_or_array
Warning
Empty Category
ignored-attributes
'noderef' can only be used on an array or pointer type
warn_noderef_to_dereferenceable_pointer
Warning
Empty Category
noderef
casting to dereferenceable pointer removes 'noderef' attribute
err_builtin_launder_invalid_arg
Error
Empty Category
Empty Group
(non-pointer|function pointer|void pointer) argument to '__builtin_launder' is not allowed
err_builtin_matrix_disabled
Error
Empty Category
Empty Group
matrix types extension is disabled\. Pass -fenable-matrix to enable it
err_matrix_index_not_integer
Error
Empty Category
Empty Group
matrix (row|column) index is not an integer
err_matrix_index_outside_range
Error
Empty Category
Empty Group
matrix (row|column) index is outside the allowed range \[0, .*\)
err_matrix_incomplete_index
Error
Empty Category
Empty Group
single subscript expressions are not allowed for matrix values
err_matrix_separate_incomplete_index
Error
Empty Category
Empty Group
matrix row and column subscripts cannot be separated by any expression
err_matrix_subscript_comma
Error
Empty Category
Empty Group
comma expressions are not allowed as indices in matrix subscript expressions
err_builtin_matrix_arg
Error
Empty Category
Empty Group
1st argument must be a matrix
err_builtin_matrix_scalar_unsigned_arg
Error
Empty Category
Empty Group
.* argument must be a constant unsigned integer expression
err_builtin_matrix_pointer_arg
Error
Empty Category
Empty Group
.* argument must be a pointer to a valid matrix element type
err_builtin_matrix_pointer_arg_mismatch
Error
Empty Category
Empty Group
the pointee of the 2nd argument must match the element type of the 1st argument \(.* != .*\)
err_builtin_matrix_store_to_const
Error
Empty Category
Empty Group
cannot store matrix to read-only pointer
err_builtin_matrix_stride_too_small
Error
Empty Category
Empty Group
stride must be greater or equal to the number of rows
err_builtin_matrix_invalid_dimension
Error
Empty Category
Empty Group
.* dimension is outside the allowed range \[1, .*\]
warn_mismatched_import
Warning
Empty Category
ignored-attributes
import (module|name) \(.*\) does not match the import (module|name) \(.*\) of the previous declaration
warn_import_on_definition
Warning
Empty Category
ignored-attributes
import (module|name) cannot be applied to a function with a definition
err_preserve_field_info_not_field
Error
Empty Category
Empty Group
__builtin_preserve_field_info argument .* not a field access
err_preserve_field_info_not_const
Error
Empty Category
Empty Group
__builtin_preserve_field_info argument .* not a constant
err_btf_type_id_not_const
Error
Empty Category
Empty Group
__builtin_btf_type_id argument .* not a constant
err_preserve_type_info_invalid
Error
Empty Category
Empty Group
__builtin_preserve_type_info argument .* invalid
err_preserve_type_info_not_const
Error
Empty Category
Empty Group
__builtin_preserve_type_info argument .* not a constant
err_preserve_enum_value_invalid
Error
Empty Category
Empty Group
__builtin_preserve_enum_value argument .* invalid
err_preserve_enum_value_not_const
Error
Empty Category
Empty Group
__builtin_preserve_enum_value argument .* not a constant
err_bit_cast_non_trivially_copyable
Error
Empty Category
Empty Group
__builtin_bit_cast (source|destination) type must be trivially copyable
err_bit_cast_type_size_mismatch
Error
Empty Category
Empty Group
__builtin_bit_cast source size does not equal destination size \(.* vs .*\)
warn_sycl_kernel_num_of_template_params
Warning
Empty Category
ignored-attributes
'sycl_kernel' attribute only applies to a function template with at least two template parameters
warn_sycl_kernel_invalid_template_param_type
Warning
Empty Category
ignored-attributes
template parameter of a function template with the 'sycl_kernel' attribute cannot be a non-type template parameter
warn_sycl_kernel_num_of_function_params
Warning
Empty Category
ignored-attributes
function template with 'sycl_kernel' attribute must have a single parameter
warn_sycl_kernel_return_type
Warning
Empty Category
ignored-attributes
function template with 'sycl_kernel' attribute must have a 'void' return type
err_ext_int_bad_size
Error
Empty Category
Empty Group
(signed|unsigned) _ExtInt must have a bit size of at least (2|1)
err_ext_int_max_size
Error
Empty Category
Empty Group
(signed|unsigned) _ExtInt of bit sizes greater than .* not supported
err_probability_not_constant_float
Error
Empty Category
Empty Group
probability argument to __builtin_expect_with_probability must be constant floating-point expression
err_probability_out_of_range
Error
Empty Category
Empty Group
probability argument to __builtin_expect_with_probability is outside the range \[0\.0, 1\.0\]
err_fe_unable_to_read_pch_file
Error
AST Deserialization Issue
Empty Group
unable to read PCH file .*: '.*'
err_fe_not_a_pch_file
Error
AST Deserialization Issue
Empty Group
input is not a PCH file: '.*'
err_fe_pch_malformed
Error
AST Deserialization Issue
Empty Group
malformed or corrupted AST file: '.*'
err_fe_pch_malformed_block
Error
AST Deserialization Issue
Empty Group
malformed block record in PCH file: '.*'
err_fe_pch_file_modified
Error
AST Deserialization Issue
Empty Group
file '.*' has been modified since the precompiled header '.*' was built: (size|mtime|content) changed
err_fe_module_file_modified
Error
AST Deserialization Issue
Empty Group
file '.*' has been modified since the module file '.*' was built: (size|mtime|content) changed
err_fe_ast_file_modified
Error
AST Deserialization Issue
Empty Group
file '.*' has been modified since the AST file '.*' was built: (size|mtime|content) changed
err_fe_pch_file_overridden
Error
AST Deserialization Issue
Empty Group
file '.*' from the precompiled header has been overridden
note_pch_required_by
Note
AST Deserialization Issue
Empty Group
'.*' required by '.*'
note_pch_rebuild_required
Note
AST Deserialization Issue
Empty Group
please rebuild precompiled header '.*'
note_module_cache_path
Note
AST Deserialization Issue
Empty Group
after modifying system headers, please delete the module cache at '.*'
err_pch_targetopt_mismatch
Error
AST Deserialization Issue
Empty Group
PCH file was compiled for the .* '.*' but the current translation unit is being compiled for target '.*'
err_pch_targetopt_feature_mismatch
Error
AST Deserialization Issue
Empty Group
(AST file was|current translation unit is) compiled with the target feature '.*' but the (current translation unit is|AST file was) not
err_pch_langopt_mismatch
Error
AST Deserialization Issue
Empty Group
.* was (disabled|enabled) in PCH file but is currently (disabled|enabled)
err_pch_langopt_value_mismatch
Error
AST Deserialization Issue
Empty Group
.* differs in PCH file vs\. current file
err_pch_diagopt_mismatch
Error
AST Deserialization Issue
Empty Group
.* is currently enabled, but was not in the PCH file
err_pch_modulecache_mismatch
Error
AST Deserialization Issue
Empty Group
PCH was compiled with module cache path '.*', but the path is currently '.*'
err_pch_version_too_old
Error
AST Deserialization Issue
Empty Group
PCH file uses an older PCH format that is no longer supported
err_pch_version_too_new
Error
AST Deserialization Issue
Empty Group
PCH file uses a newer PCH format that cannot be read
err_pch_different_branch
Error
AST Deserialization Issue
Empty Group
PCH file built from a different branch \(.*\) than the compiler \(.*\)
err_pch_with_compiler_errors
Error
AST Deserialization Issue
Empty Group
PCH file contains compiler errors
err_module_file_conflict
Error
AST Deserialization Issue
Empty Group
module '.*' is defined in both '.*' and '.*'
err_module_file_not_found
Error
AST Deserialization Issue
Empty Group
(PCH|module|AST) file '.*' not found(|: .*)
err_module_file_out_of_date
Error
AST Deserialization Issue
Empty Group
(PCH|module|AST) file '.*' is out of date and needs to be rebuilt(|: .*)
err_module_file_invalid
Error
AST Deserialization Issue
Empty Group
file '.*' is not a valid precompiled (PCH|module|AST) file
note_module_file_imported_by
Note
AST Deserialization Issue
Empty Group
imported by (|module '.*' in )'.*'
err_module_file_not_module
Error
AST Deserialization Issue
Empty Group
AST file '.*' was not built as a module
err_module_file_missing_top_level_submodule
Error
AST Deserialization Issue
Empty Group
module file '.*' is missing its top-level submodule
remark_module_import
Remark
AST Deserialization Issue
module-import
importing module '.*'(| into '.*') from '.*'
err_imported_module_not_found
Error
AST Deserialization Issue
Empty Group
module '.*' in AST file '.*' (\(imported by AST file '.*'\) |)is not defined in any loaded module map file; maybe you need to load '.*'\?
note_imported_by_pch_module_not_found
Note
AST Deserialization Issue
Empty Group
consider adding '.*' to the header search path
err_imported_module_modmap_changed
Error
AST Deserialization Issue
Empty Group
module '.*' (in|imported by) AST file '.*' found in a different module map file \(.*\) than when the importing AST file was built \(.*\)
err_imported_module_relocated
Error
AST Deserialization Issue
Empty Group
module '.*' was built in directory '.*' but now resides in directory '.*'
err_module_different_modmap
Error
AST Deserialization Issue
Empty Group
module '.*' (uses|does not use) additional module map '.*'(| not) used when the module was built
err_pch_macro_def_undef
Error
AST Deserialization Issue
Empty Group
macro '.*' was (defined|undef'd) in the precompiled header but (undef'd|defined) on the command line
err_pch_macro_def_conflict
Error
AST Deserialization Issue
Empty Group
definition of macro '.*' differs between the precompiled header \('.*'\) and the command line \('.*'\)
err_pch_undef
Error
AST Deserialization Issue
Empty Group
(command line contains|precompiled header was built with) '-undef' but (precompiled header was not built with it|it is not present on the command line)
err_pch_pp_detailed_record
Error
AST Deserialization Issue
Empty Group
(command line contains|precompiled header was built with) '-detailed-preprocessing-record' but (precompiled header was not built with it|it is not present on the command line)
err_module_odr_violation_missing_decl
Error
AST Deserialization Issue
Empty Group
.* from module '.*' is not present in definition of .*( in module '.*'| provided earlier)
note_module_odr_violation_no_possible_decls
Note
AST Deserialization Issue
Empty Group
definition has no member .*
note_module_odr_violation_possible_decl
Note
AST Deserialization Issue
Empty Group
declaration of .* does not match
err_module_odr_violation_different_definitions
Error
AST Deserialization Issue
Empty Group
.* has different definitions in different modules; (definition in module '.*' is here|defined here)
note_first_module_difference
Note
AST Deserialization Issue
Empty Group
in first definition, possible difference is here
note_module_odr_violation_different_definitions
Note
AST Deserialization Issue
Empty Group
definition in module '.*' is here
note_second_module_difference
Note
AST Deserialization Issue
Empty Group
in second definition, possible difference is here
err_module_odr_violation_different_instantiations
Error
AST Deserialization Issue
Empty Group
instantiation of .* is different in different modules
err_module_odr_violation_definition_data
Error
AST Deserialization Issue
Empty Group
.* has different definitions in different modules; first difference is (definition in module '.*'|defined here) found (.* base (class|classes)|.* virtual base (class|classes)|.* base class with type .*|.* (non-virtual|virtual) base class .*|.* base class .* with (public|protected|private|no) access specifier)
note_module_odr_violation_definition_data
Note
AST Deserialization Issue
Empty Group
but in '.*' found (.* base (class|classes)|.* virtual base (class|classes)|.* base class with different type .*|.* (non-virtual|virtual) base class .*|.* base class .* with (public|protected|private|no) access specifier)
err_module_odr_violation_template_parameter
Error
AST Deserialization Issue
Empty Group
.* has different definitions in different modules; first difference is (definition in module '.*'|defined here) found (unnamed template parameter|template parameter .*|template parameter with (no |)default argument|template parameter with default argument)
note_module_odr_violation_template_parameter
Note
AST Deserialization Issue
Empty Group
but in '.*' found (unnamed template parameter .*|template parameter .*|template parameter with (no |)default argument|template parameter with different default argument)
err_module_odr_violation_mismatch_decl
Error
AST Deserialization Issue
Empty Group
.* has different definitions in different modules; first difference is (definition in module '.*'|defined here) found (end of class|public access specifier|private access specifier|protected access specifier|static assert|field|method|type alias|typedef|data member|friend declaration|function template)
note_module_odr_violation_mismatch_decl
Note
AST Deserialization Issue
Empty Group
but in '.*' found (end of class|public access specifier|private access specifier|protected access specifier|static assert|field|method|type alias|typedef|data member|friend declaration|function template)
err_module_odr_violation_mismatch_decl_diff
Error
AST Deserialization Issue
Empty Group
.* has different definitions in different modules; first difference is (definition in module '.*'|defined here) found (static assert with condition|static assert with message|static assert with (|no )message|field .*|field .* with type .*|(non-|)bitfield .*|bitfield .* with one width expression|(non-|)mutable field .*|field .* with (no|an) initalizer|field .* with an initializer|(method .*|constructor|destructor)|(method .*|constructor|destructor) is (not deleted|deleted)|(method .*|constructor|destructor) is (not defaulted|defaulted)|(method .*|constructor|destructor) is (|pure )(not virtual|virtual)|(method .*|constructor|destructor) is (not static|static)|(method .*|constructor|destructor) is (not volatile|volatile)|(method .*|constructor|destructor) is (not const|const)|(method .*|constructor|destructor) is (not inline|inline)|(method .*|constructor|destructor) that has .* parameter.*|(method .*|constructor|destructor) with .* parameter of type .*(| decayed from .*)|(method .*|constructor|destructor) with .* parameter named .*|(method .*|constructor|destructor) with .* parameter with(out|) a default argument|(method .*|constructor|destructor) with .* parameter with a default argument|(method .*|constructor|destructor) with (no |)template arguments|(method .*|constructor|destructor) with .* template argument.*|(method .*|constructor|destructor) with .* for .* template argument|(method .*|constructor|destructor) with (no body|body)|(method .*|constructor|destructor) with body|(typedef|type alias) name .*|(typedef|type alias) .* with underlying type .*|data member with name .*|data member .* with type .*|data member .* with(out|) an initializer|data member .* with an initializer|data member .* (is constexpr|is not constexpr)|friend (class|function)|friend .*|friend function .*|function template .* with .* template parameter.*|function template .* with .* template parameter being a (type|non-type|template) template parameter|function template .* with .* template parameter (with no name|named .*)|function template .* with .* template parameter with (no |)default argument|function template .* with .* template parameter with default argument .*|function template .* with .* template parameter with one type|function template .* with .* template parameter (not |)being a template parameter pack|)
note_module_odr_violation_mismatch_decl_diff
Note
AST Deserialization Issue
Empty Group
but in '.*' found (static assert with different condition|static assert with different message|static assert with (|no )message|field .*|field .* with type .*|(non-|)bitfield .*|bitfield .* with different width expression|(non-|)mutable field .*|field .* with (no|an) initializer|field .* with a different initializer|(method .*|constructor|destructor)|(method .*|constructor|destructor) is (not deleted|deleted)|(method .*|constructor|destructor) is (not defaulted|defaulted)|(method .*|constructor|destructor) is (|pure )(not virtual|virtual)|(method .*|constructor|destructor) is (not static|static)|(method .*|constructor|destructor) is (not volatile|volatile)|(method .*|constructor|destructor) is (not const|const)|(method .*|constructor|destructor) is (not inline|inline)|(method .*|constructor|destructor) that has .* parameter.*|(method .*|constructor|destructor) with .* parameter of type .*(| decayed from .*)|(method .*|constructor|destructor) with .* parameter named .*|(method .*|constructor|destructor) with .* parameter with(out|) a default argument|(method .*|constructor|destructor) with .* parameter with a different default argument|(method .*|constructor|destructor) with (no |)template arguments|(method .*|constructor|destructor) with .* template argument.*|(method .*|constructor|destructor) with .* for .* template argument|(method .*|constructor|destructor) with (no body|body)|(method .*|constructor|destructor) with different body|(typedef|type alias) name .*|(typedef|type alias) .* with different underlying type .*|data member with name .*|data member .* with different type .*|data member .* with(out|) an initializer|data member .* with a different initializer|data member .* (is constexpr|is not constexpr)|friend (class|function)|friend .*|friend function .*|function template .* with .* template parameter.*|function template .* with .* template paramter being a (type|non-type|template) template parameter|function template .* with .* template parameter (with no name|named .*)|function template .* with .* template parameter with (no |)default argument|function template .* with .* template parameter with default argument .*|function template .* with .* template parameter with different type|function template .* with .* template parameter (not |)being a template parameter pack|)
err_module_odr_violation_function
Error
AST Deserialization Issue
Empty Group
.* has different definitions in different modules; (definition in module '.*'|defined here) first difference is (return type is .*|.* parameter with name .*|.* parameter with type .*(| decayed from .*)|.* parameter with(out|) a default argument|.* parameter with a default argument|function body)
note_module_odr_violation_function
Note
AST Deserialization Issue
Empty Group
but in '.*' found (different return type .*|.* parameter with name .*|.* parameter with type .*(| decayed from .*)|.* parameter with(out|) a default argument|.* parameter with a different default argument|a different body)
err_module_odr_violation_enum
Error
AST Deserialization Issue
Empty Group
.* has different definitions in different modules; (definition in module '.*'|defined here) first difference is (enum that is (not scoped|scoped)|enum scoped with keyword (struct|class)|enum (without|with) specified type|enum with specified type .*|enum with .* element.*|.* element has name .*|.* element .* (has|does not have) an initilizer|.* element .* has an initializer|)
note_module_odr_violation_enum
Note
AST Deserialization Issue
Empty Group
but in '.*' found (enum that is (not scoped|scoped)|enum scoped with keyword (struct|class)|enum (without|with) specified type|enum with specified type .*|enum with .* element.*|.* element has name .*|.* element .* (has|does not have) an initializer|.* element .* has different initializer|)
err_module_odr_violation_mismatch_decl_unknown
Error
AST Deserialization Issue
Empty Group
.* (with definition in module '.*'|defined here) has different definitions in different modules; first difference is this (||||static assert|field|method|type alias|typedef|data member|friend declaration|unexpected decl)
note_module_odr_violation_mismatch_decl_unknown
Note
AST Deserialization Issue
Empty Group
but in '.*' found (||||different static assert|different field|different method|different type alias|different typedef|different data member|different friend declaration|another unexpected decl)
warn_duplicate_module_file_extension
Warning
AST Deserialization Issue
module-file-extension
duplicate module file extension block name '.*'
warn_module_system_bit_conflict
Warning
AST Deserialization Issue
module-conflict
module file '.*' was validated as a system module and is now being imported as a non-system module; any difference in diagnostic options will be ignored
warn_module_uses_date_time
Warning
AST Serialization Issue
pch-date-time
(precompiled header|module) uses __DATE__ or __TIME__
err_module_no_size_mtime_for_header
Error
AST Serialization Issue
Empty Group
cannot emit module .*: (size|mtime) must be explicitly specified for missing header file \".*\"
err_module_unable_to_hash_content
Error
AST Serialization Issue
Empty Group
failed to hash content for '.*' because memory buffer cannot be retrieved
