summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmt.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add semantic analysis for "blocks". Steve Naroff2008-09-031-0/+55
| | | | | | | | | | | | | | | Highlights... - 4 new AST nodes, BlockExpr, BlockStmtExpr, BlockExprExpr, BlockDeclRefExpr. - Sema::ActOnBlockStart(), ActOnBlockError(), ActOnBlockStmtExpr(), ActOnBlockExprExpr(), ActOnBlockReturnStmt(). Next steps... - hack Sema::ActOnIdentifierExpr() to deal with block decl refs. - add attribute handler for byref decls. - add test cases. llvm-svn: 55710
* Objective-C foreach selector elements must be lvalues.Anders Carlsson2008-08-251-3/+10
| | | | llvm-svn: 55316
* Several cleanups and tweaks to diagnostics in Sema::ActOnAsmStmt,Chris Lattner2008-08-181-37/+29
| | | | | | no other functionality change. llvm-svn: 54941
* various updates to match r54873 on mainline.Chris Lattner2008-08-171-5/+5
| | | | llvm-svn: 54874
* Update some isIntegerConstantExpr uses to useDaniel Dunbar2008-08-131-4/+2
| | | | | | getIntegerConstantExprValue where appropriate. llvm-svn: 54771
* More #include cleaningDaniel Dunbar2008-08-111-4/+0
| | | | | | | | | | | - Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632
* More #include cleaningDaniel Dunbar2008-08-111-0/+1
| | | | | | | | - Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h - Moved Sema::getCurMethodDecl() out of line (dependent on ObjCMethodDecl via dyn_cast). llvm-svn: 54629
* Use DeclStmt::decl_iterator instead of walking the getNextDeclarator() chain.Ted Kremenek2008-08-081-4/+4
| | | | llvm-svn: 54501
* convert more code to use ASTContext to get canonical types insteadChris Lattner2008-07-261-1/+1
| | | | | | of doing it directly. This is required for PR2189. llvm-svn: 54102
* Fix rdar://6095136, various crashes with incomplete enum types.Chris Lattner2008-07-251-1/+7
| | | | llvm-svn: 54074
* Move isObjCObjectPointerType() from Sema to ASTContext.Ted Kremenek2008-07-241-2/+2
| | | | llvm-svn: 53998
* Fix rdar://6094010 various asserts happening with wide strings in inline asm.Chris Lattner2008-07-231-38/+38
| | | | llvm-svn: 53947
* Replace CurFunctionDecl and CurMethodDecl with methods getCurFunctionDecl() ↵Argyrios Kyrtzidis2008-06-281-9/+10
| | | | | | and getCurMethodDecl() that return the appropriate Decl through CurContext. llvm-svn: 52852
* Remove FileVarDecl and BlockVarDecl. They are replaced by ↵Steve Naroff2008-04-151-9/+8
| | | | | | | | VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl(). This is a fairly mechanical/large change. As a result, I avoided making any changes/simplifications that weren't directly related. I did break two Analysis tests. I also have a couple FIXME's in UninitializedValues.cpp. Ted, can you take a look? If the bug isn't obvious, I am happy to dig in and fix it (since I broke it). llvm-svn: 49748
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-0/+821
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
OpenPOWER on IntegriCloud