forked from OSchip/llvm-project
Teach Clang to recognize and ignore GCC's -fdiagnostics-show-location
flag. We should probably wire at least some variants of this up to our actual diagnostics engine, but I'm leaving that for someone else. This fixes the builds of packages which hard code something here, at least including libstdc++ itself. llvm-svn: 193318
This commit is contained in:
parent
340b0463e6
commit
685dca5b0a
|
@ -1432,6 +1432,10 @@ def fuse_ld_EQ : Joined<["-"], "fuse-ld=">, Group<clang_ignored_f_Group>;
|
|||
defm align_functions : BooleanFFlag<"align-functions">, Group<clang_ignored_f_Group>;
|
||||
def falign_functions_EQ : Joined<["-"], "falign-functions=">, Group<clang_ignored_f_Group>;
|
||||
|
||||
// FIXME: This option should be supported and wired up to our diognostics, but
|
||||
// ignore it for now to avoid breaking builds that use it.
|
||||
def fdiagnostics_show_location_EQ : Joined<["-"], "fdiagnostics-show-location=">, Group<clang_ignored_f_Group>;
|
||||
|
||||
defm eliminate_unused_debug_types : BooleanFFlag<"eliminate-unused-debug-types">, Group<clang_ignored_f_Group>;
|
||||
defm float_store : BooleanFFlag<"float-store">, Group<clang_ignored_f_Group>;
|
||||
defm function_attribute_list : BooleanFFlag<"function-attribute-list">, Group<clang_ignored_f_Group>;
|
||||
|
|
|
@ -105,6 +105,7 @@
|
|||
// RUN: -falign-functions -falign-functions=2 -fno-align-functions \
|
||||
// RUN: -fasynchronous-unwind-tables -fno-asynchronous-unwind-tables \
|
||||
// RUN: -fbuiltin -fno-builtin \
|
||||
// RUN: -fdiagnostics-show-location=once \
|
||||
// RUN: -ffloat-store -fno-float-store \
|
||||
// RUN: -feliminate-unused-debug-types -fno-eliminate-unused-debug-types \
|
||||
// RUN: -fgcse -fno-gcse \
|
||||
|
|
Loading…
Reference in New Issue