forked from OSchip/llvm-project
clang-cl: support -fno-color-diagnostics (PR23109)
Patch by Bernard Solomon, tests by me. llvm-svn: 234685
This commit is contained in:
parent
c296b045c0
commit
bec52353bc
|
@ -734,7 +734,8 @@ def fno_math_builtin : Flag<["-"], "fno-math-builtin">, Group<f_Group>, Flags<[C
|
|||
HelpText<"Disable implicit builtin knowledge of math functions">;
|
||||
def fno_caret_diagnostics : Flag<["-"], "fno-caret-diagnostics">, Group<f_Group>,
|
||||
Flags<[CC1Option]>;
|
||||
def fno_color_diagnostics : Flag<["-"], "fno-color-diagnostics">, Group<f_Group>;
|
||||
def fno_color_diagnostics : Flag<["-"], "fno-color-diagnostics">, Group<f_Group>,
|
||||
Flags<[CoreOption, CC1Option]>;
|
||||
def fno_diagnostics_color : Flag<["-"], "fno-diagnostics-color">, Group<f_Group>;
|
||||
def fno_common : Flag<["-"], "fno-common">, Group<f_Group>, Flags<[CC1Option]>,
|
||||
HelpText<"Compile common globals like normal definitions">;
|
||||
|
|
|
@ -346,6 +346,8 @@
|
|||
// (/Zs is for syntax-only, -Werror makes it fail hard on unknown options)
|
||||
// RUN: %clang_cl \
|
||||
// RUN: --driver-mode=cl \
|
||||
// RUN: -fcolor-diagnostics \
|
||||
// RUN: -fno-color-diagnostics \
|
||||
// RUN: -ferror-limit=10 \
|
||||
// RUN: -fmsc-version=1800 \
|
||||
// RUN: -fno-strict-aliasing \
|
||||
|
|
Loading…
Reference in New Issue