| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | fix compiler warnings | Nuno Lopes | 2008-06-08 | 1 | -2/+2 | |
| | | | | | llvm-svn: 52089 | |||||
| * | Don't crash emitting an initializer for a static local with union type. | Eli Friedman | 2008-06-08 | 1 | -3/+7 | |
| | | | | | | | | This fix just makes sure to construct the global with the appropriate type, and fixes up the one user this affects to compensate. llvm-svn: 52084 | |||||
| * | capture whether a CharacterLiteral was wide or not in the AST. | Chris Lattner | 2008-06-07 | 3 | -3/+7 | |
| | | | | | | | Patch by Mike Stump! llvm-svn: 52081 | |||||
| * | Fix ast dumping to work with long double literals, e.g. we dump: | Chris Lattner | 2008-06-07 | 3 | -2/+12 | |
| | | | | | | | | | | | | | | long double X() { return 1.0L; } as: long double X() (CompoundStmt 0xb06a00 <t.c:2:17, col:32> (ReturnStmt 0xb068d0 <col:19, col:26> (FloatingLiteral 0xb02cf0 <col:26> 'long double' 1.000000))) llvm-svn: 52080 | |||||
| * | Fix crash with conversion to an address-space-qualified pointer. Bug | Eli Friedman | 2008-06-07 | 1 | -2/+2 | |
| | | | | | | | | | | | reported on cfe-dev by Cédric Venet. Note that I seriously doubt that this perticular construct is useful, though: it's a pointer in an alternate address space pointing into unqualified address space. llvm-svn: 52076 | |||||
| * | Fix the line endings in the newly added DeclBase.cpp. | Eli Friedman | 2008-06-07 | 1 | -325/+325 | |
| | | | | | llvm-svn: 52075 | |||||
| * | Create debug type descriptors for aggregate/enum types. | Sanjiv Gupta | 2008-06-07 | 2 | -5/+130 | |
| | | | | | llvm-svn: 52070 | |||||
| * | Reclaim memory owned by ObjCForwardProtocolDecls. | Ted Kremenek | 2008-06-06 | 2 | -2/+24 | |
| | | | | | llvm-svn: 52063 | |||||
| * | Reorganize this loop a bit so it doesn't crash for empty unions. Fixes | Eli Friedman | 2008-06-06 | 1 | -4/+6 | |
| | | | | | | | PR2419. llvm-svn: 52060 | |||||
| * | Implement "Destroy" and destructor for ObjCClassDecl, allowing us to reclaim ↵ | Ted Kremenek | 2008-06-06 | 2 | -6/+38 | |
| | | | | | | | its memory and the memory of the Decls it owns. llvm-svn: 52059 | |||||
| * | Implement "Destroy" and destructor for ObjCProtocolDecl, allowing us to ↵ | Ted Kremenek | 2008-06-06 | 2 | -1/+39 | |
| | | | | | | | reclaim its memory and the memory of the Decls it owns. llvm-svn: 52055 | |||||
| * | Clean up dead code from SemaInit landing. | Eli Friedman | 2008-06-06 | 2 | -214/+1 | |
| | | | | | llvm-svn: 52054 | |||||
| * | Because of a lack of a clear ownership role between ObjCInterfaceDecls and | Ted Kremenek | 2008-06-06 | 2 | -7/+19 | |
| | | | | | | | | ObjCPropertyDecls, have TranslationUnit destroy ObjCPropertyDecls. This is a horrible hack, and must be removed eventually. llvm-svn: 52051 | |||||
| * | Initial work on additional memory collection for ObjC AST objects. We now | Ted Kremenek | 2008-06-06 | 2 | -7/+49 | |
| | | | | | | | | | have Destroy methods of ObjcMethodDecl and ObjCInterfaceDecl which recursively destroy their owned Decls and Stmts. There are a few cases where it is not clear what to do (FIXMEs included in the patch). llvm-svn: 52050 | |||||
| * | implement constant expr. sub ptr ptr | Nuno Lopes | 2008-06-06 | 1 | -3/+13 | |
| | | | | | llvm-svn: 52049 | |||||
| * | During interface layout, don't forget super class. | Devang Patel | 2008-06-06 | 1 | -2/+14 | |
| | | | | | llvm-svn: 52035 | |||||
| * | Undo previous check-in. | Devang Patel | 2008-06-06 | 1 | -9/+1 | |
| | | | | | llvm-svn: 52034 | |||||
| * | During interface layout, don't forget super class. | Devang Patel | 2008-06-06 | 1 | -1/+9 | |
| | | | | | llvm-svn: 52033 | |||||
| * | Oops...remove weird printf:-) | Steve Naroff | 2008-06-05 | 1 | -1/+0 | |
| | | | | | llvm-svn: 52025 | |||||
| * | Second half of "fix" for <rdar://problem/5986085> clang on xcode: error: ↵ | Steve Naroff | 2008-06-05 | 2 | -3/+13 | |
| | | | | | | | redefinition of 'XCElementToggler' as different kind of symbol llvm-svn: 52024 | |||||
| * | super fix submitted by David Chisnall. | Steve Naroff | 2008-06-05 | 1 | -1/+1 | |
| | | | | | llvm-svn: 52014 | |||||
| * | Fixed a recent test regression from last night (r51976). | Steve Naroff | 2008-06-05 | 1 | -4/+4 | |
| | | | | | llvm-svn: 52006 | |||||
| * | Fix <rdar://problem/5986833> clang on xcode: incompatible type returning ↵ | Steve Naroff | 2008-06-05 | 2 | -4/+28 | |
| | | | | | | | | | | 'void', expected 'int'. - Changed Sema::ObjCActOnStartOfMethodDef() to more accurately type "self" in factory methods. - Changed Sema::ActOnInstanceMessage() to use the new type to restrict the lookup. llvm-svn: 52005 | |||||
| * | Fix <rdar://problem/5987482> clang on xcode: null dereference in ↵ | Steve Naroff | 2008-06-05 | 2 | -6/+39 | |
| | | | | | | | | | Sema::ActOnMemberReferenceExpr. In addition to fixing the crasher, this commit fixes further improves property lookup (by searching protocols of qualified interfaces..."NSObject <prot>"). llvm-svn: 52001 | |||||
| * | Emit debug information for global and static variables when -g is specified. | Sanjiv Gupta | 2008-06-05 | 4 | -0/+70 | |
| | | | | | llvm-svn: 51993 | |||||
| * | Fix trivial crasher and downgrade an error to warning (to match GCC). | Steve Naroff | 2008-06-05 | 1 | -2/+2 | |
| | | | | | llvm-svn: 51976 | |||||
| * | Support "<p>" as a short-hand for "id<p>". Here's a comment from GCC (the ↵ | Steve Naroff | 2008-06-05 | 1 | -1/+21 | |
| | | | | | | | | | | | only documentation I could find on it). /* Make "<SomeProtocol>" equivalent to "id <SomeProtocol>" - nisse@lysator.liu.se. */ This commit adds the parser magic. The type associated with <p> is still incorrect. Will discuss with Chris. llvm-svn: 51972 | |||||
| * | Fix crash identified by <rdar://problem/5986085>. | Steve Naroff | 2008-06-04 | 1 | -11/+23 | |
| | | | | | llvm-svn: 51969 | |||||
| * | Add ObjCInterface layout support. | Devang Patel | 2008-06-04 | 1 | -0/+43 | |
| | | | | | | | Reuse RecordLayout. llvm-svn: 51968 | |||||
| * | Refactoring. | Devang Patel | 2008-06-04 | 1 | -74/+80 | |
| | | | | | | | Move field layout code in a ASTRecordLayout member fn. llvm-svn: 51966 | |||||
| * | Added fixmes. | Ted Kremenek | 2008-06-04 | 1 | -0/+2 | |
| | | | | | llvm-svn: 51964 | |||||
| * | Parser::ParseObjCSynchronizedStmt() needs to Enter/Exit a decl scope. | Steve Naroff | 2008-06-04 | 1 | -0/+6 | |
| | | | | | llvm-svn: 51963 | |||||
| * | Make sure the types are consistent for a void conditional. No visible | Eli Friedman | 2008-06-04 | 1 | -4/+4 | |
| | | | | | | | difference, but it's better to be consistent. llvm-svn: 51961 | |||||
| * | For setting attributes, don't assume there are ParamVarDecls available, | Eli Friedman | 2008-06-04 | 1 | -12/+16 | |
| | | | | | | | | because trying to access non-existent ParamVarDecls can crash. Testcase from the original source for PR2414. llvm-svn: 51960 | |||||
| * | fix crash when codegening 'cond ? lhs : call-to-void-func()' | Nuno Lopes | 2008-06-04 | 1 | -1/+1 | |
| | | | | | llvm-svn: 51958 | |||||
| * | fix type of ?: operator. If one of the operator is void, the type should be ↵ | Nuno Lopes | 2008-06-04 | 1 | -2/+4 | |
| | | | | | | | | | void as well. Please confirm this is safe llvm-svn: 51957 | |||||
| * | Fix a gcc compatibility issue which allows more protocol-qualified id on RHS ↵ | Fariborz Jahanian | 2008-06-04 | 1 | -3/+12 | |
| | | | | | | | | | to be assigned to less protocol qualified object on LHS. llvm-svn: 51956 | |||||
| * | Make the width and alignment for long double consistent with the | Eli Friedman | 2008-06-04 | 1 | -2/+2 | |
| | | | | | | | | | | hardcoded data layout in getTargetDescription. Hopefully fixes a test failure. Of course, this should be fixed properly, but that's a bigger fix. llvm-svn: 51948 | |||||
| * | clang fix to parallel LLVM r51928 | Eli Friedman | 2008-06-04 | 1 | -1/+1 | |
| | | | | | | | (http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080602/063306.html). llvm-svn: 51944 | |||||
| * | Moved LangOptions from TranslationUnit to ASTContext. This induced a ↵ | Ted Kremenek | 2008-06-04 | 3 | -12/+13 | |
| | | | | | | | variety of cleanups in some ASTConsumers. llvm-svn: 51943 | |||||
| * | ASTContext::typesAreCompatible(): id is compatible with all qualified id types. | Steve Naroff | 2008-06-04 | 1 | -1/+10 | |
| | | | | | llvm-svn: 51939 | |||||
| * | Sema::ActOnClassMessage() needs to look through it's local implementation ↵ | Steve Naroff | 2008-06-04 | 1 | -0/+6 | |
| | | | | | | | for private class methods. llvm-svn: 51938 | |||||
| * | Move Decl and DeclContext implementations into a new DeclBase.cpp file. | Argyrios Kyrtzidis | 2008-06-04 | 2 | -312/+326 | |
| | | | | | llvm-svn: 51936 | |||||
| * | Make sure we look through categories when searching for a classes property. | Steve Naroff | 2008-06-04 | 1 | -0/+7 | |
| | | | | | | | Fixes <rdar://problem/5984338> clang on xcode: property implementation must have its declaration in interface 'PBXOpenQuicklyModule' llvm-svn: 51925 | |||||
| * | Give the "isa" slot a name! | Steve Naroff | 2008-06-04 | 1 | -1/+2 | |
| | | | | | llvm-svn: 51924 | |||||
| * | Put back my temporary hack until Eli addresses this in a more complete fashion. | Steve Naroff | 2008-06-03 | 1 | -0/+5 | |
| | | | | | llvm-svn: 51920 | |||||
| * | Implement another property related FIXME: | Steve Naroff | 2008-06-03 | 1 | -1/+3 | |
| | | | | | | | Fix <rdar://problem/5967199> clang on xcode: error: member reference is not to a structure or union llvm-svn: 51919 | |||||
| * | Re-fix r51907 in a way which doesn't affect valid code. This essentially | Eli Friedman | 2008-06-03 | 3 | -8/+60 | |
| | | | | | | | | | | | | | | moves the check for the invalid construct to a point where it doesn't affect other uses of isIntegerConstantExpr, and we can warn properly when the extension is used. This makes it a bit more complicated, but it's a lot cleaner. Steve, please tell me if this check is sufficient to handle the relevant system header. I know it's enough to handle the testcase, but I don't know what exactly the original looks like. llvm-svn: 51918 | |||||
| * | Fixup recent "super" regression. | Steve Naroff | 2008-06-03 | 1 | -1/+1 | |
| | | | | | llvm-svn: 51913 | |||||
| * | Change Expr::isIntegerConstantExpr() to allow for pointer types (for GCC ↵ | Steve Naroff | 2008-06-03 | 1 | -0/+5 | |
| | | | | | | | | | compatibility). Note FIXME. Fix <rdar://problem/5977870> clang on xcode: error: arrays with static storage duration must have constant integer length llvm-svn: 51907 | |||||

