forked from OSchip/llvm-project
rename -fprint-source-range-info -> -fdiagnostics-print-source-range-info.
Temporarily accept both of them, I'll rip out the old one after awhile. llvm-svn: 69662
This commit is contained in:
parent
1f02e054a9
commit
6968641ac5
|
@ -365,6 +365,7 @@ OPTION("-fcreate-profile", fcreate_profile, Flag, f_Group, INVALID, "", 0, 0, 0)
|
||||||
OPTION("-fdebug-pass-arguments", fdebug_pass_arguments, Flag, f_Group, INVALID, "", 0, 0, 0)
|
OPTION("-fdebug-pass-arguments", fdebug_pass_arguments, Flag, f_Group, INVALID, "", 0, 0, 0)
|
||||||
OPTION("-fdebug-pass-structure", fdebug_pass_structure, Flag, f_Group, INVALID, "", 0, 0, 0)
|
OPTION("-fdebug-pass-structure", fdebug_pass_structure, Flag, f_Group, INVALID, "", 0, 0, 0)
|
||||||
OPTION("-fdiagnostics-fixit-info", fdiagnostics_fixit_info, Flag, f_Group, INVALID, "", 0, 0, 0)
|
OPTION("-fdiagnostics-fixit-info", fdiagnostics_fixit_info, Flag, f_Group, INVALID, "", 0, 0, 0)
|
||||||
|
OPTION("-fdiagnostics-print-source-range-info", fdiagnostics_print_source_range_info, Flag, f_Group, INVALID, "", 0, 0, 0)
|
||||||
OPTION("-fdiagnostics-show-option", fdiagnostics_show_option, Flag, f_Group, INVALID, "", 0, 0, 0)
|
OPTION("-fdiagnostics-show-option", fdiagnostics_show_option, Flag, f_Group, INVALID, "", 0, 0, 0)
|
||||||
OPTION("-fdollars-in-identifiers", fdollars_in_identifiers, Flag, f_Group, INVALID, "", 0, 0, 0)
|
OPTION("-fdollars-in-identifiers", fdollars_in_identifiers, Flag, f_Group, INVALID, "", 0, 0, 0)
|
||||||
OPTION("-feliminate-unused-debug-symbols", feliminate_unused_debug_symbols, Flag, f_Group, INVALID, "", 0, 0, 0)
|
OPTION("-feliminate-unused-debug-symbols", feliminate_unused_debug_symbols, Flag, f_Group, INVALID, "", 0, 0, 0)
|
||||||
|
|
|
@ -459,6 +459,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
||||||
// FIXME: Should we remove this?
|
// FIXME: Should we remove this?
|
||||||
Args.AddLastArg(CmdArgs, options::OPT_fobjc_nonfragile_abi);
|
Args.AddLastArg(CmdArgs, options::OPT_fobjc_nonfragile_abi);
|
||||||
Args.AddLastArg(CmdArgs, options::OPT_fprint_source_range_info);
|
Args.AddLastArg(CmdArgs, options::OPT_fprint_source_range_info);
|
||||||
|
Args.AddLastArg(CmdArgs, options::OPT_fdiagnostics_print_source_range_info);
|
||||||
Args.AddLastArg(CmdArgs, options::OPT_ftime_report);
|
Args.AddLastArg(CmdArgs, options::OPT_ftime_report);
|
||||||
Args.AddLastArg(CmdArgs, options::OPT_ftrapv);
|
Args.AddLastArg(CmdArgs, options::OPT_ftrapv);
|
||||||
Args.AddLastArg(CmdArgs, options::OPT_fvisibility_EQ);
|
Args.AddLastArg(CmdArgs, options::OPT_fvisibility_EQ);
|
||||||
|
|
|
@ -305,9 +305,14 @@ NoDiagnosticsFixIt("fno-diagnostics-fixit-info",
|
||||||
" diagnostics"));
|
" diagnostics"));
|
||||||
|
|
||||||
static llvm::cl::opt<bool>
|
static llvm::cl::opt<bool>
|
||||||
PrintSourceRangeInfo("fprint-source-range-info",
|
PrintSourceRangeInfo("fdiagnostics-print-source-range-info",
|
||||||
llvm::cl::desc("Print source range spans in numeric form"));
|
llvm::cl::desc("Print source range spans in numeric form"));
|
||||||
|
|
||||||
|
static llvm::cl::alias
|
||||||
|
PrintSourceRangeInfo2("fprint-source-range-info",
|
||||||
|
llvm::cl::desc("Print source range spans in numeric form [deprecated]"),
|
||||||
|
llvm::cl::aliasopt(PrintSourceRangeInfo));
|
||||||
|
|
||||||
static llvm::cl::opt<bool>
|
static llvm::cl::opt<bool>
|
||||||
PrintDiagnosticOption("fdiagnostics-show-option",
|
PrintDiagnosticOption("fdiagnostics-show-option",
|
||||||
llvm::cl::desc("Print diagnostic name with mappable diagnostics"));
|
llvm::cl::desc("Print diagnostic name with mappable diagnostics"));
|
||||||
|
|
Loading…
Reference in New Issue