| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Warn on use of __weak attribute on local | Fariborz Jahanian | 2009-02-21 | 1 | -0/+5 | |
| | | | | | | | variable (objc2 gc specific). llvm-svn: 65240 | |||||
| * | Use llvm::StringsEqualNoCase instead of strncasecmp. | Ted Kremenek | 2009-02-21 | 1 | -8/+5 | |
| | | | | | llvm-svn: 65237 | |||||
| * | Fixed an ICE in meta-data generation of __weak/__strong ivars. | Fariborz Jahanian | 2009-02-21 | 1 | -1/+2 | |
| | | | | | llvm-svn: 65235 | |||||
| * | Evaluation of unary deref could call integer evaluator on non-integral | Daniel Dunbar | 2009-02-21 | 1 | -0/+7 | |
| | | | | | | | | expr; hilarity ensued. - PR3640. llvm-svn: 65234 | |||||
| * | Fix build on windows. | Cedric Venet | 2009-02-21 | 2 | -1/+6 | |
| | | | | | | | Should clang have a config.h or should we use the config.h of llvm or using the preprocessor is OK? I did a quick fix here, but having a guideline on how to handle non portable function would be great (or ask ted to stop breaking the windows build :)). llvm-svn: 65233 | |||||
| * | This fixes <rdar://problem/6497650> More type mismatches issues with clang. | Steve Naroff | 2009-02-21 | 2 | -16/+16 | |
| | | | | | | | | | | | Move two key ObjC typechecks from Sema::CheckPointerTypesForAssignment() to ASTContext::mergeTypes(). This allows us to take advantage of the recursion in ASTContext::mergeTypes(), removing some bogus warnings. This test case I've added includes an example where we still warn (and GCC doesn't). Need to talk with folks and decide what to do. At this point, the major bogosities should be fixed. llvm-svn: 65231 | |||||
| * | Improved naming convention heuristics in the retain/release checker to better | Ted Kremenek | 2009-02-21 | 1 | -9/+94 | |
| | | | | | | | | | | handle method names that contain 'new', 'copy', etc., but those words might be the substring of larger words such as 'newsgroup' and 'photocopy' that do not indicate the allocation of objects. This should address the issues discussed in <rdar://problem/6552389>. llvm-svn: 65224 | |||||
| * | Slight tweak to last commit: make sure to copy CVR qualifiers for fixed | Eli Friedman | 2009-02-21 | 1 | -1/+3 | |
| | | | | | | | pointer types. llvm-svn: 65210 | |||||
| * | Re-fix r65140 correctly. | Eli Friedman | 2009-02-21 | 2 | -23/+72 | |
| | | | | | llvm-svn: 65208 | |||||
| * | Handle case of none gc'able objects regardless of their | Fariborz Jahanian | 2009-02-21 | 2 | -5/+20 | |
| | | | | | | | type. llvm-svn: 65205 | |||||
| * | Emit extern_weak when needed. | Daniel Dunbar | 2009-02-21 | 1 | -5/+10 | |
| | | | | | | | - PR3629. llvm-svn: 65203 | |||||
| * | We must always mangle attribute overloadable functions; even if in a | Daniel Dunbar | 2009-02-20 | 1 | -5/+5 | |
| | | | | | | | | system header. - Prevents a codegen crash when anything used anything in tgmath! :) llvm-svn: 65200 | |||||
| * | Fix <rdar://problem/6500554> missing objc error message. | Steve Naroff | 2009-02-20 | 2 | -7/+22 | |
| | | | | | llvm-svn: 65198 | |||||
| * | switch the macroinfo argument lists from being allocated off the heap | Chris Lattner | 2009-02-20 | 2 | -5/+5 | |
| | | | | | | | | | | to being allocated from the same bumpptr that the MacroInfo objects themselves are. This speeds up -Eonly cocoa.h pth by ~4%, fsyntax-only is barely measurable. llvm-svn: 65195 | |||||
| * | detemplatify setArgumentList and some other cleanups. | Chris Lattner | 2009-02-20 | 2 | -8/+5 | |
| | | | | | llvm-svn: 65187 | |||||
| * | require the MAcroInfo objects are explcitly destroyed. | Chris Lattner | 2009-02-20 | 2 | -3/+12 | |
| | | | | | llvm-svn: 65179 | |||||
| * | allocate and dellocate objc decl list through AST Context instead of | Chris Lattner | 2009-02-20 | 1 | -2/+3 | |
| | | | | | | | | | | with new/delete. With disable-free, this reduces the number of 4/8 byte mallocs from 4793/1541 to 865/456 and also drops other sizes as well. This is a very small perf win, nothing major. llvm-svn: 65171 | |||||
| * | fix indentation | Chris Lattner | 2009-02-20 | 1 | -3/+3 | |
| | | | | | llvm-svn: 65170 | |||||
| * | silence some warnings in no asserts mode. | Chris Lattner | 2009-02-20 | 1 | -5/+4 | |
| | | | | | llvm-svn: 65169 | |||||
| * | add plumbing to get ASTContext& down to allocation/deallocation points in ↵ | Chris Lattner | 2009-02-20 | 3 | -33/+44 | |
| | | | | | | | | | ObjCList, but don't start using it yet. Renamed some methods to be more consistent. llvm-svn: 65168 | |||||
| * | newly factored, we can now move the set and destroy methods out of line. | Chris Lattner | 2009-02-20 | 1 | -0/+20 | |
| | | | | | llvm-svn: 65166 | |||||
| * | Greatly simplify the logic in ExplodedGraphImpl::TrimGraph. Now we just do a | Ted Kremenek | 2009-02-20 | 1 | -111/+42 | |
| | | | | | | | | | | vanilla reverse-BFS followed by a forward-DFS instead of resulting to strange histrionics (whose purpose I can no longer remember) in the reverse-BFS stage. This fixes an assertion failure in BugReporter due to edge cases where no root was being hit in the reverse-BFS phase. llvm-svn: 65160 | |||||
| * | rename ObjCList::clear() -> ObjCList::Destroy(). Require that destroy is called | Chris Lattner | 2009-02-20 | 1 | -6/+6 | |
| | | | | | | | before the dtor. llvm-svn: 65156 | |||||
| * | rearrange the contents of DeclObjC to be by-class. Fix some 80 column issues | Chris Lattner | 2009-02-20 | 1 | -328/+367 | |
| | | | | | | | and other non-semantic changes. llvm-svn: 65155 | |||||
| * | destroy should forward to base class. | Chris Lattner | 2009-02-20 | 1 | -0/+1 | |
| | | | | | llvm-svn: 65151 | |||||
| * | move the @implementation ivar list to being an ObjCList, which prevents | Chris Lattner | 2009-02-20 | 2 | -20/+11 | |
| | | | | | | | it from being leaked, among other things. llvm-svn: 65150 | |||||
| * | Add some IRgen improvement notes. | Daniel Dunbar | 2009-02-20 | 1 | -0/+17 | |
| | | | | | llvm-svn: 65146 | |||||
| * | Shorten; no functionality change. | Daniel Dunbar | 2009-02-20 | 1 | -8/+6 | |
| | | | | | llvm-svn: 65145 | |||||
| * | Take advantage of noreturn attribute to add unreachable instruction & | Daniel Dunbar | 2009-02-20 | 1 | -0/+12 | |
| | | | | | | | | clear insertion point. The rest of IRgen should theoretically take advantage of this to avoid emitting dead code. Theory != Practice. llvm-svn: 65141 | |||||
| * | Always try to fold array sizes, and warn if we could fold something that ↵ | Anders Carlsson | 2009-02-20 | 2 | -47/+16 | |
| | | | | | | | isn't an ICE. This makes us compatible with GCC. llvm-svn: 65140 | |||||
| * | remove some more methods from objc decls, using the iterator | Chris Lattner | 2009-02-20 | 6 | -41/+40 | |
| | | | | | | | interfaces more consistently. llvm-svn: 65138 | |||||
| * | Handle constant int -> ptr casts of lvalue results. | Daniel Dunbar | 2009-02-20 | 1 | -8/+17 | |
| | | | | | | | - PR3463 (again). llvm-svn: 65133 | |||||
| * | remove some slow O(n) methods. | Chris Lattner | 2009-02-20 | 1 | -19/+0 | |
| | | | | | llvm-svn: 65132 | |||||
| * | Change ObjCForwardProtocolDecl to use an ObjCList. | Chris Lattner | 2009-02-20 | 1 | -11/+6 | |
| | | | | | llvm-svn: 65131 | |||||
| * | Set call attribute for direct calls (i.e. noreturn). | Daniel Dunbar | 2009-02-20 | 3 | -26/+26 | |
| | | | | | | | - Remove an unused variant of EmitCallExpr overload. llvm-svn: 65130 | |||||
| * | move the interace list of @class to use ObjCList. | Chris Lattner | 2009-02-20 | 1 | -16/+3 | |
| | | | | | llvm-svn: 65129 | |||||
| * | Fix <rdar://problem/6586239> bitfield constraints not enforced (for ObjC) | Steve Naroff | 2009-02-20 | 1 | -6/+3 | |
| | | | | | llvm-svn: 65128 | |||||
| * | remove a dead list. | Chris Lattner | 2009-02-20 | 1 | -2/+1 | |
| | | | | | llvm-svn: 65127 | |||||
| * | add support for amd64-*, patch by Brooks Davis! | Chris Lattner | 2009-02-20 | 1 | -1/+1 | |
| | | | | | llvm-svn: 65124 | |||||
| * | switch ObjCMethodDecl's parameter list from being explicitly managed to an ↵ | Chris Lattner | 2009-02-20 | 2 | -15/+2 | |
| | | | | | | | ObjCList. llvm-svn: 65114 | |||||
| * | switch the interface ivar list from being explicitly managed to using ObjCList. | Chris Lattner | 2009-02-20 | 1 | -17/+2 | |
| | | | | | llvm-svn: 65113 | |||||
| * | move more objc destruction out of dtors into Destroy. | Chris Lattner | 2009-02-20 | 1 | -11/+42 | |
| | | | | | llvm-svn: 65112 | |||||
| * | move some objc decl destruction out of dtors into Destroy method. | Chris Lattner | 2009-02-20 | 1 | -6/+9 | |
| | | | | | llvm-svn: 65111 | |||||
| * | Add an example in comments. | Zhongxing Xu | 2009-02-20 | 1 | -1/+6 | |
| | | | | | llvm-svn: 65110 | |||||
| * | A few small tweaks to isConstantInitializer. (No test because this | Eli Friedman | 2009-02-20 | 1 | -3/+9 | |
| | | | | | | | isn't getting used by Sema or CodeGen at the moment...) llvm-svn: 65107 | |||||
| * | Add support for * (unary dereference) operator to ExprConstant. | Eli Friedman | 2009-02-20 | 1 | -0/+9 | |
| | | | | | llvm-svn: 65105 | |||||
| * | optimize the 'StoredDeclsMap' for the common case where there is | Chris Lattner | 2009-02-20 | 1 | -44/+121 | |
| | | | | | | | | | | | exactly one decl with a specific name in a specific context. This avoids a bunch of malloc traffic and shrinks StoredDeclsMap to hold one pointer instead of 3 words (for a std::vector). This speeds up -fsyntax-only on cocoa.h with PTH by ~7.3%. llvm-svn: 65103 | |||||
| * | Suppress constant initializer checking when the declaration isn't valid. | Eli Friedman | 2009-02-20 | 1 | -2/+4 | |
| | | | | | | | | | This prevents emitting diagnostics which are almost certainly useless. (Note that the test is checking that we emit only one diagnostic.) llvm-svn: 65101 | |||||
| * | Initialize the Init variable to something reasonable when we emit an | Eli Friedman | 2009-02-20 | 1 | -1/+4 | |
| | | | | | | | error, so we don't crash. llvm-svn: 65099 | |||||
| * | ExprConstant handling for a couple more cases of pointer-to-int casts | Eli Friedman | 2009-02-20 | 1 | -3/+18 | |
| | | | | | | | from the testsuite. llvm-svn: 65098 | |||||

