forked from OSchip/llvm-project
Turn on -Wmicrosoft-enum-forward-reference by default.
clang-cl already errs or warns on everything that cl warns on in /permissive- mode, except for enum foward declarations (and ATL attributes). So warn on enum forward declarations by default. llvm-svn: 302190
This commit is contained in:
parent
e42b4d566e
commit
9ed65da6ad
|
@ -4759,7 +4759,7 @@ def ext_forward_ref_enum : Extension<
|
|||
"ISO C forbids forward references to 'enum' types">;
|
||||
def err_forward_ref_enum : Error<
|
||||
"ISO C++ forbids forward references to 'enum' types">;
|
||||
def ext_ms_forward_ref_enum : Extension<
|
||||
def ext_ms_forward_ref_enum : ExtWarn<
|
||||
"forward references to 'enum' types are a Microsoft extension">,
|
||||
InGroup<MicrosoftEnumForwardReference>;
|
||||
def ext_forward_ref_enum_def : Extension<
|
||||
|
|
Loading…
Reference in New Issue