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
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_no_return
Note
Empty Category
Empty Group
control reached end of constexpr function
note_constexpr_virtual_call
Note
Empty Category
Empty Group
cannot evaluate virtual function call in a constant expression
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_uninitialized
Note
Empty Category
Empty Group
(|sub)object of type .* is not initialized
note_constexpr_array_index
Note
Empty Category
Empty Group
cannot refer to element .* of (array of .* elements|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_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_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|call member function on|access real component of|access imaginary component of) pointer past the end of object
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|call member function on|access real component of|access imaginary component of) null pointer
note_constexpr_var_init_non_constant
Note
Empty Category
Empty Group
initializer of .* is not a constant expression
note_constexpr_typeid_polymorphic
Note
Empty Category
Empty Group
typeid applied to expression of polymorphic type .* is not allowed in a constant expression
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_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_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|assignment to|increment of|decrement of) (temporary|variable) whose lifetime has ended
note_constexpr_access_uninit
Note
Empty Category
Empty Group
(read of|assignment to|increment of|decrement of) object outside its lifetime 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|assignment to|increment of|decrement of) volatile-qualified type .* is not allowed in a constant expression
note_constexpr_access_volatile_obj
Note
Empty Category
Empty Group
(read of|assignment to|increment of|decrement of) volatile (temporary|object .*|member .*) is not allowed in a constant expression
note_constexpr_ltor_mutable
Note
Empty Category
Empty Group
read 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_constexpr
Note
Empty Category
Empty Group
read of non-constexpr variable .* is not allowed in a constant expression
note_constexpr_access_null
Note
Empty Category
Empty Group
(read of|assignment to|increment of|decrement of) dereferenced null pointer is not allowed in a constant expression
note_constexpr_access_past_end
Note
Empty Category
Empty Group
(read of|assignment to|increment of|decrement of) dereferenced one-past-the-end pointer is not allowed in a constant expression
note_constexpr_access_inactive_union_member
Note
Empty Category
Empty Group
(read of|assignment to|increment of|decrement of) member .* of union with (active member .*|no active member) is not allowed in a constant expression
note_constexpr_access_static_temporary
Note
Empty Category
Empty Group
(read of|assignment to|increment of|decrement of) temporary is not allowed in a constant expression outside the expression that created the temporary
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_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)
warn_integer_constant_overflow
Warning
Empty Category
integer-overflow
overflow in expression; result is .* with type .*
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\. .*\)
err_odr_variable_multiple_def
Error
Empty Category
Empty Group
external variable .* defined in multiple translation units
note_odr_value_here
Note
Empty Category
Empty Group
declared here with type .*
note_odr_defined_here
Note
Empty Category
Empty Group
also defined here
err_odr_function_type_inconsistent
Error
Empty Category
Empty Group
external function .* declared with incompatible types in different translation units \(.* vs\. .*\)
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_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\. .*\)
err_odr_ivar_type_inconsistent
Error
Empty Category
Empty Group
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
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\. .*\)
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\. .*\)
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\. .*\)
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
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\. .*\)
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
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\. .*\)
note_odr_objc_synthesize_ivar_here
Note
Empty Category
Empty Group
property is synthesized to ivar .* here
err_odr_different_num_template_parameters
Error
Empty Category
Empty Group
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
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
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\. .*\)
err_unsupported_ast_node
Error
Empty Category
Empty Group
cannot import unsupported AST node .*
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_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
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)
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 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_lock_failure
Error
Parse Issue
Empty Group
could not acquire lock file for module '.*'
err_module_lock_timeout
Error
Parse Issue
Empty Group
timed out waiting to acquire lock file for module '.*'
err_module_cycle
Error
Parse Issue
Empty Group
cyclic dependency in module '.*': .*
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_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 .*
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
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_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 '.*'
err_target_unknown_abi
Error
Empty Category
Empty Group
unknown target ABI '.*'
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_opt_not_valid_with_opt
Error
Empty Category
Empty Group
option '.*' cannot be specified with '.*'
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_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_file_conflict
Error
Empty Category
Empty Group
module '.*' found in both '.*' and '.*'
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_drv_no_such_file
Error
Empty Category
Empty Group
no such file or directory: '.*'
err_drv_unsupported_opt
Error
Empty Category
Empty Group
unsupported option '.*'
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_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_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_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_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_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_command_failed
Error
Empty Category
Empty Group
.* command failed with exit code .* \(use -v to see invocation\)
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 '.*' is set
err_drv_invalid_mfloat_abi
Error
Empty Category
Empty Group
invalid float ABI '.*'
err_drv_invalid_libcxx_deployment
Error
Empty Category
Empty Group
invalid deployment target for -stdlib=libc\+\+ \(requires .* or later\)
err_drv_malformed_sanitizer_blacklist
Error
Empty Category
Empty Group
malformed sanitizer blacklist: '.*'
err_target_unsupported_arch
Error
Empty Category
Empty Group
the target architecture '.*' is not supported by the target '.*'
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_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_preamble_format
Error
Empty Category
Empty Group
incorrect format for -preamble-bytes=N,END
err_drv_objc_gc_arr
Error
Empty Category
Empty Group
cannot specify both '-fobjc-arc' and '.*'
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_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_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 '.*'
err_drv_no_neon_modifier
Error
Empty Category
Empty Group
\[no\]neon is not accepted as modifier, please use \[no\]simd instead
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_c_kext
Warning
Empty Category
Empty Group
ignoring -fapple-kext which is valid for C\+\+ and Objective-C\+\+ only
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_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_objc_gc_unsupported
Warning
Empty Category
Empty Group
Objective-C garbage collection is not supported on this platform, ignoring '.*'
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_debug_compression_unavailable
Warning
Empty Category
debug-compression-unavailable
cannot compress debug sections \(zlib not installed\)
warn_drv_enabling_rtti_with_exceptions
Warning
Empty Category
rtti-for-exceptions
implicitly enabling rtti for exception handling
warn_drv_disabling_vptr_no_rtti_default
Warning
Empty Category
auto-disable-vptr-sanitizer
implicitly disabling vptr sanitizer because rtti wasn't enabled
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
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_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>'
warn_drv_invoking_fallback
Warning
Empty Category
fallback
falling back to .*
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
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 .*
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
.*
warn_fe_backend_optimization_failure
Warning
Empty Category
pass-failed
.*
note_fe_backend_optimization_remark_invalid_loc
Note
Empty Category
Empty Group
could not determine the original source location for .*:.*:.*
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)
err_fe_invalid_code_complete_file
Error
Empty Category
Empty Group
cannot locate code-completion file .*
err_fe_stdout_binary
Error
Empty Category
Empty Group
unable to change standard output to binary
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 '.*': '.*'
err_fe_pth_file_has_no_source_header
Error
Empty Category
Empty Group
PTH file '.*' does not designate an original source header file for -include-pth
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\)
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
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 \(.*\)
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_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: '.*'
err_unknown_analyzer_checker
Error
Empty Category
Empty Group
no analyzer checkers 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_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_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_missing_submodule
Warning
Empty Category
incomplete-umbrella
missing submodule '.*'
err_module_unavailable
Error
Empty Category
Empty Group
module '.*' (is incompatible with|requires) feature '.*'
err_module_header_missing
Error
Empty Category
Empty Group
(|umbrella )header '.*' not found
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_conflicting_module_names
Error
Empty Category
Empty Group
conflicting module names specified: '-fmodule-name=.*' and '-fmodule-implementation-of .*'
err_conflicting_module_files
Error
Empty Category
Empty Group
module '.*' is defined in both '.*' and '.*'
err_module_file_not_found
Error
Empty Category
Empty Group
module file '.*' not found
err_module_file_invalid
Error
Empty Category
Empty Group
file '.*' is not a valid precompiled module file
note_module_file_imported_by
Note
Empty Category
Empty Group
imported by (|module '.*' in )'.*'
err_module_file_not_module
Error
Empty Category
Empty Group
AST file '.*' was not built as a module
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 '.*'
null_in_string
Warning
Lexical or Preprocessor Issue
null-character
null character\(s\) preserved in string literal
null_in_char
Warning
Lexical or Preprocessor Issue
null-character
null character\(s\) preserved in character 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
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
charizing operator #@ 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
ext_unterminated_string
ExtWarn
Lexical or Preprocessor Issue
invalid-pp-token
missing terminating '\"' character
ext_unterminated_char
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
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_decimal_digit
Error
Lexical or Preprocessor Issue
Empty Group
invalid digit '.*' in decimal constant
err_invalid_binary_digit
Error
Lexical or Preprocessor Issue
Empty Group
invalid digit '.*' in binary constant
err_invalid_octal_digit
Error
Lexical or Preprocessor Issue
Empty Group
invalid digit '.*' in octal constant
err_invalid_suffix_integer_constant
Error
Lexical or Preprocessor Issue
Empty Group
invalid suffix '.*' on integer constant
err_invalid_suffix_float_constant
Error
Lexical or Preprocessor Issue
Empty Group
invalid suffix '.*' on floating 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
ext_imaginary_constant
Extension
Lexical or Preprocessor Issue
gnu-imaginary-constant
imaginary constants are a GNU extension
err_hexconstant_requires_exponent
Error
Lexical or Preprocessor Issue
Empty Group
hexadecimal floating constants require an exponent
err_hexconstant_requires_digits
Error
Lexical or Preprocessor Issue
Empty Group
hexadecimal floating constants require a significand
ext_hexconstant_invalid
Extension
Lexical or Preprocessor Issue
c99-extensions
hexadecimal floating constants are a C99 feature
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-extensions
binary integer literals are a C\+\+14 extension
warn_cxx11_compat_binary_literal
Warning
Lexical or Preprocessor Issue
c++98-c++11-compat-pedantic
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_octal_escape_too_large
Error
Lexical or Preprocessor Issue
Empty Group
octal escape sequence out of range
err_hex_escape_too_large
Error
Lexical or Preprocessor Issue
Empty Group
hex 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\+\+1z
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_invalid_pth_file
Error
Lexical or Preprocessor Issue
Empty Group
invalid or corrupt PTH 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
Empty Group
#include_next in primary source file
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
Empty Group
#include_next with absolute 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_pragma_once_in_main_file
Warning
Lexical or Preprocessor Issue
Empty Group
#pragma once in main file
pp_pragma_sysheader_in_main_file
Warning
Lexical or Preprocessor Issue
Empty Group
#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_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
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_lhs_to_positive
Warning
Lexical or Preprocessor Issue
Empty Group
left side of operator converted from negative value to unsigned: .*
warn_pp_convert_rhs_to_positive
Warning
Lexical or Preprocessor Issue
Empty Group
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
msvc-include
#include resolved using non-portable MSVC 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
Empty Group
#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_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
err_pp_opencl_variadic_macros
Error
Lexical or Preprocessor Issue
Empty Group
variadic macros not supported 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_file_not_found_not_fatal
Error
Lexical or Preprocessor Issue
Empty Group
'.*' file not found with <angled> include; use \"quotes\" instead
err_pp_error_opening_file
Error
Lexical or Preprocessor Issue
Empty Group
error opening file '.*': .*
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_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_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
err_warning_check_malformed
Error
Lexical or Preprocessor Issue
Empty Group
builtin warning check macro requires a parenthesized string
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
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_stdc_pragma_ignored
ExtWarn
Lexical or Preprocessor Issue
unknown-pragmas
unknown pragma in STDC namespace
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_stdc_fenv_access_not_supported
Warning
Lexical or Preprocessor Issue
unknown-pragmas
pragma STDC FENV_ACCESS ON is not supported, ignoring 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-pragmas
unknown warning group '.*', ignored
warn_pragma_debug_unexpected_command
Warning
Lexical or Preprocessor Issue
ignored-pragmas
unexpected debug command '.*'
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
C\+\+ operator .* \(aka .*\) used as a macro name
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 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_dir_not_found
Error
Lexical or Preprocessor Issue
Empty Group
umbrella directory '.*' not found
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_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_auto_module_import
Warning
Lexical or Preprocessor Issue
auto-import
treating #(include|import|include_next|__include_macros) as an import of module '.*'
warn_uncovered_module_header
Warning
Lexical or Preprocessor Issue
incomplete-umbrella
umbrella header for module '.*' does not include header '.*'
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 '.*': .*
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 .*\?
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 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
w_asm_qualifier_ignored
Warning
Empty Category
Empty Group
ignored .* qualifier on asm
warn_file_asm_volatile
Warning
Empty Category
Empty Group
meaningless 'volatile' 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
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-pedantic
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
ext_duplicate_declspec
ExtWarn
Parse Issue
duplicate-decl-specifier
duplicate '.*' declaration specifier
warn_duplicate_declspec
Warning
Parse Issue
duplicate-decl-specifier
duplicate '.*' declaration specifier
ext_plain_complex
ExtWarn
Parse Issue
Empty Group
plain '_Complex' requires a type specifier; assuming '_Complex double'
ext_integer_complex
Extension
Parse Issue
gnu-complex-integer
complex integer types are a GNU extension
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
error_empty_enum
Error
Parse Issue
Empty Group
use of empty enum
err_invalid_sign_spec
Error
Parse Issue
Empty Group
'.*' cannot be signed or unsigned
err_invalid_short_spec
Error
Parse Issue
Empty Group
'short .*' is invalid
err_invalid_long_spec
Error
Parse Issue
Empty Group
'long .*' is invalid
err_invalid_longlong_spec
Error
Parse Issue
Empty Group
'long long .*' is invalid
err_invalid_complex_spec
Error
Parse Issue
Empty Group
'_Complex .*' is invalid
err_friend_decl_spec
Error
Parse Issue
Empty Group
'.*' is invalid in friend declarations
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_c_enum_fixed_underlying_type
Extension
Parse Issue
microsoft
enumeration types with a fixed underlying type are a Microsoft 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
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
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
ext_c11_generic_selection
Extension
Parse Issue
c11-extensions
generic selections are a C11-specific feature
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_c11_alignment
Extension
Parse Issue
c11-extensions
.* is a C11-specific feature
ext_c11_noreturn
Extension
Parse Issue
c11-extensions
_Noreturn functions are a C11-specific feature
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_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_attribute_no_decl
Warning
Parse Issue
ignored-attributes
attribute .* ignored, because it is not attached to a declaration
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++1z-extensions
nested namespace definition is a C\+\+1z 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\+\+1z
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) 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
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-extensions
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
ext_auto_type_specifier
ExtWarn
Parse Issue
c++11-extensions
'auto' type specifier is a C\+\+11 extension
warn_auto_storage_class
Warning
Parse Issue
c++11-compat
'auto' storage class specifier is redundant and incompatible with C\+\+11
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_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_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
warn_deprecated_register
Warning
Parse Issue
deprecated-register
'register' storage class specifier is deprecated
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
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 constexpr specifier to be specified
err_typename_identifiers_only
Error
Parse Issue
Empty Group
typename is allowed for identifiers only
err_invalid_decl_spec_combination
Error
Parse Issue
Empty Group
cannot combine with previous '.*' declaration specifier
err_invalid_vector_decl_spec_combination
Error
Parse Issue
Empty Group
cannot combine with previous '.*' declaration specifier\. '__vector' must be first
err_invalid_pixel_decl_spec_combination
Error
Parse Issue
Empty Group
'__pixel' must be preceded by '__vector'\.  '.*' declaration specifier not allowed here
err_invalid_vector_bool_decl_spec
Error
Parse Issue
Empty Group
cannot use '.*' with '__vector bool'
err_invalid_vector_long_decl_spec
Error
Parse Issue
Empty Group
cannot use 'long' with '__vector'
err_invalid_vector_float_decl_spec
Error
Parse Issue
Empty Group
cannot use 'float' with '__vector'
err_invalid_vector_double_decl_spec
Error
Parse Issue
Empty Group
use of 'double' with '__vector' requires VSX support to be enabled \(available on POWER7 or later\)
err_invalid_vector_long_long_decl_spec
Error
Parse 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
Parse Issue
Empty Group
cannot use 'long double' with '__vector'
warn_vector_long_decl_spec_combination
Warning
Parse Issue
deprecated
Use of 'long' with '__vector' is deprecated
err_friend_invalid_in_context
Error
Parse Issue
Empty Group
'friend' used outside of class
err_use_of_tag_name_without_tag
Error
Parse Issue
Empty Group
must use '.*' tag to refer to type .*(| in this scope)
err_templated_using_directive
Error
Parse Issue
Empty Group
cannot template a using directive
err_templated_using_declaration
Error
Parse Issue
Empty Group
cannot template a using 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'
ext_c11_static_assert
Extension
Parse Issue
c11-extensions
_Static_assert is a C11-specific feature
warn_cxx98_compat_static_assert
Warning
Parse Issue
c++98-compat
static_assert declarations are incompatible with C\+\+98
err_paren_after_colon_colon
Error
Parse Issue
Empty Group
unexpected parenthesis after '::'
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'
err_expected_minus_or_plus
Error
Parse Issue
Empty Group
method type specifier must start with '-' or '\+'
err_objc_no_attributes_on_category
Error
Parse Issue
Empty Group
attributes may not be specified on a category
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 bitfield
err_objc_expected_property_attr
Error
Parse Issue
Empty Group
unknown property attribute .*
err_objc_properties_require_objc2
Error
Parse Issue
Empty Group
properties are an Objective-C 2 feature
err_objc_unexpected_attr
Error
Parse Issue
Empty Group
prefix attribute must be followed by an interface or protocol
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
error_property_ivar_decl
Error
Parse Issue
Empty Group
property synthesize requires specification of an ivar
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_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 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
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
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_cxx14_compat_attribute
Warning
Parse Issue
c++98-c++11-c++14-compat
attributes on (a namespace|an enumerator) declaration are incompatible with C\+\+ standards before C\+\+1z
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
err_attributes_not_allowed
Error
Parse Issue
Empty Group
an attribute list cannot appear 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 an in-class initializer
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++1z-extensions
template template parameter using 'typename' is a C\+\+1z 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\+\+1z
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>)
err_id_after_template_in_nested_name_spec
Error
Parse Issue
Empty Group
expected template name after 'template' keyword in nested name specifier
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_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_out_of_line_template_id_names_constructor
Error
Parse Issue
Empty Group
qualified reference to .* is a constructor name rather than a template name wherever a constructor can be declared
err_out_of_line_type_names_constructor
Error
Parse Issue
Empty Group
qualified reference to .* is a constructor name rather than a type wherever a constructor can be declared
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-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++1z-extensions
pack fold expression is a C\+\+1z 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\+\+1z
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|const_cast|dynamic_cast|reinterpret_cast|static_cast) which forms the digraph '<:' \(aka '\['\) and a ':', did you mean '< ::'\?
ext_deleted_function
ExtWarn
Parse Issue
c++11-extensions
deleted function definitions are a C\+\+11 extension
warn_cxx98_compat_deleted_function
Warning
Parse Issue
c++98-compat
deleted function definitions are incompatible with C\+\+98
ext_defaulted_function
ExtWarn
Parse Issue
c++11-extensions
defaulted function definitions are a C\+\+11 extension
warn_cxx98_compat_defaulted_function
Warning
Parse Issue
c++98-compat
defaulted function definitions are incompatible with C\+\+98
ext_nonstatic_member_init
ExtWarn
Parse Issue
c++11-extensions
in-class initialization of non-static data member is a C\+\+11 extension
warn_cxx98_compat_nonstatic_member_init
Warning
Parse Issue
c++98-compat
in-class initialization of non-static data members is incompatible with C\+\+98
err_bitfield_member_init
Error
Parse Issue
Empty Group
bitfield member cannot have an in-class initializer
err_incomplete_array_member_init
Error
Parse Issue
Empty Group
array bound cannot be deduced from an in-class 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
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' 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_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_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)
warn_init_capture_direct_list_init
Warning
Parse Issue
future-compat
direct list initialization of a lambda init-capture will change meaning in a future version of Clang; insert an '=' to avoid a change in behavior
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\., 'macosx'
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_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_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
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_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_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_fp_contract_scope
Error
Parse Issue
Empty Group
'#pragma fp_contract' can only appear at file scope or at the start of a compound statement
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
microsoft
'#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_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_opencl_unknown_type_specifier
Error
Parse Issue
Empty Group
OpenCL does not support the '.*' (type qualifier|storage class specifier)
warn_pragma_expected_colon
Warning
Parse Issue
ignored-pragmas
missing ':' after .* - ignoring
warn_pragma_expected_enable_disable
Warning
Parse Issue
ignored-pragmas
expected 'enable' or 'disable' - ignoring
warn_pragma_unknown_extension
Warning
Parse Issue
ignored-pragmas
unknown OpenCL extension .* - ignoring
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
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_more_one_clause
Error
Parse Issue
Empty Group
directive '#pragma omp .*' cannot contain more than one '.*' clause
err_omp_immediate_directive
Error
Parse Issue
Empty Group
'#pragma omp .*' 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_pragma_loop_missing_argument
Error
Parse Issue
Empty Group
missing argument; expected (an integer value|('enable', 'assume_safety'|'full') or 'disable')
err_pragma_loop_invalid_option
Error
Parse Issue
Empty Group
(invalid|missing) option( .*|); expected vectorize, vectorize_width, interleave, interleave_count, unroll, or unroll_count
err_pragma_invalid_keyword
Error
Parse Issue
Empty Group
invalid argument; expected ('enable', 'assume_safety'|'full') or 'disable'
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\+\+
err_module_expected_ident
Error
Modules Issue
Empty Group
expected a module name after module import
err_module_expected_semi
Error
Modules Issue
Empty Group
expected ';' after module name
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_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_for_range_const_reference_copy
Warning
Semantic Issue
range-loop-analysis
loop variable .* (has type .* but is initialized with type .*| is initialized with a value of a different type) resulting in a copy
note_use_type_or_non_reference
Note
Semantic Issue
Empty Group
use non-reference type .* to keep the copy or type .* to prevent copying
warn_for_range_variable_always_copy
Warning
Semantic Issue
range-loop-analysis
loop variable .* is always a copy because the range of type .* does not return a reference
note_use_non_reference_type
Note
Semantic Issue
Empty Group
use non-reference type .*
warn_for_range_copy
Warning
Semantic Issue
range-loop-analysis
loop variable .* of type .* creates a copy from type .*
note_use_reference_type
Note
Semantic Issue
Empty Group
use reference type .* to prevent copying
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_infinite_recursive_function
Warning
Semantic Issue
infinite-recursion
all paths through this function will call itself
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) is not a constant expression
ext_cce_narrowing
ExtWarn
Semantic Issue
c++11-narrowing
(case value|enumerator value|non-type template argument|array size) (cannot be narrowed from type .* to .*|evaluates to .*, which cannot be narrowed to type .*)
err_ice_not_integral
Error
Semantic Issue
Empty Group
integral constant expression must have 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
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_non_pod
Error
Semantic Issue
Empty Group
variable length array of non-POD element type .*
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_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-extensions
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_init
Error
Semantic Issue
Empty Group
designator in initializer for scalar type .*
warn_subobject_initializer_overrides
Warning
Semantic Issue
initializer-overrides
subobject initialization overrides initialization of other fields within its enclosing subobject
warn_initializer_overrides
Warning
Semantic Issue
initializer-overrides
initializer overrides prior initialization of this subobject
note_previous_initializer
Note
Semantic Issue
Empty Group
previous initialization (|with side effects )is here(| \(side effects may 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
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_parameter_name_omitted
Error
Semantic Issue
Empty Group
parameter name omitted
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
note_additional_parens_for_variable_declaration
Note
Semantic Issue
Empty Group
add a pair of parentheses to declare a variable
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_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_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
warn_use_out_of_scope_declaration
Warning
Semantic Issue
Empty Group
use of out-of-scope declaration of .*
err_inline_non_function
Error
Semantic Issue
Empty Group
'inline' can only appear on functions
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_decl_shadow
Warning
Semantic Issue
shadow
declaration shadows a (local variable|variable in .*|static data member of .*|field of .*)
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_constructor_conflict
Error
Semantic Issue
Empty Group
cannot inherit constructor, already inherited constructor with the same signature
note_using_decl_constructor_conflict_current_ctor
Note
Semantic Issue
Empty Group
conflicting constructor
note_using_decl_constructor_conflict_previous_ctor
Note
Semantic Issue
Empty Group
previous constructor
note_using_decl_constructor_conflict_previous_using
Note
Semantic Issue
Empty Group
previously inherited here
warn_using_decl_constructor_ellipsis
Warning
Semantic Issue
inherited-variadic-ctor
inheriting constructor does not inherit ellipsis
note_using_decl_constructor_ellipsis
Note
Semantic Issue
Empty Group
constructor declared with ellipsis here
err_using_decl_can_not_refer_to_class_member
Error
Semantic Issue
Empty Group
using declaration cannot refer to class member
note_using_decl_class_member_workaround
Note
Semantic Issue
Empty Group
use (an alias declaration|a typedef declaration|a reference) instead
err_using_decl_can_not_refer_to_namespace
Error
Semantic Issue
Empty Group
using declaration cannot refer to namespace
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 decl
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
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_exception_spec_deprecated
Warning
Semantic Issue
deprecated
dynamic exception specifications are deprecated
note_exception_spec_deprecated
Note
Semantic Issue
Empty Group
use '.*' instead
warn_deprecated_copy_operation
Warning
Semantic Issue
deprecated
definition of implicit copy (constructor|assignment operator) for .* is deprecated because it has a user-declared (copy (assignment operator|constructor)|destructor)
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
control may reach end of non-void function
warn_falloff_nonvoid_function
Warning
Semantic Issue
return-type
control reaches end of non-void function
err_maybe_falloff_nonvoid_block
Error
Semantic Issue
Empty Group
control may reach end of non-void block
err_falloff_nonvoid_block
Error
Semantic Issue
Empty Group
control reaches end of non-void block
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
Empty Group
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_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_arm_invalid_specialreg
Error
Semantic Issue
Empty Group
invalid special register for builtin
err_invalid_cpu_supports
Error
Semantic Issue
Empty Group
invalid cpu feature string for builtin
warn_builtin_unknown
Warning
Semantic Issue
implicit-function-declaration
use of unknown builtin .*
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_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_memcpy_chk_overflow
Warning
Semantic Issue
builtin-memcpy-chk-size
.* will always overflow destination buffer
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
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 .*
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
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
err_typedef_changes_linkage
Error
Semantic Issue
Empty Group
unsupported: typedef changes linkage of anonymous type, but linkage was already computed
note_typedef_changes_linkage
Note
Semantic Issue
Empty Group
use a tag name here to establish linkage prior to definition
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 .* is not allowed
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_half_param
Error
Semantic Issue
Empty Group
declaring function parameter of type .* is not allowed; did you forget \* \?
err_opencl_half_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_show
Warning
Semantic Issue
Empty Group
value of #pragma pack\(show\) == .*
warn_pragma_pack_pop_identifer_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: .*
warn_cxx_ms_struct
Warning
Semantic Issue
incompatible-ms-struct
ms_struct may not produce MSVC-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_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_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
Empty Group
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 .* was selected for synthesis
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
warn_objc_root_class_missing
Warning
Semantic Issue
objc-root-class
class .* defined without specifying a base class
note_objc_needs_superclass
Note
Semantic Issue
Empty Group
add a super class to fix this problem
warn_dup_category_def
Warning
Semantic Issue
Empty Group
duplicate definition of category .* on interface .*
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_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 .*
not_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_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
error_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_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 non-GC 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 .*
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
error_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 .*
error_missing_property_context
Error
Semantic Issue
Empty Group
missing context for property implementation declaration
error_bad_property_decl
Error
Semantic Issue
Empty Group
property implementation must have its declaration in interface .*
error_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 .* declared here
note_property_synthesize
Note
Semantic Issue
Empty Group
property synthesized here
error_synthesize_category_decl
Error
Semantic Issue
Empty Group
@synthesize not allowed in a category's implementation
error_reference_property
Error
Semantic Issue
Empty Group
property of reference type is not supported
error_missing_property_interface
Error
Semantic Issue
Empty Group
property implementation in a category with no category declaration
error_bad_category_property_decl
Error
Semantic Issue
Empty Group
property implementation must have its declaration in the category .*
error_bad_property_context
Error
Semantic Issue
Empty Group
property implementation must be in a class or category implementation
error_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
error_synthesize_weak_non_arc_or_gc
Error
Semantic Issue
Empty Group
@synthesize of 'weak' property is only allowed in ARC or GC mode
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 .*
error_property_ivar_type
Error
Semantic Issue
Empty Group
type of property .* \(.*\) does not match type of instance variable .* \(.*\)
error_property_accessor_type
Error
Semantic Issue
Empty Group
type of property .* \(.*\) does not match type of accessor .* \(.*\)
error_ivar_in_superclass_use
Error
Semantic Issue
Empty Group
property .* attempting to use instance variable .* declared in super class .*
error_weak_property
Error
Semantic Issue
Empty Group
existing instance variable .* for __weak property .* must be __weak
error_strong_property
Error
Semantic Issue
Empty Group
existing instance variable .* for strong property .* may not be __weak
error_dynamic_property_ivar_decl
Error
Semantic Issue
Empty Group
dynamic property cannot have instance variable specification
error_duplicate_ivar_use
Error
Semantic Issue
Empty Group
synthesized properties .* and .* both claim instance variable .*
error_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
error_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
warning_multiple_selectors
Warning
Semantic Issue
selector-type-mismatch
several methods with selector .* of mismatched types are found for the @selector expression
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_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( .*|)
ext_static_assert_no_message
ExtWarn
Semantic Issue
c++1z-extensions
static_assert with no message is a C\+\+1z extension
warn_cxx14_compat_static_assert_no_message
Warning
Semantic Issue
c++98-c++11-c++14-compat
static_assert with no message is incompatible with C\+\+ standards before C\+\+1z
warn_inline_namespace_reopened_noninline
Warning
Semantic Issue
Empty Group
inline namespace cannot be reopened as a non-inline namespace
err_inline_namespace_mismatch
Error
Semantic Issue
Empty Group
(|non-)inline namespace cannot be reopened as (non-|)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_not_found
Error
Semantic Issue
Empty Group
no function named .* with type .* was found in the specified scope
err_introducing_special_friend
Error
Semantic Issue
Empty Group
must use a qualified name when declaring a (constructor|destructor|conversion operator) 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 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_member_in_interface
Error
Semantic Issue
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_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_type
Error
Semantic Issue
Empty Group
by-copy capture of variable .* with incomplete 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
note_pure_virtual_function
Note
Semantic Issue
Empty Group
unimplemented pure virtual method .* in .*
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
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_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 specification in declaration does not match previous declaration
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 specification of overriding function is more lax than base version
err_incompatible_exception_specs
Error
Semantic Issue
Empty Group
target exception specification is not superset of source
err_deep_exception_specs_differ
Error
Semantic Issue
Empty Group
exception specifications of (return|argument) types differ
warn_missing_exception_specification
Warning
Semantic Issue
Empty Group
.* is missing exception specification '.*'
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_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 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_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' 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
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_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
function definition with pure-specifier is a Microsoft extension
err_implicit_object_parameter_init
Error
Semantic Issue
Empty Group
cannot initialize object parameter of type .* with an expression of type .*
err_qualified_member_of_unrelated
Error
Semantic Issue
Empty Group
.* is not a member of class .*
warn_call_to_pure_virtual_member_function_from_ctor_dtor
Warning
Semantic Issue
Empty Group
call to pure virtual member function .*; 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
implicit (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) for .* first required here
note_inhctor_synthesized_at
Note
Semantic Issue
Empty Group
inheriting constructor for .* first required here
err_missing_default_ctor
Error
Semantic Issue
Empty Group
(|implicit default |inheriting )constructor for .* must explicitly initialize the (base class|member) .* which 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 (constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor)
warn_cxx98_compat_nontrivial_union_or_anon_struct_member
Warning
Semantic Issue
c++98-compat
(anonymous struct|union) member .* with a non-trivial (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_in_class_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
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 .* 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)
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 .*
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 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
err_destructor_typedef_name
Error
Semantic Issue
Empty Group
destructor cannot be declared using a (typedef|type alias) .* of the class name
err_destructor_name
Error
Semantic Issue
Empty Group
expected the class name after '~' to name the enclosing class
err_destructor_class_name
Error
Semantic Issue
Empty Group
expected the class name after '~' to name a destructor
err_ident_in_dtor_not_a_type
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 .* is declared here
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|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 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 \((none|const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict) vs (none|const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict)\))
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 value (of type .* to reference to type .*|to reference) drops (<<ERROR>>|'const'|'restrict'|'const' and 'restrict'|'volatile'|'const' and 'volatile'|'restrict' and 'volatile'|'const', 'restrict', and 'volatile') qualifier(|||s)
err_reference_bind_failed
Error
Semantic Issue
Empty Group
reference (to type .* could not bind to an (rvalue|lvalue) of type .*|could not bind to (rvalue|lvalue) of incompatible type)
err_reference_bind_init_list
Error
Semantic Issue
Empty Group
reference to type .* cannot bind to an initializer list
warn_temporary_array_to_pointer_decay
Warning
Semantic Issue
address-of-array-temporary
pointer is initialized by a temporary array, which will be destroyed at the end of the full-expression
err_init_list_bad_dest_type
Error
Semantic Issue
Empty Group
(|non-aggregate )type .* cannot be initialized with an initializer list
err_member_function_call_bad_cvr
Error
Semantic Issue
Empty Group
member function .* not viable: 'this' argument has type .*, but function is not marked (const|restrict|const or restrict|volatile|const or volatile|volatile or restrict|const, volatile, or restrict)
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_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_uninit_var_def
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 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 .*|field .*) with omitted initializer
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 .*
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|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|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|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|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|throwing object|copying member subobject|copying array element|allocating object|copying temporary|initializing base subobject|initializing vector element) 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_constructor_declared_here
Note
Semantic Issue
Empty Group
constructor 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 'auto' type cannot appear in its own initializer
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\)') not allowed (in function prototype|in non-static struct member|in non-static union member|in non-static class member|in interface member|in exception declaration|in template parameter|in block literal|in template argument|in typedef|in type alias|in function return type|in conversion function type|here|in lambda parameter)
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 type .* requires an initializer
err_auto_new_requires_ctor_arg
Error
Semantic Issue
Empty Group
new expression for type .* requires a constructor argument
err_auto_new_list_init
Error
Semantic Issue
Empty Group
new expression for type .* cannot 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 initializer list
warn_auto_var_direct_list_init
Warning
Semantic Issue
future-compat
direct list initialization of a variable with a deduced type will change meaning in a future version of Clang; insert an '=' to avoid a change in behavior
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_different_deductions
Error
Semantic Issue
Empty Group
'(auto|decltype\(auto\))' deduced as .* in declaration of .* and deduced as .* in declaration of .*
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
warn_dangling_std_initializer_list
Warning
Semantic Issue
dangling-initializer-list
array backing the initializer list will be destroyed at the end of (the full-expression|the constructor)
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_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
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_function_marked_not_override_overriding
Warning
Semantic Issue
inconsistent-missing-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)'
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
ExtWarn
Semantic Issue
microsoft
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_enum_class_reference
Error
Semantic Issue
Empty Group
reference to (|scoped )enumeration must use 'enum' not 'enum class'
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
err_for_range_member_begin_end_mismatch
Error
Semantic Issue
Empty Group
range type .* has '(begin|end)' member but no '(end|begin)' member
err_for_range_begin_end_types_differ
Error
Semantic Issue
Empty Group
'begin' and 'end' must return the same type \(got .* and .*\)
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
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_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_constexpr
Error
Semantic Issue
Empty Group
(function parameter|typedef|non-static data member) cannot be constexpr
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 constexpr
err_constexpr_dtor
Error
Semantic Issue
Empty Group
destructor cannot be marked constexpr
err_constexpr_no_declarators
Error
Semantic Issue
Empty Group
constexpr can only be used in variable and function 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_redecl_mismatch
Error
Semantic Issue
Empty Group
(non-constexpr declaration of .* follows constexpr declaration|constexpr declaration of .* follows non-constexpr declaration)
err_constexpr_virtual
Error
Semantic Issue
Empty Group
virtual function cannot be constexpr
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 function's return type .* is not a literal type
err_constexpr_non_literal_param
Error
Semantic Issue
Empty Group
constexpr (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 (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_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)
err_constexpr_local_var_no_init
Error
Semantic Issue
Empty Group
variables defined in a constexpr (function|constructor) must be initialized
ext_constexpr_function_never_constant_expr
ExtWarn
Semantic Issue
invalid-constexpr
constexpr (function|constructor) never produces a constant expression
err_enable_if_never_constant_expr
Error
Semantic Issue
Empty Group
'enable_if' attribute expression never produces a constant expression
err_constexpr_body_no_return
Error
Semantic Issue
Empty Group
no return statement in constexpr function
err_constexpr_return_missing_expr
Error
Semantic Issue
Empty Group
non-void constexpr 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
err_constexpr_function_try_block
Error
Semantic Issue
Empty Group
function try block not allowed in constexpr (function|constructor)
err_constexpr_union_ctor_no_init
Error
Semantic Issue
Empty Group
constexpr union constructor does not initialize any member
err_constexpr_ctor_missing_init
Error
Semantic Issue
Empty Group
constexpr constructor must initialize all members
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
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
warn_cxx98_compat_unicode_type
Warning
Semantic Issue
c++98-compat
'.*' type specifier is incompatible with C\+\+98
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 .*
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_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_bad_neon_vector_size
Error
Semantic Issue
Empty Group
Neon vector size must be 64 or 128 bits
warn_unsupported_target_attribute
Warning
Semantic Issue
ignored-attributes
Ignoring unsupported '.*' in the target attribute string
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_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_outof_range
Error
Semantic Issue
Empty Group
init_priority attribute requires integer constant between 101 and 65535 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_vec_type_hint
Error
Semantic Issue
Empty Group
invalid attribute argument .* - expecting a vector or vectorizable scalar type
err_attribute_argument_out_of_bounds
Error
Semantic Issue
Empty Group
.* attribute parameter .* is out of bounds
err_attribute_uuid_malformed_guid
Error
Semantic Issue
Empty Group
uuid attribute contains a malformed GUID
warn_attribute_pointers_only
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to pointer arguments
err_attribute_pointers_only
Error
Semantic Issue
Empty Group
warn_attribute_pointers_only\.Text
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_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 vector size
err_attribute_size_too_large
Error
Semantic Issue
Empty Group
vector size too large
err_typecheck_vector_not_convertable
Error
Semantic Issue
Empty Group
can't convert between vector values of different size \(.* and .*\)
err_typecheck_vector_not_convertable_non_scalar
Error
Semantic Issue
Empty Group
can't 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 .*\)
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
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 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_attr_objc_ownership_redundant
Error
Semantic Issue
Empty Group
the type .* is already explicitly ownership-qualified
err_undeclared_nsnumber
Error
Semantic Issue
Empty Group
NSNumber must be available to use Objective-C literals
err_undeclared_nsvalue
Error
Semantic Issue
Empty Group
NSValue must be available to use Objective-C boxed expressions
err_invalid_nsnumber_type
Error
Semantic Issue
Empty Group
.* is not a valid literal type for NSNumber
err_undeclared_nsstring
Error
Semantic Issue
Empty Group
cannot box a string value because NSString has not been declared
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_nsarray
Error
Semantic Issue
Empty Group
NSArray must be available to use Objective-C array literals
err_undeclared_nsdictionary
Error
Semantic Issue
Empty Group
NSDictionary must be available to use Objective-C dictionary 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 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_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) .*
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 'section' attribute is not valid for this target: .*
warn_mismatched_section
Warning
Semantic Issue
section
section does not match previous declaration
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 .*
error_cannot_find_suitable_accessor
Error
Semantic Issue
Empty Group
cannot find suitable (getter|setter) for property .*
err_alignment_not_power_of_two
Error
Semantic Issue
Empty Group
requested alignment is not a power of 2
err_alignment_dependent_typedef_name
Error
Semantic Issue
Empty Group
requested alignment is dependent but declaration is not dependent
err_attribute_aligned_too_great
Error
Semantic Issue
Empty Group
requested alignment must be .* bytes or smaller
warn_redeclaration_without_attribute_prev_attribute_ignored
Warning
Semantic Issue
inconsistent-dllimport
.* redeclared without .* attribute: previous .* ignored
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_attribute_ignored_on_inline
Warning
Semantic Issue
ignored-attributes
.* attribute ignored on inline function
warn_attribute_after_definition_ignored
Warning
Semantic Issue
ignored-attributes
attribute .* after definition is ignored
warn_unknown_attribute_ignored
Warning
Semantic Issue
unknown-attributes
unknown attribute .* 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_attribute_invalid_on_stmt
Error
Semantic Issue
Empty Group
.* attribute cannot be applied to a statement
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
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 .*
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_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_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
only weak aliases are supported on darwin
err_alias_to_undefined
Error
Semantic Issue
Empty Group
alias must point to a defined variable or function
warn_alias_to_weak_alias
Warning
Semantic Issue
ignored-attributes
alias will always resolve to .* even if weak definition of alias .* is overridden
warn_alias_with_section
Warning
Semantic Issue
ignored-attributes
alias will not be in section '.*' but in the same section as the aliasee
err_duplicate_mangled_name
Error
Semantic Issue
Empty Group
definition with same mangled name as another definition
err_cyclic_alias
Error
Semantic Issue
Empty Group
alias definition is part of a cycle
warn_attribute_wrong_decl_type
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to (functions|unions|variables and functions|functions and methods|parameters|functions, methods and blocks|functions, methods, and classes|functions, methods, and parameters|classes|enums|variables|methods|variables, functions and labels|fields and global variables|structs|variables and typedefs|thread-local variables|variables and fields|variables, data members and tag types|types and namespaces|Objective-C interfaces|methods and properties|struct or union|struct, union or class|types|Objective-C instance methods|init methods of interface or class extension declarations|variables, functions and classes|Objective-C protocols|functions and global variables|structs, unions, and typedefs|structs and typedefs|interface or protocol declarations|kernel 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_attribute_requires_functions_or_static_globals
Warning
Semantic Issue
ignored-attributes
.* only applies to variables with static storage duration and functions
warn_gnu_inline_attribute_requires_inline
Warning
Semantic Issue
ignored-attributes
'gnu_inline' attribute requires function to be marked 'inline', attribute ignored
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_ignored
Warning
Semantic Issue
ignored-attributes
calling convention .* ignored for this target
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
warn_cconv_varargs
Warning
Semantic Issue
ignored-attributes
.* calling convention ignored on variadic function
err_regparm_mismatch
Error
Semantic Issue
Empty Group
function declared with regparm\(.*\) attribute was previously declared (without the regparm|with the regparm\(.*\)) attribute
err_returns_retained_mismatch
Error
Semantic Issue
Empty Group
function declared with the ns_returns_retained attribute was previously declared without the ns_returns_retained 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
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) overridden method on .* \(.* vs\. .*\)
warn_mismatched_availability_override_unavail
Warning
Semantic Issue
availability
overriding method cannot be unavailable on .* when its overridden method is available
note_overridden_method
Note
Semantic Issue
Empty Group
overridden method is here
warn_invalid_capability_name
Warning
Semantic Issue
thread-safety-attributes
invalid capability name '.*'; capability name must be 'mutex' or 'role'
warn_thread_attribute_ignored
Warning
Semantic Issue
thread-safety-attributes
ignoring .* attribute because its argument is invalid
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\(\"mutex\"\)' 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_range
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
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_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 .*
warn_impcast_float_precision
Warning
Semantic Issue
conversion
implicit conversion loses floating-point precision: .* to .*
warn_impcast_float_integer
Warning
Semantic Issue
float-conversion
implicit conversion turns floating-point number into integer: .* 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
conversion
implicit conversion loses integer precision: .* to .*
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 bitfield changes value from .* to .*
warn_impcast_literal_float_to_integer
Warning
Semantic Issue
literal-conversion
implicit conversion from .* to .* changes 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_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 .*
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 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_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_parameter_compare
Warning
Semantic Issue
tautological-pointer-compare
comparison of nonnull 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_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_attribute_ignored_for_field_of_type
Warning
Semantic Issue
ignored-attributes
.* attribute ignored for field of type .*
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
err_complex_mode_vector_type
Error
Semantic Issue
Empty Group
type of machine mode does not support base vector types
err_attr_wrong_decl
Error
Semantic Issue
Empty Group
.* attribute invalid on this declaration, requires typedef or value
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_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)
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_missing
Error
Semantic Issue
Empty Group
(overloaded function|redeclaration of) .* must have the 'overloadable' attribute
note_attribute_overloadable_prev_overload
Note
Semantic Issue
Empty Group
previous overload of function is here
err_attribute_overloadable_no_prototype
Error
Semantic Issue
Empty Group
'overloadable' function .* must have a prototype
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)
warn_ns_attribute_wrong_parameter_type
Warning
Semantic Issue
ignored-attributes
.* attribute only applies to (Objective-C object|pointer|pointer-to-CF-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_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
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
redefinition of default argument
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 .* can't use copy assignment operator
err_uninitialized_member_in_ctor
Error
Semantic Issue
Empty Group
(|implicit default |inheriting )constructor for .* 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
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 (unavailable|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 (unavailable|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|constructor|function |function |constructor |is the implicit default constructor|is the implicit copy constructor|is the implicit move constructor|is the implicit copy assignment operator|is the implicit move assignment operator|is an inherited constructor).*(| 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 (none|const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict) but found (none|const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict)\))
note_ovl_candidate_inherited_constructor
Note
Semantic Issue
Empty Group
inherited from here
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_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_inconsistent_deduction
Note
Semantic Issue
Empty Group
candidate template ignored: deduced conflicting (types|values|templates) for parameter .*( \(.* vs\. .*\)|)
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_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: can't 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_enable_if_attr
Note
Semantic Issue
Empty Group
candidate disabled: .*
note_ovl_candidate_failed_overload_resolution
Note
Semantic Issue
Empty Group
candidate template ignored: couldn't resolve reference to overloaded function .*
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|constructor|function|function|constructor|constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)) (|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|constructor|function|function|constructor|constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)) (|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|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* has been (explicitly made unavailable|explicitly deleted|implicitly deleted)
note_ovl_candidate_bad_conv_incomplete
Note
Semantic Issue
Empty Group
candidate (function|function|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* not viable: cannot convert argument of incomplete type (.* to .*|to parameter type)
note_ovl_candidate_bad_list_argument
Note
Semantic Issue
Empty Group
candidate (function|function|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* not viable: cannot convert initializer list argument to .*
note_ovl_candidate_bad_overload
Note
Semantic Issue
Empty Group
candidate (function|function|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* not viable: no overload of .* matching .* for .* argument
note_ovl_candidate_bad_conv
Note
Semantic Issue
Empty Group
candidate (function|function|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* 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|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* 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|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* not viable: expects an l-value for (.* argument|object argument)
note_ovl_candidate_bad_addrspace
Note
Semantic Issue
Empty Group
candidate (function|function|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* not viable: (.*|'this') argument \(.*\) is in address space .*, but parameter must be in address space .*
note_ovl_candidate_bad_gc
Note
Semantic Issue
Empty Group
candidate (function|function|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* 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|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* 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_cvr_this
Note
Semantic Issue
Empty Group
candidate (|function|||function|||||function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|) 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|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* 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_base_to_derived_conv
Note
Semantic Issue
Empty Group
candidate (function|function|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)).* 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|constructor|function |function |constructor |constructor \(the implicit default constructor\)|constructor \(the implicit copy constructor\)|constructor \(the implicit move constructor\)|function \(the implicit copy assignment operator\)|function \(the implicit move assignment operator\)|constructor \(inherited\)) not viable: call to (__device__|__global__|__host__|__host__ __device__|invalid) function from (__device__|__global__|__host__|__host__ __device__|invalid) function
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_binary_candidate
Note
Semantic Issue
Empty Group
built-in candidate .*
note_ovl_builtin_unary_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 (unavailable|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 .*\)
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 (unavailable|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_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 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 (unavailable|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
can't 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
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_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_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 .* .*
err_template_decl_ref
Error
Semantic Issue
Empty Group
cannot refer to (class|variable) template .* without a template argument list
err_template_missing_args
Error
Semantic Issue
Empty Group
use of class 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|template template parameter|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 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_class_template
Error
Semantic Issue
Empty Group
template argument does not refer to a class 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_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 its 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_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_ms_deref_template_argument
ExtWarn
Semantic Issue
microsoft
non-type template argument containing a dereference operation is a Microsoft extension
ext_ms_delayed_template_argument
ExtWarn
Semantic Issue
microsoft
using the undeclared type .* as a default template argument is a Microsoft extension
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
err_template_spec_decl_function_scope
Error
Semantic Issue
Empty Group
explicit specialization of .* in function scope
err_template_spec_decl_class_scope
Error
Semantic Issue
Empty Group
explicit specialization of .* in class scope
err_template_spec_decl_friend
Error
Semantic Issue
Empty Group
cannot declare an explicit specialization in a friend
err_template_spec_decl_out_of_scope_global
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 originally be declared in the global scope
err_template_spec_decl_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 .* must originally be declared in namespace .*
ext_template_spec_decl_out_of_scope
ExtWarn
Semantic Issue
c++11-extensions
first declaration of (class template|class template partial|variable template|variable template partial|function template|member function|static data member|member class|member enumeration) specialization of .* outside namespace .* is a C\+\+11 extension
warn_cxx98_compat_template_spec_decl_out_of_scope
Warning
Semantic Issue
c++98-compat
(class template|class template partial|variable template|variable template partial|function template|member function|static data member|member class|member enumeration) specialization of .* outside namespace .* is incompatible with C\+\+98
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 .*
ext_ms_template_spec_redecl_out_of_scope
ExtWarn
Semantic Issue
microsoft
(class template|class template partial|variable template|variable template partial|function template|member function|static data member|member class|member enumeration) specialization of .* outside namespace enclosing .* 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)
err_function_specialization_in_class
Error
Semantic Issue
Empty Group
cannot specialize a function .* within class scope
ext_function_specialization_in_class
ExtWarn
Semantic Issue
microsoft
explicit specialization of .* within class scope is a Microsoft extension
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_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
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
warn_partial_specs_not_deducible
Warning
Semantic Issue
Empty Group
(class|variable) template partial specialization contains (a template parameter|template parameters) that cannot be deduced; this partial specialization will never be used
note_partial_spec_unused_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_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_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_partial_spec_deduct_instantiation_here
Note
Semantic Issue
Empty Group
during template argument deduction for class 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_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_explicit_instantiation_duplicate
Error
Semantic Issue
Empty Group
duplicate explicit instantiation of .*
ext_explicit_instantiation_duplicate
ExtWarn
Semantic Issue
microsoft
duplicate explicit instantiation of .* ignored as a Microsoft extension
note_previous_explicit_instantiation
Note
Semantic Issue
Empty Group
previous explicit instantiation is here
ext_explicit_instantiation_after_specialization
Extension
Semantic Issue
c++11-extensions
explicit instantiation of .* that occurs after an explicit specialization will be ignored \(C\+\+11 extension\)
warn_cxx98_compat_explicit_instantiation_after_specialization
Warning
Semantic Issue
c++98-compat-pedantic
explicit instantiation of .* that occurs after an explicit specialization is incompatible with C\+\+98
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_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 specification in explicit instantiation does not match instantiated one
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_type
Error
Semantic Issue
Empty Group
typename specifier refers to non-type member .* in .*
note_typename_refers_here
Note
Semantic Issue
Empty Group
referenced member .* is declared here
err_typename_missing
Error
Semantic Issue
Empty Group
missing 'typename' prior to dependent type 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
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
Error
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_alias_template_expansion_into_fixed_list
Error
Semantic Issue
Empty Group
pack expansion used as argument for non-pack parameter of alias template
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) 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_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_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
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
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_partial_availability
Warning
Semantic Issue
partial-availability
.* is only available conditionally
note_partial_availability_silence
Note
Semantic Issue
Empty Group
explicitly redeclare .* to silence this warning
warn_partial_message
Warning
Semantic Issue
partial-availability
.* is partial: .*
warn_partial_fwdclass_message
Warning
Semantic Issue
partial-availability
.* may be partial because the receiver type is unknown
warn_deprecated
Warning
Semantic Issue
deprecated-declarations
.* is deprecated
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)
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|partial) here
note_implicitly_deleted
Note
Semantic Issue
Empty Group
explicitly defaulted function was implicitly deleted here
note_inherited_deleted_here
Note
Semantic Issue
Empty Group
deleted constructor was inherited here
note_cannot_inherit
Note
Semantic Issue
Empty Group
constructor cannot be inherited
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' to make it a prototype for a zero-parameter function
warn_missing_variable_declarations
Warning
Semantic Issue
missing-variable-declarations
no previous extern declaration for non-static variable .*
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
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)
err_redefinition_extern_inline
Error
Semantic Issue
Empty Group
redefinition of a 'extern inline' function .* is not supported in (C99 mode|C\+\+)
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|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) of .* 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)|destructor)(||s||)
note_deleted_default_ctor_uninit_field
Note
Semantic Issue
Empty Group
default constructor of .* 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 .* 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
warn_undefined_inline
Warning
Semantic Issue
undefined-inline
inline function .* is not defined
note_used_here
Note
Semantic Issue
Empty Group
used here
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
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
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_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
elaborated type refers to (a non-tag type|a typedef|a type alias|a template|a type alias template)
err_tag_reference_conflict
Error
Semantic Issue
Empty Group
implicit declaration introduced by elaborated type conflicts with (a declaration|a typedef|a type alias|a template) 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_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)
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)
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
Extension
Semantic Issue
microsoft
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\)
warn_array_new_too_large
Warning
Semantic Issue
bad-array-new-length
array is too large \(.* elements\)
warn_padded_struct_field
Warning
Semantic Issue
padded
padding (struct|interface|class) .* with .* (byte|bit)(|s) to align .*
warn_padded_struct_anon_field
Warning
Semantic Issue
padded
padding (struct|interface|class) .* with .* (byte|bit)(|s) to align anonymous bit-field
warn_padded_struct_size
Warning
Semantic Issue
padded
padding size of .* with .* (byte|bit)(|s) to alignment boundary
warn_unnecessary_packed
Warning
Semantic Issue
packed
packed attribute is unnecessary for .*
err_typecheck_negative_array_size
Error
Semantic Issue
Empty Group
array size is negative
warn_typecheck_negative_array_new_size
Warning
Semantic Issue
bad-array-new-length
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\+\+
warn_typecheck_zero_static_array_size
Warning
Semantic Issue
array-bounds
'static' has no effect on zero-length arrays
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_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
Empty Group
excess elements in (array|vector|scalar|union|struct) initializer
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
Empty Group
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
Empty Group
initializer-string for char array is too long
warn_missing_field_initializers
Warning
Semantic Issue
missing-field-initializers
missing field .* initializer
warn_braces_around_scalar_init
Warning
Semantic Issue
braced-scalar-init
braces around scalar initializer
ext_many_braces_around_scalar_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
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_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_size
Error
Semantic Issue
Empty Group
size of bit-field .* \(.* bits\) exceeds size of its type \(.* bits\)
err_anon_bitfield_width_exceeds_type_size
Error
Semantic Issue
Empty Group
size of anonymous bit-field \(.* bits\) exceeds size of its type \(.* bits\)
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_size
Warning
Semantic Issue
Empty Group
size of bit-field .* \(.* bits\) exceeds the size of its type; value will be truncated to .* bits
warn_anon_bitfield_width_exceeds_type_size
Warning
Semantic Issue
Empty Group
size of anonymous bit-field \(.* bits\) exceeds size of its type; value will be truncated to .* bits
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
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 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 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 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_vla
Note
Semantic Issue
Empty Group
jump bypasses initialization of variable length array
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_ownership
Note
Semantic Issue
Empty Group
jump bypasses initialization of retaining variable
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_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_ownership
Note
Semantic Issue
Empty Group
jump exits scope of retaining 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
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
Error
Semantic Issue
Empty Group
field has incomplete 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 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 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_arc_weak_no_runtime
Error
ARC Weak References
Empty Group
the current deployment target does not support automated __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_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_object_in_tag
Error
ARC Restrictions
Empty Group
ARC forbids (Objective-C objects|blocks) in (struct|interface|union|<<ERROR>>|enum)
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 can't be modified in ARC by default; declare the variable __strong to allow this
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)
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_illegal_decl_array_incomplete_type
Error
Semantic Issue
Empty Group
array has incomplete 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 |)type .* (||||||which is not trivially copyable)
ext_sizeof_alignof_function_type
Extension
Semantic Issue
pointer-arith
invalid application of '(sizeof|alignof|vec_step)' to a function type
ext_sizeof_alignof_void_type
Extension
Semantic Issue
pointer-arith
invalid application of '(sizeof|alignof|vec_step)' to a void type
err_opencl_sizeof_alignof_type
Error
Semantic Issue
Empty Group
invalid application of '(sizeof|alignof|vec_step|__builtin_omp_required_simd_align)' to a void type
err_sizeof_alignof_incomplete_type
Error
Semantic Issue
Empty Group
invalid application of '(sizeof|alignof|vec_step|__builtin_omp_required_simd_align)' to an incomplete type .*
err_sizeof_alignof_function_type
Error
Semantic Issue
Empty Group
invalid application of '(sizeof|alignof|vec_step|__builtin_omp_required_simd_align)' 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_bitfield
Error
Semantic Issue
Empty Group
invalid application of '(sizeof|alignof)' 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_extended_field_designator
Extension
Semantic Issue
extended-offsetof
using extended field designator is an extension
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_floatingpoint_eq
Warning
Semantic Issue
float-equal
comparing floating point with == or != is unsafe
warn_division_by_zero
Warning
Semantic Issue
division-by-zero
division by zero is undefined
warn_remainder_by_zero
Warning
Semantic Issue
division-by-zero
remainder 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
note_precedence_conditional_first
Note
Semantic Issue
Empty Group
place parentheses around the '\?:' expression to evaluate it first
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_and_in_bitwise_or
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
warn_addition_in_bitshift
Warning
Semantic Issue
shift-op-parentheses
operator '.*' has lower precedence than '.*'; '.*' will be evaluated first
warn_self_assignment
Warning
Semantic Issue
self-assign
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_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
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_type
Error
Semantic Issue
Empty Group
subscript of pointer to incomplete 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 .*
error_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_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
warn_member_extra_qualification
Warning
Semantic Issue
microsoft
extra qualification on member .*
err_member_extra_qualification
Error
Semantic Issue
Empty Group
extra qualification on member .*
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_type
Error
Semantic Issue
Empty Group
arithmetic on a pointer to an incomplete 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 .*
err_typecheck_decl_incomplete_type___float128
Error
Semantic Issue
Empty Group
support for type '__float128' is not yet implemented
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_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) 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_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
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
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 .*\)
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
ext_typecheck_ordered_comparison_of_function_pointers
ExtWarn
Semantic Issue
Empty Group
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
Empty Group
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 .*\)|)
ext_typecheck_comparison_of_distinct_pointers_nonstandard
ExtWarn
Semantic Issue
compare-distinct-pointer-types
comparison of distinct pointer types \(.* and .*\) uses non-standard composite pointer type .*
err_typecheck_op_on_nonoverlapping_address_space_pointers
Error
Semantic Issue
Empty Group
(comparison between ( \(.* and .*\)|)|arithmetic operation with operands of type ( \(.* and .*\)|)) which are pointers to non-overlapping address spaces
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 .*|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)
warn_mixed_sign_comparison
Warning
Semantic Issue
sign-compare
comparison of integers of different signs: .* and .*
warn_lunsigned_always_true_comparison
Warning
Semantic Issue
tautological-compare
comparison of unsigned(| enum) expression .* is always .*
warn_out_of_range_compare
Warning
Semantic Issue
tautological-constant-out-of-range-compare
comparison of (constant .*|true|false) with (expression of type .*|boolean expression) is always (false|true)
warn_runsigned_always_true_comparison
Warning
Semantic Issue
tautological-compare
comparison of .* unsigned(| enum) expression is always .*
warn_comparison_of_mixed_enum_types
Warning
Semantic Issue
enum-compare
comparison of two values with different enumeration types( \(.* and .*\)|)
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_comparison
Warning
Semantic Issue
logical-not-parentheses
logical not is only applied to the left hand side of this comparison
note_logical_not_fix
Note
Semantic Issue
Empty Group
add parentheses after the '!' to evaluate the comparison 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
(static |non-)member function (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_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
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
error_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
error_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 .*\?
error_method_not_found_with_typo
Error
Semantic Issue
Empty Group
(instance|class) method .* not found ; did you mean .*\?
error_no_super_class_message
Error
Semantic Issue
Empty Group
no @interface declaration found in class messaging of .*
error_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 .*\?
error_objc_throw_expects_object
Error
Semantic Issue
Empty Group
@throw requires an Objective-C object type \(.* invalid\)
error_objc_synchronized_expects_object
Error
Semantic Issue
Empty Group
@synchronized requires an Objective-C object type \(.* invalid\)
error_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
can't 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_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
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) 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) 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_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
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
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_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
.* is not a reference or pointer
err_bad_dynamic_cast_not_class
Error
Semantic Issue
Empty Group
.* is not a class
err_bad_dynamic_cast_incomplete
Error
Semantic Issue
Empty Group
.* is an incomplete type
err_bad_dynamic_cast_not_ptr
Error
Semantic Issue
Empty Group
.* is not a pointer
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 expressions
err_bad_new_type
Error
Semantic Issue
Empty Group
cannot allocate (function|reference) type .* with new
err_new_incomplete_type
Error
Semantic Issue
Empty Group
allocation of incomplete 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_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
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 .*
note_member_declared_here
Note
Semantic Issue
Empty Group
member .* declared here
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
err_increment_decrement_enum
Error
Semantic Issue
Empty Group
cannot (decrement|increment) expression of enum type .*
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_rvalue_ref
Error
Semantic Issue
Empty Group
cannot catch exceptions by rvalue reference
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 .*
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
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-virtual-dtor
delete called on .* that has virtual functions but non-virtual destructor
warn_delete_abstract_non_virtual_dtor
Warning
Semantic Issue
delete-non-virtual-dtor
delete 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 \((none|const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict) vs (none|const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict)\))
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_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_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_return_in_constructor_handler
Error
Semantic Issue
Empty Group
return in the catch of a function try block of a constructor is illegal
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_this_capture_with_copy_default
Error
Lambda Issue
Empty Group
'this' cannot be explicitly captured 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_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
control may reach end of non-void lambda
warn_falloff_nonvoid_lambda
Warning
Lambda Issue
return-type
control reaches end of non-void lambda
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
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 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
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
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_type_defined_in_condition
Error
Semantic Issue
Empty Group
types may not be defined in conditions
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 .*|)
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
cannot use typeid with -fno-rtti
err_no_dynamic_cast_with_fno_rtti
Error
Semantic Issue
Empty Group
cannot use dynamic_cast with -fno-rtti
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 \((none|const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict) vs (none|const|restrict|const and restrict|volatile|const and volatile|volatile and restrict|const, volatile, and restrict)\))
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
not_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))
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 &)
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 &)
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
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
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 &)
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
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
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_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_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_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 .* 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_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_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 _Atomic 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_bitwise_needs_atomic_int
Error
Semantic Issue
Empty Group
address argument to bitwise 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_load_store_uses_lib
Error
Semantic Issue
Empty Group
atomic (load|store) requires runtime support that is not available for this target
err_deleted_function_use
Error
Semantic Issue
Empty Group
attempt to use a deleted function
err_kern_type_not_void_return
Error
Semantic Issue
Empty Group
kernel function type .* must have void return type
err_config_scalar_return
Error
Semantic Issue
Empty Group
CUDA special function 'cudaConfigureCall' 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
warn_host_calls_from_host_device
Warning
Semantic Issue
cuda-compat
calling __host__ function .* from __host__ __device__ function .* can lead to runtime errors
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_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
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_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 .*\)|)
ext_typecheck_cond_incompatible_operands_nonstandard
ExtWarn
Semantic Issue
Empty Group
incompatible operand types( \(.* and .*\)|) use non-standard composite pointer type .*
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_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_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 warn_unused_result attribute
warn_unused_volatile
Warning
Semantic Issue
unused-volatile-lvalue
expression result unused; assign into a variable to force a volatile load
warn_unused_comparison
Warning
Semantic Issue
unused-comparison
((|in)equality|relational) 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
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
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_immediate_expected
Error
Inline Assembly Issue
Empty Group
constraint '.*' expects an integer constant expression
err_asm_invalid_type_in_input
Error
Inline Assembly Issue
Empty Group
invalid type .* in asm input for constraint '.*'
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_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_bitfield_in_memory_constraint
Error
Inline Assembly Issue
Empty Group
reference to a bit-field in asm (input|output) with a memory constraint '.*'
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 \".*\"
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_variable
Error
Semantic Issue
Empty Group
pointers to functions are not allowed
err_opencl_taking_function_address
Error
Semantic Issue
Empty Group
taking address of function 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
(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_in_class_initializer_not_yet_parsed
Error
Semantic Issue
Empty Group
cannot use defaulted default constructor of .* within the class outside of member functions because .* has an initializer
err_in_class_initializer_not_yet_parsed_outer_class
Error
Semantic Issue
Empty Group
cannot use defaulted default constructor of .* within .* outside of member functions because .* has an initializer
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_union_member_redecl
Error
Semantic Issue
Empty Group
member of anonymous union redeclares .*
err_anonymous_struct_member_redecl
Error
Semantic Issue
Empty Group
member of anonymous struct 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
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
anonymous (structs|unions) are a Microsoft extension
err_reference_to_local_var_in_enclosing_function
Error
Semantic Issue
Empty Group
reference to local variable .* declared in enclosing function .*
err_reference_to_local_var_in_enclosing_block
Error
Semantic Issue
Empty Group
reference to local variable .* declared in enclosing block literal
err_reference_to_local_var_in_enclosing_lambda
Error
Semantic Issue
Empty Group
reference to local variable .* declared in enclosing lambda expression
err_reference_to_local_var_in_enclosing_context
Error
Semantic Issue
Empty Group
reference to local variable .* declared in enclosing context
err_static_data_member_not_allowed_in_local_class
Error
Semantic Issue
Empty Group
static data member .* not allowed in local class .*
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 .*:.*
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_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_params
Error
Semantic Issue
Empty Group
parameter declaration for literal operator .* is not valid
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
Empty Group
conversion function converting .* to itself will never be used
warn_conv_to_base_not_used
Warning
Semantic Issue
Empty Group
conversion function converting .* to its base class .* will never be used
warn_conv_to_void_not_used
Warning
Semantic Issue
Empty Group
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 (<<ERROR>>|copy constructor|move constructor|copy assignment operator|move assignment operator|<<ERROR>>) 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_exception_spec
Error
Semantic Issue
Empty Group
exception specification of explicitly defaulted (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor) does not match the calculated one
err_incorrect_defaulted_constexpr
Error
Semantic Issue
Empty Group
defaulted definition of (default constructor|copy constructor|move constructor|copy assignment operator|move assignment operator) is not constexpr
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
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_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_index_out_of_bounds
Note
Semantic Issue
Empty Group
array .* declared here
warn_printf_insufficient_data_args
Warning
Semantic Issue
format
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
format specifies type .* but the argument has (type|underlying type) .*
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_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, 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
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
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\?
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
warn_ret_stack_addr
Warning
Semantic Issue
return-stack-address
address of stack memory associated with local variable .* returned
warn_ret_stack_ref
Warning
Semantic Issue
return-stack-address
reference to stack memory associated with local variable .* returned
warn_ret_local_temp_addr
Warning
Semantic Issue
return-stack-address
returning address of local temporary object
warn_ret_local_temp_ref
Warning
Semantic Issue
return-stack-address
returning 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_ref_var_local_bind
Note
Semantic Issue
Empty Group
binding reference variable .* here
warn_bind_ref_member_to_parameter
Warning
Semantic Issue
dangling-field
binding reference member .* to stack allocated parameter .*
warn_init_ptr_member_to_parameter_addr
Warning
Semantic Issue
dangling-field
initializing pointer member .* with the stack address of parameter .*
warn_bind_ref_member_to_temporary
Warning
Semantic Issue
dangling-field
binding reference (|subobject of )member .* to a temporary value
note_ref_or_ptr_member_declared_here
Note
Semantic Issue
Empty Group
(reference|pointer) member declared here
note_ref_subobject_of_member_declared_here
Note
Semantic Issue
Empty Group
member with reference subobject declared here
warn_comparison_always
Warning
Semantic Issue
tautological-compare
(self-|array )comparison always evaluates to (false|true|a constant)
warn_comparison_bitwise_always
Warning
Semantic Issue
tautological-compare
bitwise comparison always evaluates to (false|true)
warn_tautological_overlap_comparison
Warning
Semantic Issue
tautological-overlap-compare
overlapping comparisons always evaluate to (false|true)
warn_stringcompare
Warning
Semantic Issue
string-compare
result of comparison against (a string literal|@encode) is unspecified \(use strncmp 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
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
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_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_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: .*, .*, .*\.\.\.)
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
clang::fallthrough 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
warn_fallthrough_attr_invalid_placement
Warning
Semantic Issue
implicit-fallthrough
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_used_in_non_variadic_function
Error
Semantic Issue
Empty Group
'va_start' used in function with fixed args
warn_second_parameter_of_va_start_not_last_named_argument
Warning
Semantic Issue
varargs
second parameter of 'va_start' not last named argument
warn_va_start_of_reference_type_is_undefined
Warning
Semantic Issue
varargs
'va_start' has undefined behavior with reference types
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_shufflevector_non_vector
Error
Semantic Issue
Empty Group
first two arguments to __builtin_shufflevector must be vectors
err_shufflevector_incompatible_vector
Error
Semantic Issue
Empty Group
first two arguments to __builtin_shufflevector must have the same type
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 should be a value from .* to .*
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_ppc_builtin_only_on_pwr7
Error
Semantic Issue
Empty Group
this builtin is only valid on POWER7 or later CPUs
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_invalid_sign_spec
Extension
Semantic Issue
Empty Group
'.*' 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_requires_extension
Error
Semantic Issue
Empty Group
use of type .* requires .* extension to be enabled
err_int128_unsupported
Error
Semantic Issue
Empty Group
__int128 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
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
error_ivar_use_in_class_method
Error
Semantic Issue
Empty Group
instance variable .* accessed in class method
error_implicit_ivar_access
Error
Semantic Issue
Empty Group
instance variable .* cannot be accessed because 'self' has been redeclared
error_private_ivar_access
Error
Semantic Issue
Empty Group
instance variable .* is private
error_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_suggest
Error
Semantic Issue
Empty Group
no template named .*; did you mean .*\?
err_no_member_template_suggest
Error
Semantic Issue
Empty Group
no template named .* in .*; did you mean (|simply ).*\?
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_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_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 type should be an integral value not .*
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
ext_deprecated_attr_is_a_cxx14_extension
ExtWarn
Semantic Issue
c++14-extensions
use of the 'deprecated' attribute is a C\+\+14 extension
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_opencl_ptrptr_kernel_param
Error
Semantic Issue
Empty Group
kernel parameter cannot be declared as a pointer to a pointer
err_opencl_private_ptr_kernel_param
Error
Semantic Issue
Empty Group
kernel parameter cannot be declared as a pointer to the __private address space
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
bitfields are not supported in OpenCL
err_opencl_vla
Error
Semantic Issue
Empty Group
variable length arrays are not supported in OpenCL
err_bad_kernel_param_type
Error
Semantic Issue
Empty Group
.* cannot be used as the type of a kernel parameter
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_event_t_global_var
Error
Semantic Issue
Empty Group
the event_t type cannot be used to declare a program scope variable
err_event_t_struct_field
Error
Semantic Issue
Empty Group
the event_t 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_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_global_invalid_addr_space
Error
Semantic Issue
Empty Group
global variables must have a constant address space qualifier
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 a 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_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_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 variable with incomplete type .*
err_omp_unexpected_clause_value
Error
OpenMP Issue
Empty Group
expected .* in OpenMP clause '.*'
err_omp_expected_var_name
Error
OpenMP Issue
Empty Group
expected variable name
err_omp_expected_var_name_or_array_item
Error
OpenMP Issue
Empty Group
expected variable name, array element or array section
note_omp_task_predetermined_firstprivate_here
Note
OpenMP Issue
Empty Group
predetermined as a firstprivate in a task construct here
err_omp_clause_ref_type_arg
Error
OpenMP Issue
Empty Group
arguments of OpenMP clause '.*' cannot be of reference type .*
err_omp_task_predetermined_firstprivate_ref_type_arg
Error
OpenMP Issue
Empty Group
predetermined as a firstprivate in a task construct variable cannot be of reference type .*
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_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_expr
Note
OpenMP Issue
Empty Group
as specified in 'collapse' clause
err_omp_negative_expression_in_clause
Error
OpenMP Issue
Empty Group
argument to '.*' clause must be a positive integer value
err_omp_not_integral
Error
OpenMP Issue
Empty Group
expression must have integral or unscoped enumeration type, not .*
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_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_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_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_aligned_twice
Error
OpenMP Issue
Empty Group
a variable cannot appear in more than one aligned 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 must be of the 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 '>='\) 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'
err_omp_reduction_type_array
Error
OpenMP Issue
Empty Group
a reduction variable with array type .*
err_omp_reduction_ref_type_arg
Error
OpenMP Issue
Empty Group
argument of OpenMP clause 'reduction' must reference the same object in all threads
err_omp_clause_not_arithmetic_type_arg
Error
OpenMP Issue
Empty Group
arguments of OpenMP clause 'reduction' 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 'reduction' 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
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
variable of type .* is not valid for specified reduction operation: unable to provide default initialization value
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\?)
err_omp_prohibited_region_simd
Error
OpenMP Issue
Empty Group
OpenMP constructs may not be nested inside a simd region
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_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
note_omp_atomic_previous_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_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
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_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) of .* must be imported from module '.*' before it is required
err_module_unimported_use_multiple
Error
Modules Issue
Empty Group
(declaration|definition|default argument) of .* must be imported from one of the following modules before it is required:.*
err_module_import_in_extern_c
Error
Modules Issue
Empty Group
import of C\+\+ module '.*' appears within extern \"C\" language linkage specification
note_module_import_in_extern_c
Note
Modules Issue
Empty Group
extern \"C\" language linkage specification begins here
err_module_import_not_at_top_level
Error
Modules Issue
Empty Group
import 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
warn_not_a_doxygen_trailing_member_comment
Warning
Documentation Issue
documentation
not a Doxygen trailing comment
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) no data and .* (has|have) mismatched data that will be ignored
warn_profile_data_unprofiled
Warning
Instrumentation Issue
profile-instr-unprofiled
no profile data available for file \".*\"
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 .*
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\)
err_type_arg_explicit_nullability
Error
Nullability Issue
Empty Group
type argument .* cannot explicitly specify nullability
err_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_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_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 '\*'\?
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
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|current translation unit) was 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_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 '.*'\?
err_imported_module_modmap_changed
Error
AST Deserialization Issue
Empty Group
module '.*' 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_not_a_pch_file
Error
AST Deserialization Issue
Empty Group
'.*' does not appear to be a precompiled header file
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_module_odr_violation_different_definitions
Note
AST Deserialization Issue
Empty Group
definition in module '.*' is here
err_module_odr_violation_different_instantiations
Error
AST Deserialization Issue
Empty Group
instantiation of .* is different in different modules
