diff options
author | dim <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
commit | 50b73317314e889cf39c7b1d6cbf419fa7502f22 (patch) | |
tree | be1815eb79b42ff482a8562b13c2dcbf0c5dcbee /test/Misc/warning-flags.c | |
parent | dc04cb328508e61aad809d9b53b12f9799a00e7d (diff) | |
download | FreeBSD-src-50b73317314e889cf39c7b1d6cbf419fa7502f22.zip FreeBSD-src-50b73317314e889cf39c7b1d6cbf419fa7502f22.tar.gz |
Vendor import of clang trunk r154661:
http://llvm.org/svn/llvm-project/cfe/trunk@r154661
Diffstat (limited to 'test/Misc/warning-flags.c')
-rw-r--r-- | test/Misc/warning-flags.c | 46 |
1 files changed, 1 insertions, 45 deletions
diff --git a/test/Misc/warning-flags.c b/test/Misc/warning-flags.c index 2f7103a..bc0c941 100644 --- a/test/Misc/warning-flags.c +++ b/test/Misc/warning-flags.c @@ -17,28 +17,14 @@ This test serves two purposes: The list of warnings below should NEVER grow. It should gradually shrink to 0. -CHECK: Warnings without flags (297): -CHECK-NEXT: backslash_newline_space -CHECK-NEXT: charize_microsoft_ext -CHECK-NEXT: ext_anon_param_requires_type_specifier +CHECK: Warnings without flags (253): CHECK-NEXT: ext_anonymous_struct_union_qualified -CHECK-NEXT: ext_array_init_copy -CHECK-NEXT: ext_auto_storage_class CHECK-NEXT: ext_binary_literal -CHECK-NEXT: ext_c99_array_usage -CHECK-NEXT: ext_c99_compound_literal -CHECK-NEXT: ext_c99_variable_decl_in_for_loop -CHECK-NEXT: ext_c99_whitespace_required_after_macro_name CHECK-NEXT: ext_cast_fn_obj -CHECK-NEXT: ext_catch_incomplete_ptr -CHECK-NEXT: ext_catch_incomplete_ref CHECK-NEXT: ext_delete_void_ptr_operand CHECK-NEXT: ext_designated_init -CHECK-NEXT: ext_designated_init_cxx -CHECK-NEXT: ext_dollar_in_identifier CHECK-NEXT: ext_duplicate_declspec CHECK-NEXT: ext_ellipsis_exception_spec -CHECK-NEXT: ext_embedded_directive CHECK-NEXT: ext_empty_fnmacro_arg CHECK-NEXT: ext_empty_source_file CHECK-NEXT: ext_enum_friend @@ -47,11 +33,8 @@ CHECK-NEXT: ext_enumerator_list_comma CHECK-NEXT: ext_expected_semi_decl_list CHECK-NEXT: ext_explicit_instantiation_without_qualified_id CHECK-NEXT: ext_explicit_specialization_storage_class -CHECK-NEXT: ext_expr_not_ice CHECK-NEXT: ext_extra_ivar_semi CHECK-NEXT: ext_extra_struct_semi -CHECK-NEXT: ext_flexible_array_in_array -CHECK-NEXT: ext_flexible_array_in_struct CHECK-NEXT: ext_forward_ref_enum CHECK-NEXT: ext_freestanding_complex CHECK-NEXT: ext_hexconstant_invalid @@ -68,15 +51,12 @@ CHECK-NEXT: ext_missing_varargs_arg CHECK-NEXT: ext_missing_whitespace_after_macro_name CHECK-NEXT: ext_new_paren_array_nonconst CHECK-NEXT: ext_nonstandard_escape -CHECK-NEXT: ext_offsetof_extended_field_designator CHECK-NEXT: ext_param_not_declared -CHECK-NEXT: ext_param_promoted_not_compatible_with_prototype CHECK-NEXT: ext_paste_comma CHECK-NEXT: ext_plain_complex CHECK-NEXT: ext_pp_bad_vaargs_use CHECK-NEXT: ext_pp_comma_expr CHECK-NEXT: ext_pp_ident_directive -CHECK-NEXT: ext_pp_import_directive CHECK-NEXT: ext_pp_include_next_directive CHECK-NEXT: ext_pp_line_too_big CHECK-NEXT: ext_pp_macro_redef @@ -96,8 +76,6 @@ CHECK-NEXT: ext_typecheck_comparison_of_pointer_integer CHECK-NEXT: ext_typecheck_cond_incompatible_operands CHECK-NEXT: ext_typecheck_cond_incompatible_operands_nonstandard CHECK-NEXT: ext_typecheck_cond_one_void -CHECK-NEXT: ext_typecheck_convert_int_pointer -CHECK-NEXT: ext_typecheck_convert_pointer_int CHECK-NEXT: ext_typecheck_convert_pointer_void_func CHECK-NEXT: ext_typecheck_ordered_comparison_of_function_pointers CHECK-NEXT: ext_typecheck_ordered_comparison_of_pointer_and_zero @@ -106,9 +84,6 @@ CHECK-NEXT: ext_typecheck_zero_array_size CHECK-NEXT: ext_unknown_escape CHECK-NEXT: ext_using_undefined_std CHECK-NEXT: ext_vla_folded_to_constant -CHECK-NEXT: null_in_char -CHECK-NEXT: null_in_file -CHECK-NEXT: null_in_string CHECK-NEXT: pp_include_next_absolute_path CHECK-NEXT: pp_include_next_in_primary CHECK-NEXT: pp_invalid_string_literal @@ -126,7 +101,6 @@ CHECK-NEXT: warn_attribute_iboutlet CHECK-NEXT: warn_attribute_ignored CHECK-NEXT: warn_attribute_ignored_for_field_of_type CHECK-NEXT: warn_attribute_malloc_pointer_only -CHECK-NEXT: warn_attribute_method_def CHECK-NEXT: warn_attribute_nonnull_no_pointers CHECK-NEXT: warn_attribute_precede_definition CHECK-NEXT: warn_attribute_sentinel_named_arguments @@ -145,7 +119,6 @@ CHECK-NEXT: warn_bad_receiver_type CHECK-NEXT: warn_bitfield_width_exceeds_type_size CHECK-NEXT: warn_bool_switch_condition CHECK-NEXT: warn_braces_around_scalar_init -CHECK-NEXT: warn_builtin_unknown CHECK-NEXT: warn_c_kext CHECK-NEXT: warn_call_to_pure_virtual_member_function_from_ctor_dtor CHECK-NEXT: warn_call_wrong_number_of_arguments @@ -161,24 +134,18 @@ CHECK-NEXT: warn_conv_to_base_not_used CHECK-NEXT: warn_conv_to_self_not_used CHECK-NEXT: warn_conv_to_void_not_used CHECK-NEXT: warn_cxx0x_right_shift_in_template_arg -CHECK-NEXT: warn_decl_in_param_list CHECK-NEXT: warn_delete_array_type -CHECK-NEXT: warn_delete_incomplete CHECK-NEXT: warn_division_by_zero CHECK-NEXT: warn_double_const_requires_fp64 CHECK-NEXT: warn_drv_assuming_mfloat_abi_is CHECK-NEXT: warn_drv_clang_unsupported -CHECK-NEXT: warn_drv_conflicting_deployment_targets CHECK-NEXT: warn_drv_input_file_unused CHECK-NEXT: warn_drv_not_using_clang_arch CHECK-NEXT: warn_drv_not_using_clang_cpp CHECK-NEXT: warn_drv_not_using_clang_cxx CHECK-NEXT: warn_drv_objc_gc_unsupported CHECK-NEXT: warn_drv_pch_not_first_include -CHECK-NEXT: warn_drv_pipe_ignored_with_save_temps CHECK-NEXT: warn_drv_preprocessed_input_file_unused -CHECK-NEXT: warn_drv_unsupported_option_argument -CHECK-NEXT: warn_drv_unused_argument CHECK-NEXT: warn_dup_category_def CHECK-NEXT: warn_duplicate_protocol_def CHECK-NEXT: warn_enum_too_large @@ -201,8 +168,6 @@ CHECK-NEXT: warn_hex_escape_too_large CHECK-NEXT: warn_ignoring_ftabstop_value CHECK-NEXT: warn_illegal_constant_array_size CHECK-NEXT: warn_implements_nscopying -CHECK-NEXT: warn_implicit_decl_requires_setjmp -CHECK-NEXT: warn_implicit_decl_requires_stdio CHECK-NEXT: warn_incompatible_qualified_id CHECK-NEXT: warn_initializer_string_for_char_array_too_long CHECK-NEXT: warn_inline_namespace_reopened_noninline @@ -211,7 +176,6 @@ CHECK-NEXT: warn_instance_method_on_class_found CHECK-NEXT: warn_integer_too_large CHECK-NEXT: warn_integer_too_large_for_signed CHECK-NEXT: warn_invalid_asm_cast_lvalue -CHECK-NEXT: warn_label_attribute_not_unused CHECK-NEXT: warn_many_braces_around_scalar_init CHECK-NEXT: warn_maynot_respond CHECK-NEXT: warn_member_extra_qualification @@ -236,7 +200,6 @@ CHECK-NEXT: warn_octal_escape_too_large CHECK-NEXT: warn_odr_tag_type_inconsistent CHECK-NEXT: warn_on_superclass_use CHECK-NEXT: warn_param_default_argument_redefinition -CHECK-NEXT: warn_parens_disambiguated_as_function_decl CHECK-NEXT: warn_partial_specs_not_deducible CHECK-NEXT: warn_pointer_attribute_wrong_type CHECK-NEXT: warn_pp_convert_lhs_to_positive @@ -258,7 +221,6 @@ CHECK-NEXT: warn_pragma_options_align_unsupported_option CHECK-NEXT: warn_pragma_options_expected_align CHECK-NEXT: warn_pragma_pack_invalid_action CHECK-NEXT: warn_pragma_pack_invalid_alignment -CHECK-NEXT: warn_pragma_pack_invalid_constant CHECK-NEXT: warn_pragma_pack_malformed CHECK-NEXT: warn_pragma_pack_pop_failed CHECK-NEXT: warn_pragma_pack_pop_identifer_and_alignment @@ -286,8 +248,6 @@ CHECK-NEXT: warn_remainder_by_zero CHECK-NEXT: warn_root_inst_method_not_found CHECK-NEXT: warn_second_parameter_of_va_start_not_last_named_argument CHECK-NEXT: warn_second_parameter_to_va_arg_never_compatible -CHECK-NEXT: warn_setter_getter_impl_required -CHECK-NEXT: warn_setter_getter_impl_required_in_category CHECK-NEXT: warn_standalone_specifier CHECK-NEXT: warn_static_inline_explicit_inst_ignored CHECK-NEXT: warn_static_non_static @@ -298,16 +258,12 @@ CHECK-NEXT: warn_transparent_union_attribute_field_size_align CHECK-NEXT: warn_transparent_union_attribute_floating CHECK-NEXT: warn_transparent_union_attribute_not_definition CHECK-NEXT: warn_transparent_union_attribute_zero_fields -CHECK-NEXT: warn_transparent_union_nonpointer CHECK-NEXT: warn_typecheck_function_qualifiers -CHECK-NEXT: warn_ucn_escape_too_large -CHECK-NEXT: warn_ucn_not_valid_in_c89 CHECK-NEXT: warn_unavailable_fwdclass_message CHECK-NEXT: warn_undef_interface CHECK-NEXT: warn_undef_interface_suggest CHECK-NEXT: warn_undef_protocolref CHECK-NEXT: warn_undefined_internal -CHECK-NEXT: warn_uninit_val CHECK-NEXT: warn_unknown_analyzer_checker CHECK-NEXT: warn_unknown_method_family CHECK-NEXT: warn_unterminated_char |