summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
* Plist diagnostics now include PathDiagnostPiece::Kind.Ted Kremenek2009-03-021-0/+6
| | | | llvm-svn: 65878
* Update HTML diagnostics to honor the different between 'event' and ↵Ted Kremenek2009-03-022-3/+10
| | | | | | 'control-flow' diagnostics. llvm-svn: 65877
* BugReporter: Construct path-related PathDiagnosticPieces with kind ↵Ted Kremenek2009-03-021-11/+21
| | | | | | "ControlFlow". llvm-svn: 65876
* fix PR2639Chris Lattner2009-03-021-1/+1
| | | | llvm-svn: 65869
* Stub out some structure for C++ driver.Daniel Dunbar2009-03-024-1/+65
| | | | llvm-svn: 65867
* inline asm calls should be nounwind. Chris, please review.Anders Carlsson2009-03-021-1/+4
| | | | llvm-svn: 65866
* Fix name.Daniel Dunbar2009-03-021-5/+1
| | | | llvm-svn: 65865
* For now, do not output the 'DisplayHint' in plist files.Ted Kremenek2009-03-021-0/+3
| | | | llvm-svn: 65861
* For now, do not output the 'DisplayHint' in plist files.Ted Kremenek2009-03-021-4/+4
| | | | llvm-svn: 65860
* Fixed a typo.Fariborz Jahanian2009-03-021-1/+1
| | | | llvm-svn: 65855
* Check for duplicate declaration of method of a classFariborz Jahanian2009-03-022-0/+34
| | | | | | in its extension. llvm-svn: 65854
* Enable Objective-C interface debug info.Devang Patel2009-03-021-1/+2
| | | | llvm-svn: 65850
* Fix cmake builds.Mike Stump2009-03-021-1/+1
| | | | llvm-svn: 65847
* remove an implemented fixme.Zhongxing Xu2009-03-021-2/+0
| | | | llvm-svn: 65817
* Initial support for pointer arithmetic. Only support concrete indexes and Zhongxing Xu2009-03-022-1/+31
| | | | | | offsets for now. llvm-svn: 65814
* Avoid crash when child iterator gives null result.Daniel Dunbar2009-03-021-1/+2
| | | | llvm-svn: 65812
* Rename lib/Driver (etc) to lib/Frontend in prep for the *actual*Daniel Dunbar2009-03-0210-9/+9
| | | | | | driver taking lib/Driver. llvm-svn: 65811
* First cut at zero-cost EH support.Daniel Dunbar2009-03-021-72/+210
| | | | | | | | | | | - Still manually generates the EH code; the parts related to cleanup need to be integrated into the cleanup stack (for proper interaction with VLAs, etc.). - Some differences vs gcc in corner cases; I believe our behavior is correct but need to verify/file bugs vs gcc. llvm-svn: 65809
* Make sure to invoke (not call) to objc_exception_throw if necessary.Daniel Dunbar2009-03-021-2/+11
| | | | llvm-svn: 65808
* Fix completely broken thinko in GetClassGlobal.Daniel Dunbar2009-03-021-1/+1
| | | | llvm-svn: 65807
* Don't set nounwind on functions when in using the new Obj-C ABI.Daniel Dunbar2009-03-021-1/+1
| | | | llvm-svn: 65806
* Cleanup handling of function attributes in calls.Daniel Dunbar2009-03-021-35/+27
| | | | | | - No intended functionality change. llvm-svn: 65805
* Push checking down, also, give the user a hit as to which part of theMike Stump2009-03-022-39/+11
| | | | | | | block literal is causing the problem, instead of the vague reference to the entire block literal. llvm-svn: 65798
* Rework the way we find locally-scoped external declarations when weDouglas Gregor2009-03-026-92/+182
| | | | | | | | | | | need them to evaluate redeclarations or call a function that hasn't already been declared. We now keep a DenseMap of these locally-scoped declarations so that they are not visible but can be quickly found, e.g., when we're looking for previous declarations or before we go ahead and implicitly declare a function that's being called. Fixes PR3672. llvm-svn: 65792
* Add BLOCK_HAS_DESCRIPTOR to global blocks.Anders Carlsson2009-03-011-1/+2
| | | | llvm-svn: 65788
* Be sure to mark blocks with no imports as being global.Mike Stump2009-03-011-0/+4
| | | | llvm-svn: 65784
* simplify some code.Chris Lattner2009-03-011-9/+5
| | | | llvm-svn: 65782
* Fix <rdar://problem/6248764> parser rejects: bad receiver type 'CFStringRef'.Steve Naroff2009-03-011-1/+1
| | | | | | Downgrade an error to a warning (for GCC compatibility). llvm-svn: 65779
* Fix PR3509 by providing correct starting locations for initializer listsDouglas Gregor2009-03-011-11/+11
| | | | llvm-svn: 65777
* Fix <rdar://problem/6619539> incompatible pointer types sending ↵Steve Naroff2009-03-012-26/+35
| | | | | | | | | 'XCElementSpacer *', expected 'XCElement *' (not handling protocol signatures correctly?). - Reworked ASTContext::canAssignObjCInterfaces(). - Added ObjCProtocolDecl::lookupProtocolNamed(). llvm-svn: 65773
* Rename AnonTypedRegion to TypedViewRegion.Ted Kremenek2009-03-015-17/+17
| | | | llvm-svn: 65764
* Adjust wording of bug names.Ted Kremenek2009-03-011-8/+8
| | | | llvm-svn: 65763
* Obj-C non fragile ABI: Use GetClassGlobal in one more instance I missed.Daniel Dunbar2009-03-011-12/+1
| | | | llvm-svn: 65762
* Obj-C non fragile ABI: Add GetInterfaceEHType for getting the Obj-CDaniel Dunbar2009-03-011-3/+73
| | | | | | | exception typeinfo metadata, and a few other EH related types/functions. - No functionality change. llvm-svn: 65761
* NeXT: Unify code for creating a class global.Daniel Dunbar2009-03-011-85/+27
| | | | | | - No functionality change. llvm-svn: 65760
* ObjCAtCatchStmt's ParamStmt is always a DeclStmt.Daniel Dunbar2009-03-013-4/+4
| | | | llvm-svn: 65759
* Remove debugging code.Anders Carlsson2009-03-011-2/+0
| | | | llvm-svn: 65753
* Emit errors about unsupported blocks features.Anders Carlsson2009-03-011-0/+41
| | | | llvm-svn: 65751
* Initialize NSConcreteStackBlockAnders Carlsson2009-03-011-2/+2
| | | | llvm-svn: 65749
* Do some blocks cleanup and simplification. Fix a crash, and add a test case.Anders Carlsson2009-03-013-16/+48
| | | | llvm-svn: 65746
* "This patch uses the new ObjCImplDecl class to merge ↵Chris Lattner2009-03-012-78/+35
| | | | | | | | | | | | | | Sema::ImplMethodsVsClassMethods and Sema::ImplCategoryMethodsVsIntfMethods methods. And now, when clang check a class implementation to find unimplemented methods, it also checks all methods from the class extensions (unnamed categories). There is also a test case to check this warning. This patch contains also a minor update for ObjCImplDecl . getNameAsCString and getNameAsString now returns an empty string instead of crashing for unnamed categories." Patch by Jean-Daniel Dupas! llvm-svn: 65744
* Whoops, actually remove the VLA/VM check in FinalizeDeclaratorGroup.Anders Carlsson2009-02-281-36/+0
| | | | llvm-svn: 65737
* Fix invalid VLAs/VMs in Sema::ActOnVariableDeclarator, so that the variable ↵Anders Carlsson2009-02-281-0/+36
| | | | | | | | | | | will have the right type by the time the initializer is checked. This ensures that code like int a[(int)(1.0 / 1.0) = { 1 } will work. Eli, please review. llvm-svn: 65725
* Remove PrevFunctionScope slot (it isn't needed)...use getParent() instead.Steve Naroff2009-02-282-7/+3
| | | | llvm-svn: 65718
* Revert 65707 (causes stack memory to be referenced after it is released).Ted Kremenek2009-02-281-3/+3
| | | | llvm-svn: 65717
* Obscure code gen bug related to sending Fariborz Jahanian2009-02-284-7/+40
| | | | | | | message to 'super' in a class method declared in cateogy (darwin specific). llvm-svn: 65709
* Fix a crash in test/Parser/control-scope.c that testrunner didn'tChris Lattner2009-02-281-1/+1
| | | | | | | | notice because it was a negative test with a fix suggested by Jean-Daniel Dupas. Convert the test from a negative to a positive test to catch stuff like this. llvm-svn: 65708
* remove static ctor.Chris Lattner2009-02-281-3/+3
| | | | llvm-svn: 65707
* improve compatibility with the VC++'08 C++ compiler. Patch byChris Lattner2009-02-283-8/+9
| | | | | | Niklas Larsson! llvm-svn: 65706
* fix inverted conditional, rdar://6633188Chris Lattner2009-02-281-1/+1
| | | | llvm-svn: 65704
OpenPOWER on IntegriCloud