llvm-project/clang/Sema
Chris Lattner 8262560b8b Compile:
struct bork {
  int X[];
};

struct bink {
  struct bink a;
  int X[];  // ok.
};

to:
t.c:3:7: error: flexible array 'X' not allowed in otherwise empty struct
  int X[];
      ^
t.c:7:15: error: field 'a' has incomplete type
  struct bink a;
              ^

llvm-svn: 39295
2007-01-24 02:26:21 +00:00
..
ASTStreamer.cpp introduce a new ASTContext class to hold long-lived ast nodes. 2006-11-10 06:20:45 +00:00
Sema.cpp Add support for C90 implicitly defined functions, e.g.: 2006-11-20 06:49:47 +00:00
Sema.h create field decl objects for the members of a struct/union. Diagnose code 2007-01-23 23:42:53 +00:00
SemaDecl.cpp Compile: 2007-01-24 02:26:21 +00:00
SemaExpr.cpp Diagnose invalid sizeof/alignof operands. 2007-01-23 22:29:49 +00:00
SemaExprCXX.cpp Add support for parsing and pretty printing const_cast, dynamic_cast, 2006-12-04 18:06:35 +00:00
SemaStmt.cpp move semantic analysis of break/continue out of the parser into the sema class. 2006-11-10 05:17:58 +00:00
SemaType.cpp Add TaggedType, which represents tagged decls as types. Create these when 2007-01-23 05:45:31 +00:00