| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Very basic irgen support for new expressions. | Anders Carlsson | 2009-05-31 | 1 | -2/+72 | |
| | | | | | llvm-svn: 72672 | |||||
| * | Don't try to call getFileCharacteristic if the function declaration has an ↵ | Anders Carlsson | 2009-05-31 | 1 | -2/+3 | |
| | | | | | | | invalid source location (as is the case for the global allocation functions. llvm-svn: 72671 | |||||
| * | Fix an off by one error when trying to perform copy initialization of ↵ | Anders Carlsson | 2009-05-31 | 1 | -1/+1 | |
| | | | | | | | operator new and operator delete arguments. Sebastian, please review. llvm-svn: 72670 | |||||
| * | Downgrade an error about "return in a no-return function" from being | Chris Lattner | 2009-05-31 | 1 | -4/+2 | |
| | | | | | | | | | an error to being a warning that defaults to error. If you want this to be a warning, you have to explicitly pass -Winvalid-noreturn to clang to map it back to a warning. llvm-svn: 72669 | |||||
| * | Disallow exception specs on typedefs. | Sebastian Redl | 2009-05-31 | 5 | -11/+22 | |
| | | | | | llvm-svn: 72664 | |||||
| * | Fix for PR4285: allow intializing a const wchar_t array with a wide | Eli Friedman | 2009-05-31 | 1 | -8/+10 | |
| | | | | | | | string. llvm-svn: 72663 | |||||
| * | Initial infrastructure for class template partial specialization. Here | Douglas Gregor | 2009-05-31 | 5 | -22/+203 | |
| | | | | | | | | | | | | | | we have the basics of declaring and storing class template partial specializations, matching class template partial specializations at instantiation time via (limited) template argument deduction, and using the class template partial specialization's pattern for instantiation. This patch is enough to make a simple is_pointer type trait work, but not much else. llvm-svn: 72662 | |||||
| * | Add a little FIXME for C++ class printing | Douglas Gregor | 2009-05-31 | 1 | -0/+1 | |
| | | | | | llvm-svn: 72660 | |||||
| * | Unbreak the clang build by applying the same temporary | Duncan Sands | 2009-05-31 | 1 | -1/+2 | |
| | | | | | | | | workaround for machine code emitter changes as was used in llvm-gcc. llvm-svn: 72657 | |||||
| * | Add a new function for emitting new functions. | Anders Carlsson | 2009-05-31 | 3 | -0/+10 | |
| | | | | | llvm-svn: 72656 | |||||
| * | Emit destructors correctly for temporaries. | Anders Carlsson | 2009-05-31 | 4 | -3/+33 | |
| | | | | | llvm-svn: 72655 | |||||
| * | When possible, don't emit the cleanup block. Instead, just move the ↵ | Anders Carlsson | 2009-05-31 | 1 | -1/+7 | |
| | | | | | | | instructions to the current block. llvm-svn: 72654 | |||||
| * | Implement VisitCXXExprWithTemporaries for complex expressions. | Anders Carlsson | 2009-05-31 | 1 | -0/+3 | |
| | | | | | llvm-svn: 72653 | |||||
| * | Call EmitCXXExprWithTemporaries. | Anders Carlsson | 2009-05-31 | 1 | -2/+1 | |
| | | | | | llvm-svn: 72652 | |||||
| * | Add lvalue irgen support for CXXBindTemporaryExpr. | Anders Carlsson | 2009-05-30 | 3 | -3/+14 | |
| | | | | | llvm-svn: 72649 | |||||
| * | More temporary support. | Anders Carlsson | 2009-05-30 | 4 | -6/+52 | |
| | | | | | llvm-svn: 72648 | |||||
| * | Forgot the implementation. Thanks Eli. | Anders Carlsson | 2009-05-30 | 1 | -0/+41 | |
| | | | | | llvm-svn: 72647 | |||||
| * | Add RemoveOutermostTemporaryBinding. Not used yet. | Anders Carlsson | 2009-05-30 | 1 | -0/+11 | |
| | | | | | llvm-svn: 72644 | |||||
| * | Clean up the newly added C++ AST nodes. | Anders Carlsson | 2009-05-30 | 2 | -5/+28 | |
| | | | | | llvm-svn: 72643 | |||||
| * | It's OK for a full expr to be null. This fixes the failing test cases. | Anders Carlsson | 2009-05-30 | 1 | -3/+2 | |
| | | | | | llvm-svn: 72642 | |||||
| * | ActOnReturnStmt should also take a FullExprArg. | Anders Carlsson | 2009-05-30 | 5 | -6/+6 | |
| | | | | | llvm-svn: 72641 | |||||
| * | AddInitializerToDecl needs to take a full expression. | Anders Carlsson | 2009-05-30 | 5 | -6/+6 | |
| | | | | | llvm-svn: 72640 | |||||
| * | Add the newly created temporary to the ExprTemporaries stack. | Anders Carlsson | 2009-05-30 | 1 | -1/+2 | |
| | | | | | llvm-svn: 72638 | |||||
| * | Get rid of CXXTempVarDecl. | Anders Carlsson | 2009-05-30 | 2 | -10/+0 | |
| | | | | | llvm-svn: 72637 | |||||
| * | Some small fixes for fields of reference type. | Eli Friedman | 2009-05-30 | 2 | -2/+7 | |
| | | | | | llvm-svn: 72636 | |||||
| * | Stop using CXXTempVarDecl and use CXXTemporary instead. | Anders Carlsson | 2009-05-30 | 3 | -13/+10 | |
| | | | | | llvm-svn: 72634 | |||||
| * | Remove VarDecl from CXXConstructExpr. | Anders Carlsson | 2009-05-30 | 6 | -36/+17 | |
| | | | | | llvm-svn: 72633 | |||||
| * | Bind temporaries correctly when instantiating expressions. | Anders Carlsson | 2009-05-30 | 1 | -1/+1 | |
| | | | | | llvm-svn: 72632 | |||||
| * | Remove VarDecl from CheckInitializerTypes now that CXXConstructExpr doesn't ↵ | Anders Carlsson | 2009-05-30 | 3 | -10/+5 | |
| | | | | | | | need to take a VarDecl anymore. (It still does, but it won't for long) llvm-svn: 72630 | |||||
| * | Add Sema::MaybeBindToTemporary which takes an expression and (if needed) ↵ | Anders Carlsson | 2009-05-30 | 2 | -5/+27 | |
| | | | | | | | wraps it in a CXXBindTemporaryExpr. Use this when creating CXXTemporaryObjectExprs. llvm-svn: 72629 | |||||
| * | Small fixes to CXXTemporary and CXXBindTemporaryExpr. | Anders Carlsson | 2009-05-30 | 1 | -2/+2 | |
| | | | | | llvm-svn: 72628 | |||||
| * | Add a CXXBindTemporaryExpr. | Anders Carlsson | 2009-05-30 | 3 | -0/+32 | |
| | | | | | llvm-svn: 72627 | |||||
| * | Add a CXXTemporary class. Not used yet. | Anders Carlsson | 2009-05-30 | 1 | -0/+6 | |
| | | | | | llvm-svn: 72626 | |||||
| * | Replace a cast with a dyn_cast as suggested by Doug. | Anders Carlsson | 2009-05-30 | 1 | -7/+8 | |
| | | | | | llvm-svn: 72624 | |||||
| * | Cleqnup ideas from Chris, thanks. | Mike Stump | 2009-05-30 | 1 | -5/+6 | |
| | | | | | llvm-svn: 72621 | |||||
| * | AST printing for C++ base classes | Douglas Gregor | 2009-05-30 | 1 | -8/+46 | |
| | | | | | llvm-svn: 72617 | |||||
| * | Pretty printing and improved representation for namespace alias declarations | Douglas Gregor | 2009-05-30 | 3 | -3/+15 | |
| | | | | | llvm-svn: 72616 | |||||
| * | Add a hack to prevent us from printing out the __builtin_va_list | Eli Friedman | 2009-05-30 | 1 | -0/+5 | |
| | | | | | | | declaration in -ast-print mode. llvm-svn: 72615 | |||||
| * | Printing for using directives, e.g., | Douglas Gregor | 2009-05-30 | 3 | -5/+30 | |
| | | | | | | | | | | using namespace std::debug; Extended UsingDirectiveDecl to store the nested-name-specifier that precedes the nominated namespace. llvm-svn: 72614 | |||||
| * | Never suppress specifiers when printing the parameters of a function | Douglas Gregor | 2009-05-30 | 1 | -3/+6 | |
| | | | | | | | declaration. llvm-svn: 72613 | |||||
| * | Pass an ASTContext into Stmt::printPretty. | Eli Friedman | 2009-05-30 | 1 | -1/+1 | |
| | | | | | llvm-svn: 72612 | |||||
| * | Pass an ASTContext into Stmt::printPretty. | Eli Friedman | 2009-05-30 | 2 | -6/+6 | |
| | | | | | llvm-svn: 72611 | |||||
| * | Add a Stmt::printPretty overload which takes an ASTContext; start | Eli Friedman | 2009-05-30 | 2 | -14/+22 | |
| | | | | | | | transitioning callers over to pass one in. llvm-svn: 72609 | |||||
| * | Expose an API to print a group of decls (like "int a,b;"). | Eli Friedman | 2009-05-30 | 3 | -200/+141 | |
| | | | | | | | | | | | | | | | | | | Make StmtPrinter use DeclPrinter to print all declarations. Merge declarations in the limited case of an unnamed TagDecl followed by one or more declarations using that TagDecl directly. Change SuppressTypeSpecifiers to the more general SuppressSpecifiers, and use it to suppress stuff like "typedef" and "extern". Replace OwnedTag with SuppressTag, since it's more convenient to print declarations from DeclPrinter at the moment. improvements to declaration printing. Fix pretty-printing for K&R function definitions and __builtin_va_arg. We're now to the point where the pretty-printing output for non-trivial programs can actually be piped back into clang. llvm-svn: 72608 | |||||
| * | Improve __builtin_nanf support; we now can deal with them as constants. | Mike Stump | 2009-05-30 | 1 | -3/+14 | |
| | | | | | llvm-svn: 72607 | |||||
| * | Fix some test failures involving -ast-print. | Eli Friedman | 2009-05-30 | 2 | -0/+15 | |
| | | | | | llvm-svn: 72605 | |||||
| * | Clean up printing for Objective-C, designated initializers. | Douglas Gregor | 2009-05-30 | 2 | -30/+33 | |
| | | | | | llvm-svn: 72602 | |||||
| * | Add a member lookup criteria constructor for searching for overridden ↵ | Anders Carlsson | 2009-05-30 | 3 | -14/+24 | |
| | | | | | | | virtual member functions. Use this instead of regular name lookup when checking for overriding functions so we will see declarations that would otherwise be hidden. Fixes 6902298. llvm-svn: 72601 | |||||
| * | Some enhancements to DeclStmt printing. Some of this should | Eli Friedman | 2009-05-30 | 1 | -24/+141 | |
| | | | | | | | | move to DeclPrinter.cpp, but I haven't quite worked out how best to do that. llvm-svn: 72599 | |||||
| * | Add support for PrintingPolicy::SuppressTypeSpecifiers to type printing. | Eli Friedman | 2009-05-30 | 1 | -2/+20 | |
| | | | | | | | (I have a work-in-progress patch which uses this.) llvm-svn: 72598 | |||||

