]> granicus.if.org Git - clang/commit
upgrade various 'implicit int' warnings from an ext-warn to warning when not
authorChris Lattner <sabre@nondot.org>
Fri, 27 Feb 2009 18:53:28 +0000 (18:53 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 27 Feb 2009 18:53:28 +0000 (18:53 +0000)
commit35d276f443462249b436951c1c663820569e1768
tree5d1d33f6b2cd5d888a53bab6bca480db1a370762
parente64c5491d0097b280eb553696ee9c0d8fa139f82
upgrade various 'implicit int' warnings from an ext-warn to warning when not
in C89 mode.  This makes it enabled by default instead of only enabled with
-pedantic.  Clang defaults to c99 mode, so people will see this more often
than with GCC, but they can always use -std=c89 if they really want c89.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65647 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.def
lib/Sema/SemaType.cpp
test/Parser/MicrosoftExtensions.c
test/Parser/objc-forcollection-neg-2.m
test/Parser/traditional_arg_scope.c
test/Parser/typeof.c
test/Sema/address_spaces.c
test/Sema/block-literal.c
test/Sema/implicit-int.c
test/Sema/invalid-decl.c
test/Sema/invalid-struct-init.c