make missing prototypes warn by default in c99 mode like GCC does,

rdar://7083878

llvm-svn: 93073
This commit is contained in:
Chris Lattner 2010-01-09 20:43:38 +00:00
parent f9895c48fd
commit 5ed4390474
1 changed files with 1 additions and 1 deletions

View File

@ -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>;