From: Chandler Carruth Date: Mon, 30 Sep 2013 07:46:08 +0000 (+0000) Subject: Add a bunch of other GCC '-f' options and ignore them. This covers every X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=144fe706a0303860c03406e4d090e2f2191dfd0e;p=clang Add a bunch of other GCC '-f' options and ignore them. This covers every such option I've been able to find in the wild in our build system. Note that I haven't added test cases for this. I can do so if folks want, but they're *really* boring considering that this is all generated code to parse and ignore unsued options. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191653 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 89c63d7f37..a2be903a94 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -1381,20 +1381,37 @@ def fprofile_use_eq : Joined<["-"], "fprofile-use=">, Group, Group; def falign_functions_eq : Joined<["-"], "falign-functions=">, Group; +def ffixed_line_length_VALUE : Joined<["-"], "ffixed-line-length-">, Group; + defm eliminate_unused_debug_types : BooleanFFlag<"eliminate-unused-debug-types">, Group; defm float_store : BooleanFFlag<"float-store">, Group; +defm function_attribute_list : BooleanFFlag<"function-attribute-list">, Group; defm gcse : BooleanFFlag<"gcse">, Group; +defm gnu : BooleanFFlag<"gnu">, Group; defm ident : BooleanFFlag<"ident">, Group; +defm inline_limit : BooleanFFlag<"inline-limit">, Group; defm ivopts : BooleanFFlag<"ivopts">, Group; defm non_call_exceptions : BooleanFFlag<"non-call-exceptions">, Group; defm permissive : BooleanFFlag<"permissive">, Group; defm prefetch_loop_arrays : BooleanFFlag<"prefetch-loop-arrays">, Group; +defm printf : BooleanFFlag<"printf">, Group; +defm profile : BooleanFFlag<"profile">, Group; defm profile_correction : BooleanFFlag<"profile-correction">, Group; +defm profile_generate_sampling : BooleanFFlag<"profile-generate-sampling">, Group; +defm profile_reusedist : BooleanFFlag<"profile-reusedist">, Group; defm profile_values : BooleanFFlag<"profile-values">, Group; +defm regs_graph : BooleanFFlag<"regs-graph">, Group; +defm ripa : BooleanFFlag<"ripa">, Group; defm rounding_math : BooleanFFlag<"rounding-math">, Group; -defm sse : BooleanFFlag<"see">, Group; +defm schedule_insns : BooleanFFlag<"schedule-insns">, Group; +defm signaling_nans : BooleanFFlag<"signaling-nans">, Group; +defm spec_constr_count : BooleanFFlag<"spec-constr-count">, Group; +defm tls_model : BooleanFFlag<"tls-model">, Group; defm tracer : BooleanFFlag<"tracer">, Group; +defm tree_salias : BooleanFFlag<"tree-salias">, Group; +defm tree_vectorizer_verbose : BooleanFFlag<"tree-vectorizer-verbose">, Group; defm unroll_all_loops : BooleanFFlag<"unroll-all-loops">, Group; +defm unswitch_loops : BooleanFFlag<"unswitch-loops">, Group; include "CC1Options.td"