forked from OSchip/llvm-project
Fix the test in clang_f_opts.c to fail on unknown options.
Also fix options that were broken in the previous refactorings. llvm-svn: 191925
This commit is contained in:
parent
d419dbcc48
commit
945f7e2584
|
@ -405,8 +405,6 @@ def main_file_name : Separate<["-"], "main-file-name">,
|
|||
HelpText<"Main file name to use for debug info">;
|
||||
def split_dwarf_file : Separate<["-"], "split-dwarf-file">,
|
||||
HelpText<"File name to use for split dwarf debug info output">;
|
||||
def fno_signed_char : Flag<["-"], "fno-signed-char">,
|
||||
HelpText<"Char is unsigned">;
|
||||
def fno_wchar : Flag<["-"], "fno-wchar">,
|
||||
HelpText<"Disable C++ builtin type wchar_t">;
|
||||
def fconstant_string_class : Separate<["-"], "fconstant-string-class">,
|
||||
|
|
|
@ -749,6 +749,8 @@ def fshow_source_location : Flag<["-"], "fshow-source-location">, Group<f_Group>
|
|||
def fspell_checking : Flag<["-"], "fspell-checking">, Group<f_Group>;
|
||||
def fsigned_bitfields : Flag<["-"], "fsigned-bitfields">, Group<f_Group>;
|
||||
def fsigned_char : Flag<["-"], "fsigned-char">, Group<f_Group>;
|
||||
def fno_signed_char : Flag<["-"], "fno-signed-char">, Flags<[CC1Option]>,
|
||||
Group<clang_ignored_f_Group>, HelpText<"Char is unsigned">;
|
||||
def fsplit_stack : Flag<["-"], "fsplit-stack">, Group<f_Group>;
|
||||
def fstack_protector_all : Flag<["-"], "fstack-protector-all">, Group<f_Group>;
|
||||
def fstack_protector : Flag<["-"], "fstack-protector">, Group<f_Group>;
|
||||
|
@ -1417,6 +1419,7 @@ defm regs_graph : BooleanFFlag<"regs-graph">, Group<clang_ignored_f_Group>;
|
|||
defm ripa : BooleanFFlag<"ripa">, Group<clang_ignored_f_Group>;
|
||||
defm rounding_math : BooleanFFlag<"rounding-math">, Group<clang_ignored_f_Group>;
|
||||
defm schedule_insns : BooleanFFlag<"schedule-insns">, Group<clang_ignored_f_Group>;
|
||||
defm see : BooleanFFlag<"see">, Group<clang_ignored_f_Group>;
|
||||
defm signaling_nans : BooleanFFlag<"signaling-nans">, Group<clang_ignored_f_Group>;
|
||||
defm spec_constr_count : BooleanFFlag<"spec-constr-count">, Group<clang_ignored_f_Group>;
|
||||
defm tls_model : BooleanFFlag<"tls-model">, Group<clang_ignored_f_Group>;
|
||||
|
|
|
@ -126,4 +126,5 @@
|
|||
// RUN: -fno-var-tracking \
|
||||
// RUN: -fno-unsigned-char \
|
||||
// RUN: -fno-signed-char \
|
||||
// RUN: %s
|
||||
// RUN: %s 2>&1 | FileCheck --check-prefix=IGNORE %s
|
||||
// IGNORE-NOT: error: unknown argument
|
||||
|
|
Loading…
Reference in New Issue