forked from OSchip/llvm-project
make missing prototypes warn by default in c99 mode like GCC does,
rdar://7083878 llvm-svn: 93073
This commit is contained in:
parent
f9895c48fd
commit
5ed4390474
|
@ -89,7 +89,7 @@ def warn_decl_in_param_list : Warning<
|
|||
def warn_implicit_function_decl : Warning<
|
||||
"implicit declaration of function %0">,
|
||||
InGroup<ImplicitFunctionDeclare>, DefaultIgnore;
|
||||
def ext_implicit_function_decl : Extension<
|
||||
def ext_implicit_function_decl : ExtWarn<
|
||||
"implicit declaration of function %0 is invalid in C99">,
|
||||
InGroup<ImplicitFunctionDeclare>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue