8202630a58e5aa7f5630b44266e4460fa7021ac1 |
|
22-Jul-2013 |
Enea Zaffanella <zaffanella@cs.unipr.it> |
Fixed implementation of C89 6.5.7 p3. Warning should be emitted only for InitListExpr nodes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186859 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
b9a5935c58a3bc78c4a511ee77ad2f0c4ca29dc1 |
|
22-Jul-2013 |
Enea Zaffanella <zaffanella@cs.unipr.it> |
Implement the part of C89 6.5.7 p3 requiring a constant initializer list when initializing aggregate/union types, no matter if static or not. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186817 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
e3b136bd873508c9ac0ee6eba98c2a810a177eba |
|
24-Sep-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Change the wording of the extension warning from > 'long long' is an extension when C99 mode is not enabled to > 'long long' is a C++11 extension while compiling in C++98 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
bc1029b4a47282cb4ce27c7014acb864b10a4043 |
|
06-Apr-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Implement C90 pedantic warning for duplicate declaration specifiers which are duplicated via a typedef. Patch by Tim Northover. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154136 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
0961a01ebec0e31664bfe464bf4a0ac7b0891a1f |
|
16-Mar-2012 |
David Chisnall <csdavec@swan.ac.uk> |
Warn on flexible array members when in C89 mode, with -pedantic. This fixes PR 4307. Patch by Eitan Adler! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
75d8ba38965998a07a057c6d1d72359d2cc62c09 |
|
14-Feb-2012 |
John McCall <rjmccall@apple.com> |
Warn about non-int main() results in GNU C mode instead of erroring. Based on a patch by Vasiliy Korchagin! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
d7c56e1114bfe7d461786903bb720d2c6efc05a1 |
|
29-Dec-2011 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Change the diagnostics which said 'accepted as an extension' to instead say 'is an extension'. The former is inappropriate and confusing when building with -Werror/-pedantic-errors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147357 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
e3ca33aba226c7b5d50703df008ef0ef5f9ea7da |
|
08-Dec-2011 |
Hans Wennborg <hans@hanshq.net> |
Only do typo correction for implicit function decls when they are treated as errors. Doing typo correction when these are just warnings slows down the compilation of source which deliberately uses implicit function declarations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
122de3e131a6902d22c97471520ec9005cca6f03 |
|
06-Dec-2011 |
Hans Wennborg <hans@hanshq.net> |
Suggest typo corrections for implicit function declarations. A mistyped function call becomes an inmplicit function declaration in C. Suggest typo correction when one can be found. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
a47317bbeef839ef86323e3feacd9962ca9c383a |
|
25-Apr-2011 |
Eli Friedman <eli.friedman@gmail.com> |
PR4304: Add warning for designators in strict c89 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
0fddb97901dbe36a8253dee29961cba8e0a87cf6 |
|
22-May-2010 |
Douglas Gregor <dgregor@apple.com> |
Implement support for variable length arrays in C++. VLAs are limited in several important ways: - VLAs of non-POD types are not permitted. - VLAs cannot be used in conjunction with C++ templates. These restrictions are intended to keep VLAs out of the parts of the C++ type system where they cause the most trouble. Fixes PR5678 and <rdar://problem/8013618>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104443 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 |
|
15-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
1eb4433ac451dc16f4133a88af2d002ac26c58ef |
|
09-Sep-2009 |
Mike Stump <mrs@apple.com> |
Remove tabs, and whitespace cleanups. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
d1969d803cfcc65f1c334df4cc89c7fdd33ee4c9 |
|
22-Jul-2009 |
Mike Stump <mrs@apple.com> |
Prep for new warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76709 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
9895d88c34cb2eab65c622cddeaf721108d1af38 |
|
28-Apr-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Fix a minor edge case in C89 mode related to the definition of a "function designator". (This causes a minor glitch in the diagnostics for C++ member pointers, but we weren't printing the right diagnostic there anyway.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70307 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
7c32f8e9be486f8f8ec2e75eba36903f7cb1b73a |
|
26-Apr-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Fix for PR4074: allow subscripting non-lvalue arrays in C90 mode. I wasn't originally going to use this approach, but cases like test/Sema/expr-comma.c make things difficult. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 |
|
24-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Rename clang to clang-cc. Tests and drivers updated, still need to shuffle dirs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
a1fcbadf4f930c22bb171fb90ed886f5f359d010 |
|
18-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
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
/external/clang/test/Sema/c89.c
|
777f07b6cd595bb0922e05768e5703fbc92b5695 |
|
17-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
diagnose C99 6.9.1p5, C arguments in definitions that are lacking a name. This implements PR3208. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
def026a193b8218a58d112414515cb87fdf89c15 |
|
10-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
typedef void T; void f(T); is only invalid in C++ mode, not C89 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49460 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
8123a95c33b792d35c2e4992ba6e27882748fb0d |
|
10-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Several improvements from Doug Gregor related to default argument handling. I'll fix up the c89 (void) thing next. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
d658b562e80d6ef7a1118e34ff12802c6e2fcced |
|
05-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Fix handling of implicit int, resolving PR2012 and reverting (and subsuming) my patch for PR1999. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
a798ebc82627ea9cb7a00da07d2b60f9f2114f69 |
|
05-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Step #1 to fixing PR2012: c89 allows declspecs to be completely missing from function definitions only. If we see a function definiton with missing declspecs, just fudge in an int. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
49581f4dc324d6a183419168b01cb04e73342c07 |
|
19-Feb-2008 |
Chris Lattner <sabre@nondot.org> |
fix the second half of PR2041: __restrict is ok in c90 mode, even if restrict isn't. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
3e5849ecfc02e362beb195d35100f868b1699176 |
|
15-Feb-2008 |
Chris Lattner <sabre@nondot.org> |
Fix PR2041: restrict is not a keyword in c90. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
99d724f6a31b5521ded95adf10ef7f3c62a0b18e |
|
11-Feb-2008 |
Chris Lattner <sabre@nondot.org> |
Fix PR1999, by emitting a hard error only if an argument declarator is completely missing. Otherwise, it is an implicit int case, which is valid in c90 and invalid elsewhere, but accepted as an extension. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46938 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
3b427b3ba518f7a7293458c2d3d92eebd8458d87 |
|
11-Oct-2007 |
Chris Lattner <sabre@nondot.org> |
rename -parse-ast-print to -ast-print rename -parse-ast-dump to -ast-dump remove -parse-ast, which is redundant with -fsyntax-only git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
9f3d942e9970bc8f51add390b2a2c46b5a2ab747 |
|
26-Sep-2007 |
Ted Kremenek <kremenek@apple.com> |
Removed option "-parse-ast-check" from clang driver. This is now implemented using "-parse-ast -verify". Updated all test cases (using a sed script) that invoked -parse-ast-check to now use -parse-ast -verify. Fixed a bug where using "-verify" instead of "-parse-ast-check" would not correctly create the DiagClient needed to accumulate diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
054fad5a89c3543ea79fed08599ed3bf54cf7570 |
|
30-Aug-2007 |
Chris Lattner <sabre@nondot.org> |
-C mode doesn't return comments on "#" lines, so the diag checker doesn't pick them up. Test this the hard way. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
b94495155dd551ee81ad0c1865acd9ff1bbd632d |
|
30-Aug-2007 |
Neil Booth <neil@daikokuya.co.uk> |
Ensure we diagnose long long literals in C90 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41581 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
94f81fd0b0f81a99d215b225c8c5616295b063f6 |
|
28-Aug-2007 |
Chris Lattner <sabre@nondot.org> |
extwarn about VLAs in C89 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
b23deda7333cfc2316c989d10745c145dfbea6d6 |
|
28-Aug-2007 |
Chris Lattner <sabre@nondot.org> |
warn about long long when in c89 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41543 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|
c30ebfbf23d6a471146e3c68c2cf7f170b7e55dc |
|
27-Aug-2007 |
Chris Lattner <sabre@nondot.org> |
extwarn about decls intermixed with code in c89 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/c89.c
|