llvm-project/clang/test
Steve Naroff d57fa94148 Final phase of array cleanup (for now), removing a FIXME from yesterday.
Moved several array constraints checks from Sema::VerifyConstantArrayType() to
Sema::GetTypeForDeclarator(). VerifyConstantArrayType() is now very simple, and
could be removed eventually.

Now, we get the following (correct) messages for BlockVarDecls:-)

[dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang x.c -pedantic
x.c:4:20: error: size of array has non-integer type 'float'
  int size_not_int[f];
                   ^
x.c:5:21: error: array size is negative
  int negative_size[1-2];
                    ^~~
x.c:6:17: warning: zero size arrays are an extension
  int zero_size[0];
                ^
3 diagnostics generated.

llvm-svn: 41624
2007-08-30 22:35:45 +00:00
..
CodeGen Teach Type::is[un]SignedIntegerType about enum decls. This allows the code generator 2007-08-29 17:48:46 +00:00
Lexer Fix a lexer bug where we incorrectly rejected 2007-07-21 23:43:37 +00:00
Misc Build ASTs before relexing the file. This avoids having comment finding mutate the 2007-08-10 18:27:41 +00:00
Parser implement a fixme: __extension__ marker on decls in compound stmts. 2007-08-27 01:01:57 +00:00
Preprocessor implement a missing feature in the #include handler, where 2007-07-23 04:56:47 +00:00
Sema Final phase of array cleanup (for now), removing a FIXME from yesterday. 2007-08-30 22:35:45 +00:00
Makefile run .m files as tests 2007-08-23 01:09:45 +00:00
TestRunner.sh Make make check work again. 2007-06-08 17:57:13 +00:00