| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Lazily declare implicit copy constructors. | Douglas Gregor | 2010-07-02 | 2 | -0/+2 | |
| | | | | | llvm-svn: 107543 | |||||
| * | Read/write CastExpr's CXXBaseSpecifierArray for PCH. | Argyrios Kyrtzidis | 2010-07-02 | 6 | -25/+36 | |
| | | | | | llvm-svn: 107542 | |||||
| * | Fix broken PCH support for CXXDefaultArgExpr. | Argyrios Kyrtzidis | 2010-07-02 | 2 | -12/+20 | |
| | | | | | llvm-svn: 107541 | |||||
| * | Lazily declare copy-assignment operators. | Douglas Gregor | 2010-07-02 | 2 | -0/+2 | |
| | | | | | llvm-svn: 107521 | |||||
| * | Lazily declare the implicitly-declared destructor in a C++ class. | Douglas Gregor | 2010-07-02 | 2 | -0/+2 | |
| | | | | | llvm-svn: 107510 | |||||
| * | Handle CXXConstructorDecl, CXXDestructorDecl, and CXXConversionDecl for PCH. | Argyrios Kyrtzidis | 2010-07-02 | 2 | -17/+126 | |
| | | | | | | | <vector> header can be used correctly through PCH now. llvm-svn: 107483 | |||||
| * | Fix reading FunctionDecls from PCH. | Argyrios Kyrtzidis | 2010-07-02 | 2 | -45/+47 | |
| | | | | | llvm-svn: 107477 | |||||
| * | Fix reading ClassTemplateDecl's ClassTemplateSpecializationDecls and ↵ | Argyrios Kyrtzidis | 2010-07-02 | 2 | -11/+23 | |
| | | | | | | | | | ClassTemplatePartialSpecializationDecls. Store/read also their template arguments because they may be initializing and not be able to provide them. llvm-svn: 107476 | |||||
| * | Fully read/write CXXRecordDecl for PCH. | Argyrios Kyrtzidis | 2010-07-02 | 4 | -43/+109 | |
| | | | | | llvm-svn: 107475 | |||||
| * | Fix reading of DependentNameType. | Argyrios Kyrtzidis | 2010-07-02 | 2 | -1/+5 | |
| | | | | | llvm-svn: 107474 | |||||
| * | Allow reading of InjectedClassNameType from PCH even when its decl is ↵ | Argyrios Kyrtzidis | 2010-07-02 | 1 | -1/+4 | |
| | | | | | | | currently initializing. llvm-svn: 107473 | |||||
| * | Fix broken reading of member pointer from PCH. | Argyrios Kyrtzidis | 2010-07-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 107472 | |||||
| * | - Allow a typedef type to be read from PCH even if its decl is currently ↵ | Argyrios Kyrtzidis | 2010-07-02 | 2 | -7/+17 | |
| | | | | | | | | | initializing. - Fix creation of TemplateSpecializationType. llvm-svn: 107471 | |||||
| * | Fix broken reading of "#lines" from PCH. | Argyrios Kyrtzidis | 2010-07-02 | 1 | -2/+3 | |
| | | | | | llvm-svn: 107470 | |||||
| * | Generally types expect an initialized TypeDecl; its safer and less ↵ | Argyrios Kyrtzidis | 2010-07-02 | 2 | -16/+16 | |
| | | | | | | | complicated to delay PCH reading the type of a TypeDecl. llvm-svn: 107469 | |||||
| * | Add some side-effect free Create methods for TypeDecl subclasses and use ↵ | Argyrios Kyrtzidis | 2010-07-02 | 1 | -8/+7 | |
| | | | | | | | them for PCH reading. llvm-svn: 107468 | |||||
| * | Driver/IRgen: Add support for -momit-leaf-frame-pointer. | Daniel Dunbar | 2010-07-01 | 1 | -0/+3 | |
| | | | | | llvm-svn: 107367 | |||||
| * | Fix PCH support for UnresolvedUsingTypenameDecl and UnresolvedUsingValueDecl. | Argyrios Kyrtzidis | 2010-06-30 | 2 | -8/+8 | |
| | | | | | llvm-svn: 107268 | |||||
| * | Support DependentSizedArrayType for PCH. | Argyrios Kyrtzidis | 2010-06-30 | 2 | -2/+21 | |
| | | | | | llvm-svn: 107267 | |||||
| * | Support ParenListExpr for PCH. | Argyrios Kyrtzidis | 2010-06-30 | 2 | -2/+29 | |
| | | | | | llvm-svn: 107266 | |||||
| * | Headers: Define __INT64_TYPE__ in terms of getInt64Type(), which isn't always | Daniel Dunbar | 2010-06-30 | 1 | -0/+6 | |
| | | | | | | | | | 'long'. The practical upshot is so that the uint64_t we define in our stdint.h ends up being compatible with that defined by gcc (at least on Darwin), which otherwise could lead to type incompatibilities with other system headers. llvm-svn: 107255 | |||||
| * | Support C++ friend declarations for PCH. | Argyrios Kyrtzidis | 2010-06-29 | 3 | -9/+40 | |
| | | | | | | | | | | | | | This commit 'introduces' a slightly different way to restore the state of the AST object. It makes PCHDeclReader/PCHDeclWriter friends and gives them access to the private members of the object. The rationale is to avoid using/modifying the AST interfaces for PCH read/write so that to: -Avoid complications with objects that have side-effects during creation or when using some setters. -Not 'pollute' the AST interface with methods only used by the PCH reader/writer -Allow AST objects to be read-only. llvm-svn: 107219 | |||||
| * | When we know that we are at sub-statement reading (which is all of ↵ | Argyrios Kyrtzidis | 2010-06-29 | 1 | -87/+88 | |
| | | | | | | | PCHStmtReader) use the "faster" ReadSubStmt. No functionality change. llvm-svn: 107218 | |||||
| * | Modify the way sub-statements are stored and retrieved from PCH. | Argyrios Kyrtzidis | 2010-06-28 | 5 | -682/+482 | |
| | | | | | | | | | | | | | | | | Before this commit, sub-stmts were stored as encountered and when they were placed in the Stmts stack we had to know what index each stmt operand has. This complicated supporting variable sub-stmts and sub-stmts that were contained in TypeSourceInfos, e.g. x = sizeof(int[1]); would crash PCH. Now, sub-stmts are stored in reverse order, from last to first, so that when reading them, in order to get the next sub-stmt we just need to pop the last stmt from the stack. This greatly simplified the way stmts are written and read (just use PCHWriter::AddStmt and PCHReader::ReadStmt accordingly) and allowed variable stmt operands and TypeSourceInfo exprs. llvm-svn: 107087 | |||||
| * | Remove state assertion. | Ted Kremenek | 2010-06-28 | 1 | -1/+0 | |
| | | | | | llvm-svn: 107064 | |||||
| * | Don't crash in InitializePreprocessor() when there is no valid PTHManager. ↵ | Ted Kremenek | 2010-06-28 | 1 | -1/+2 | |
| | | | | | | | Fixes <rdar://problem/8098441>. llvm-svn: 107061 | |||||
| * | Support CXXPseudoDestructorExpr for PCH. | Argyrios Kyrtzidis | 2010-06-28 | 2 | -0/+49 | |
| | | | | | llvm-svn: 106999 | |||||
| * | Support DependentScopeDeclRefExpr for PCH. | Argyrios Kyrtzidis | 2010-06-28 | 2 | -0/+50 | |
| | | | | | llvm-svn: 106998 | |||||
| * | Refactor PCH reading/writing of template arguments passed to expressions. | Argyrios Kyrtzidis | 2010-06-28 | 2 | -87/+99 | |
| | | | | | llvm-svn: 106997 | |||||
| * | Fix PCH emitting/reading for template arguments that contain expressions. | Argyrios Kyrtzidis | 2010-06-28 | 4 | -28/+142 | |
| | | | | | llvm-svn: 106996 | |||||
| * | Fix various bugs in recent commits for C++ PCH. | Argyrios Kyrtzidis | 2010-06-28 | 3 | -2/+11 | |
| | | | | | llvm-svn: 106995 | |||||
| * | Implement support for -fwrapv, rdar://7221421 | Chris Lattner | 2010-06-26 | 3 | -17/+18 | |
| | | | | | | | | | | | | | As part of this, pull together trapv handling into the same enum. This also add support for NSW multiplies. This also makes PCH disagreement on overflow behavior silent, since it really doesn't matter except for warnings and codegen (no macros get defined etc). llvm-svn: 106956 | |||||
| * | Implement support for #pragma message, patch by Michael Spencer! | Chris Lattner | 2010-06-26 | 1 | -1/+25 | |
| | | | | | llvm-svn: 106950 | |||||
| * | Support NonTypeTemplateParmDecl for PCH. | Argyrios Kyrtzidis | 2010-06-25 | 2 | -3/+23 | |
| | | | | | llvm-svn: 106860 | |||||
| * | Make PCHWriter::FlushStmts() robust. If we added null Stmts, reading them ↵ | Argyrios Kyrtzidis | 2010-06-25 | 1 | -0/+1 | |
| | | | | | | | back got messed up. llvm-svn: 106859 | |||||
| * | Support DependentTemplateSpecializationType and ElaboratedType for PCH. | Argyrios Kyrtzidis | 2010-06-25 | 2 | -14/+29 | |
| | | | | | llvm-svn: 106858 | |||||
| * | Add forgotten breaks in case statements. | Argyrios Kyrtzidis | 2010-06-25 | 1 | -0/+2 | |
| | | | | | llvm-svn: 106857 | |||||
| * | Support UnresolvedLookupExpr for PCH. | Argyrios Kyrtzidis | 2010-06-25 | 2 | -0/+23 | |
| | | | | | llvm-svn: 106832 | |||||
| * | Support UnresolvedMemberExpr for PCH. | Argyrios Kyrtzidis | 2010-06-25 | 2 | -2/+93 | |
| | | | | | llvm-svn: 106831 | |||||
| * | Print source location when we encounter unhandled statement during PCH writing. | Argyrios Kyrtzidis | 2010-06-25 | 1 | -1/+3 | |
| | | | | | llvm-svn: 106830 | |||||
| * | Remove HAS_TLS define. | Eric Christopher | 2010-06-24 | 1 | -4/+0 | |
| | | | | | llvm-svn: 106786 | |||||
| * | Support a couple more C++ Exprs for PCH. | Argyrios Kyrtzidis | 2010-06-24 | 4 | -5/+117 | |
| | | | | | llvm-svn: 106727 | |||||
| * | Fix broken de/serialization for a couple of C++ Exprs. | Argyrios Kyrtzidis | 2010-06-24 | 2 | -7/+10 | |
| | | | | | llvm-svn: 106726 | |||||
| * | More clang support for darwin tls. Add a __has_feature macro and | Eric Christopher | 2010-06-24 | 1 | -0/+4 | |
| | | | | | | | target specific preprocessor define as well. llvm-svn: 106715 | |||||
| * | Support C++ class template specializations and partial specializations for PCH. | Argyrios Kyrtzidis | 2010-06-23 | 4 | -49/+154 | |
| | | | | | llvm-svn: 106625 | |||||
| * | improve altivec vector bool/pixel support, patch by Anton Yartsev | Chris Lattner | 2010-06-23 | 2 | -7/+6 | |
| | | | | | | | with several tweaks by me. llvm-svn: 106619 | |||||
| * | Patch to provide separate ASTs for multiple ObjC class extension | Fariborz Jahanian | 2010-06-22 | 2 | -0/+3 | |
| | | | | | | | declarations (implements radar 7928731). llvm-svn: 106597 | |||||
| * | Read/write CXXDeleteExpr from/to PCH. | Argyrios Kyrtzidis | 2010-06-22 | 2 | -0/+25 | |
| | | | | | llvm-svn: 106552 | |||||
| * | Support emitting/reading function templates to/from PCH. | Argyrios Kyrtzidis | 2010-06-22 | 2 | -9/+160 | |
| | | | | | llvm-svn: 106534 | |||||
| * | -Introduce PCHReader::ReadTemplateArgumentLoc() | Argyrios Kyrtzidis | 2010-06-22 | 2 | -7/+24 | |
| | | | | | | | | | -Introduce PCHWriter::AddTemplateArgumentLocInfo() -Modify PCHWriter::AddTemplateArgumentLoc() to also write TemplateArgumentLoc's TemplateArgument and move the existing calls of AddTemplateArgumentLoc() to AddTemplateArgumentLocInfo(). llvm-svn: 106533 | |||||

