summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a totally synthetic situation I came up with while looking at a bug inNick Lewycky2009-02-251-0/+17
| | | | | | related code. llvm-svn: 65437
* random notesChris Lattner2009-02-251-6/+21
| | | | llvm-svn: 65436
* Recommend against using Gold to build LLVM.Nick Lewycky2009-02-251-0/+6
| | | | llvm-svn: 65435
* don't know if there is a vmkit release to match 2.5Chris Lattner2009-02-251-1/+1
| | | | llvm-svn: 65434
* updateChris Lattner2009-02-251-10/+6
| | | | llvm-svn: 65433
* Headers are basically done, debug info is just about done (and Chris Lattner2009-02-251-24/+1
| | | | | | | will improve a lot this week hopefully), and a libgcc replacement is ready once I wrangle lawyers. llvm-svn: 65432
* clang seems "generally useful" for c and objc by now, though obviously bugsChris Lattner2009-02-251-10/+9
| | | | | | still remain. llvm-svn: 65431
* update clang sectionChris Lattner2009-02-251-31/+24
| | | | llvm-svn: 65430
* rip out llvm 2.4 details to make room for 2.5Chris Lattner2009-02-251-242/+19
| | | | llvm-svn: 65429
* Minor cleanup for IntToBlockPointer so it applies to all callers of Eli Friedman2009-02-251-5/+1
| | | | | | | Sema::CheckAssignmentConstraints; not really visible, but the right thing to do. llvm-svn: 65428
* Expand tabs to spaces (overlooked in previous commit)Scott Michel2009-02-252-13/+13
| | | | llvm-svn: 65427
* Remove all "cached" data from BuildVectorSDNode, preferring to retrieveScott Michel2009-02-253-53/+30
| | | | | | | | | results via reference parameters. This patch also appears to fix Evan's reported problem supplied as a reduced bugpoint test case. llvm-svn: 65426
* retain/release checker: Implement basic tracking of autorelease stack. Next ↵Ted Kremenek2009-02-251-6/+26
| | | | | | thing is to wire up pools with their contents. llvm-svn: 65425
* Implement 'Add' method for GRStatePartialTrait<ImmutableList<T>>.Ted Kremenek2009-02-251-0/+5
| | | | llvm-svn: 65424
* Fix comments.Devang Patel2009-02-251-3/+3
| | | | llvm-svn: 65423
* Enable debug info emission for objc methods.Devang Patel2009-02-251-0/+3
| | | | llvm-svn: 65422
* Update checker build.Ted Kremenek2009-02-251-1/+1
| | | | llvm-svn: 65421
* Remove a FIXME; I was mistaken in believing gcc rejected this.Daniel Dunbar2009-02-251-1/+0
| | | | llvm-svn: 65420
* Fix condition in ccc-analyzer that would cause the analyzer never to be run.Ted Kremenek2009-02-251-1/+1
| | | | llvm-svn: 65417
* Minor refactoring.Fariborz Jahanian2009-02-241-3/+2
| | | | llvm-svn: 65414
* patch for two things.Fariborz Jahanian2009-02-242-5/+8
| | | | | | | make sure objc2's nonfragile abi is enacted for Leopard too. add -fobjc-gc-only flag to the image_info symbol. llvm-svn: 65413
* Fix broken logic from my last commit. Branches only occur at basic blocks ↵Ted Kremenek2009-02-241-1/+1
| | | | | | that end with terminators. llvm-svn: 65410
* Fix diagnostic regression where the leak diagnostic could appear earlier in ↵Ted Kremenek2009-02-241-1/+11
| | | | | | the path than the branches taken. llvm-svn: 65407
* Added support to have TableGen provide information if an intrinsic (coreMon P Wang2009-02-245-2/+51
| | | | | | or target) can be overloaded or not. llvm-svn: 65404
* If Loc is invalid (e.g. "self" in Objective-C) then use MainFileID's compile ↵Devang Patel2009-02-241-1/+4
| | | | | | unit. llvm-svn: 65403
* If compile unit's language is not set then don't crash while dump'ing ↵Devang Patel2009-02-241-1/+2
| | | | | | compile unit. llvm-svn: 65402
* handle @encode interactions with array initializers.Chris Lattner2009-02-242-17/+27
| | | | llvm-svn: 65401
* rename CheckStringLiteralInit to CheckStringInit and pass in the Chris Lattner2009-02-241-19/+26
| | | | | | string size as an argument. llvm-svn: 65400
* make SemaRef be a reference to sema, not a pointer.Chris Lattner2009-02-241-78/+78
| | | | llvm-svn: 65399
* move InitListChecker to be private to SemaInit.cppChris Lattner2009-02-242-5/+3
| | | | llvm-svn: 65398
* Make CheckSingleInitializer a static function in SemaInit.cppChris Lattner2009-02-242-15/+13
| | | | llvm-svn: 65397
* make CheckStringLiteralInit a static function in SemaInit.cppChris Lattner2009-02-242-19/+19
| | | | llvm-svn: 65396
* change IsStringLiteralInit into a static function in SemaInit.cppChris Lattner2009-02-242-8/+8
| | | | llvm-svn: 65395
* move some initialization checking code from SemaDecl.cppChris Lattner2009-02-243-144/+157
| | | | | | to SemaInit.cpp, no functionality change. llvm-svn: 65394
* first wave of fixes for @encode sema support. This is part of PR3648.Chris Lattner2009-02-2412-50/+101
| | | | | | | The big difference here is that (like string literal) @encode has array type, not pointer type. llvm-svn: 65391
* ccc-analyzer: Don't analyze files with '-arch ppc' or '-arch ppc64' since ClangTed Kremenek2009-02-241-2/+10
| | | | | | | doesn't support Altivec intrisics nor is it likely that we're currently generating all the right #defines, etc., for those architectures. llvm-svn: 65390
* some minor cleanups, handle ObjCEncodeExpr in a couple places.Chris Lattner2009-02-241-6/+6
| | | | llvm-svn: 65389
* improve comments.Chris Lattner2009-02-241-1/+8
| | | | llvm-svn: 65388
* Set flag for -fobjc-gc in IMAGE_INFO variable.Fariborz Jahanian2009-02-241-1/+5
| | | | llvm-svn: 65387
* When we're declaring an object or function with linkage, teach nameDouglas Gregor2009-02-247-27/+97
| | | | | | | lookup to skip over names without linkage. This finishes <rdar://problem/6127293>. llvm-svn: 65386
* Extend the implicit declaration and checking against out-of-scopeDouglas Gregor2009-02-244-107/+196
| | | | | | | | | | | | | external declarations to also support external variable declarations. Unified the code for these two cases into two new subroutines. Note that we fail to diagnose cases like the one Neil pointed out, where a visible non-external declaration hides an external declaration by the same name. That will require some reshuffling of name lookup. llvm-svn: 65385
* retain/release checker:Ted Kremenek2009-02-241-70/+38
| | | | | | | | | | | | - For autorelease pool tracking, keep information about the stack of pools separate from their contents. Also, keep track of the number of times an autorelease pool will send the "release" message to an object when the pool is destroyed. - Update CFRefCount::Update to return a new state instead of a reference count binding. This will allow us to implement more complicated semantics with autorelease pools. llvm-svn: 65384
* Extension of GEP in constant folder was broken (apparently this codeDaniel Dunbar2009-02-241-1/+1
| | | | | | | has never been run!). - Sorry, don't know how to make an LLVM test case for this. llvm-svn: 65383
* Rename ScalarEvolution's getIterationCount to getBackedgeTakenCount,Dan Gohman2009-02-2421-146/+178
| | | | | | | | | to more accurately describe what it does. Expand its doxygen comment to describe what the backedge-taken count is and how it differs from the actual iteration count of the loop. Adjust names and comments in associated code accordingly. llvm-svn: 65382
* Fix IRgen of constant expressions referring to external/staticDaniel Dunbar2009-02-242-5/+15
| | | | | | | variables. - PR3657. llvm-svn: 65381
* Overhaul my earlier submission due to feedback. It's a large patch, but most ofBill Wendling2009-02-2443-139/+174
| | | | | | | | | | | | them are generic changes. - Use the "fast" flag that's already being passed into the asm printers instead of shoving it into the DwarfWriter. - Instead of calling "MI->getParent()->getParent()" for every MI, set the machine function when calling "runOnMachineFunction" in the asm printers. llvm-svn: 65379
* Some initial Obj-C zero cost EH support.Daniel Dunbar2009-02-241-5/+134
| | | | | | | | | - Only handles cases with @try with no @catch blocks, and there are a number of problems with the implementation. Nevertheless, this is good enough to handled @synchronized correctly, and some other basic uses. llvm-svn: 65378
* Add a very primitive clang based multifile 'delta'.Daniel Dunbar2009-02-241-0/+251
| | | | | | | | | | | | - Interface is more or less like multidelta. - Keep in mind it won't work very well; delta is O(N^2) frequently in practice. multidelta manages to work because it folds lines to keep N small, but this is just working on raw tokens. However, I have a fancy pants DAG based delta algorithm which will be the bees knees once I get it wired to clang. llvm-svn: 65377
* Add a note about an IRgen optimization opportunity.Daniel Dunbar2009-02-241-1/+7
| | | | llvm-svn: 65376
* Add a debugging option for SSC DCE.Owen Anderson2009-02-241-0/+5
| | | | llvm-svn: 65375
OpenPOWER on IntegriCloud