46ba1ebaeb
Submitted by: Reviewed by: - Typechecking for ++/-- not operating on canonical type (fixed). - Many changes to Decl.h... -- Changed ObjectDecl->ValueDecl. -- ValueDecl doesn't define a storage class. The storage class is now defined by VarDecl/FunctionDecl. EnumConstant decls don't need a storage class. -- FieldDecl now inherits directly from Decl (it is not a value). - Changed SemaExpr to use the new Decl.h. Also added a couple diagnostics for bogus storage class usage. For example: z.c:6:10: error: illegal storage class on function auto int func(); ^ z.c:7:14: error: illegal storage class on file-scoped variable register int b; ^ llvm-svn: 39379 |
||
---|---|---|
.. | ||
ASTStreamer.cpp | ||
Sema.cpp | ||
Sema.h | ||
SemaDecl.cpp | ||
SemaExpr.cpp | ||
SemaExprCXX.cpp | ||
SemaStmt.cpp | ||
SemaType.cpp |