| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make sure to call FullExpr before parsing anything else. | Anders Carlsson | 2009-06-04 | 1 | -2/+6 |
| | | | | | llvm-svn: 72834 | ||||
| * | ActOnReturnStmt should also take a FullExprArg. | Anders Carlsson | 2009-05-30 | 1 | -1/+1 |
| | | | | | llvm-svn: 72641 | ||||
| * | Reduce the amount of stack space we use in SmallVectors during | Douglas Gregor | 2009-05-29 | 1 | -1/+1 |
| | | | | | | | | template instantiation. This helps reduce our stack footprint when performing deep template instantiations. llvm-svn: 72582 | ||||
| * | Reimplement much of the way that we track nested classes in the | Douglas Gregor | 2009-05-27 | 1 | -2/+1 |
| | | | | | | | | | | | | | | parser. Rather than placing all of the delayed member function declarations and inline definitions into a single bucket corresponding to the top-level class, we instead mirror the nesting structure of the nested classes and place the delayed member functions into their appropriate place. Then, when we actually parse the delayed member function declarations, set up the scope stack the same way as it was when we originally saw the declaration, so that we can find, e.g., template parameters that are in scope. llvm-svn: 72502 | ||||
| * | Merge the ASTVector and ASTOwningVector templates, since they offered | Douglas Gregor | 2009-05-21 | 1 | -7/+2 |
| | | | | | | | | | redundant functionality. The result (ASTOwningVector) lives in clang/Parse/Ownership.h and is used by both the parser and semantic analysis. No intended functionality change. llvm-svn: 72214 | ||||
| * | Fix template instantiation for compound statements so that it properly | Douglas Gregor | 2009-05-20 | 1 | -16/+26 |
| | | | | | | | | passes the "isStmtExpr" flag, to suppress warnings about unused expressions. llvm-svn: 72190 | ||||
| * | Introduce a new kind of RAII class, ASTOwningVector, which is an | Douglas Gregor | 2009-05-20 | 1 | -21/+10 |
| | | | | | | | | | llvm::SmallVector that owns all of the AST nodes inside of it. This RAII class is used to ensure proper destruction of AST nodes when template instantiation fails. llvm-svn: 72186 | ||||
| * | Template instantiation for C++ try/catch statements. | Douglas Gregor | 2009-05-18 | 1 | -6/+59 |
| | | | | | llvm-svn: 72035 | ||||
| * | Include StmtNodes.def to declare Visit methods for all of the known | Douglas Gregor | 2009-05-18 | 1 | -19/+87 |
| | | | | | | | | | kinds of statements (in the instantiation logic). No functionality change, but now we'll get linker errors if we add a statement but forget to introduce its instantiation logic. llvm-svn: 72031 | ||||
| * | Make ActOnWhileStmt take a FullExprArg for the condition expr. | Anders Carlsson | 2009-05-17 | 1 | -1/+1 |
| | | | | | llvm-svn: 71990 | ||||
| * | Fix DISABLE_SMART_POINTERS build. | Anders Carlsson | 2009-05-17 | 1 | -1/+2 |
| | | | | | llvm-svn: 71984 | ||||
| * | Add the FullExprArg wrapper and use it for if statement conditions. | Anders Carlsson | 2009-05-17 | 1 | -1/+5 |
| | | | | | llvm-svn: 71982 | ||||
| * | Reflow some comments. | Mike Stump | 2009-05-16 | 1 | -5/+5 |
| | | | | | llvm-svn: 71936 | ||||
| * | Template instantiation for IndirectGotoStmt. Now my life is complete. | Douglas Gregor | 2009-05-16 | 1 | -0/+12 |
| | | | | | llvm-svn: 71917 | ||||
| * | Template instantiation for switch statements | Douglas Gregor | 2009-05-15 | 1 | -0/+69 |
| | | | | | llvm-svn: 71916 | ||||
| * | Template instantiation for break and continue statements. | Douglas Gregor | 2009-05-15 | 1 | -0/+11 |
| | | | | | llvm-svn: 71903 | ||||
| * | Template instantiation for "for" loops | Douglas Gregor | 2009-05-15 | 1 | -0/+27 |
| | | | | | llvm-svn: 71901 | ||||
| * | Template instantiation for do-while statements. | Douglas Gregor | 2009-05-15 | 1 | -0/+16 |
| | | | | | llvm-svn: 71899 | ||||
| * | Template instantiation for WhileStmt and CXXConditionDeclExpr. | Douglas Gregor | 2009-05-15 | 1 | -0/+15 |
| | | | | | llvm-svn: 71896 | ||||
| * | Allow instantiation of NULL expressions and statements | Douglas Gregor | 2009-05-15 | 1 | -0/+3 |
| | | | | | llvm-svn: 71889 | ||||
| * | I take it back, InstantiateExpr does not check for null. | Anders Carlsson | 2009-05-15 | 1 | -4/+7 |
| | | | | | llvm-svn: 71887 | ||||
| * | No need to null check the expr, Sema::SemaRef.InstantiateExpr handles all that. | Anders Carlsson | 2009-05-15 | 1 | -7/+4 |
| | | | | | llvm-svn: 71885 | ||||
| * | Template instantiation for "if" statements. Also: | Douglas Gregor | 2009-05-15 | 1 | -0/+21 |
| | | | | | | | | | - Skip semantic analysis of the "if" condition if it is type-dependent. - Added the location of the "else" keyword into IfStmt, so that we can provide it for type-checking after template instantiation. llvm-svn: 71875 | ||||
| * | Move statement instantiation into its own file. No functionality change | Douglas Gregor | 2009-05-15 | 1 | -0/+150 |
| llvm-svn: 71872 | |||||

