]> granicus.if.org Git - clang/commit
Clean up the C89/C++ warnings about C99 array features to not
authorChris Lattner <sabre@nondot.org>
Thu, 18 Dec 2008 06:50:14 +0000 (06:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Dec 2008 06:50:14 +0000 (06:50 +0000)
commita1fcbadf4f930c22bb171fb90ed886f5f359d010
treeb7ad43c1e4e61b571d5c7f4f83d4011e010ef3d0
parent62b585701d626dec90b0aa0dfd8c2b75ffe29265
Clean up the C89/C++ warnings about C99 array features to not
emit duplicate diags (some in parser and some in sema) and to
warn about use of typequals in array sizes.  This implements
PR2759.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61197 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
lib/Parse/ParseDecl.cpp
lib/Sema/SemaType.cpp
test/Sema/c89.c