summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Make functional-style casts emit correct messages, and fix a crash-on-invalid.Sebastian Redl2009-07-295-9/+16
| | | | llvm-svn: 77451
* add a fixmeZhongxing Xu2009-07-291-2/+4
| | | | llvm-svn: 77447
* BlockScopeInfo::hasPrototype was uninitialized.Daniel Dunbar2009-07-291-0/+1
| | | | llvm-svn: 77421
* CharLiteralParser::IsMultiChar was sometimes uninitialized.Daniel Dunbar2009-07-291-1/+2
| | | | llvm-svn: 77420
* Add missing '"'Daniel Dunbar2009-07-291-1/+1
| | | | llvm-svn: 77416
* Code refactoring to define getCXXRecordDeclForPointerTypeFariborz Jahanian2009-07-293-22/+21
| | | | | | and use it in several places. llvm-svn: 77411
* Some minor cleanups, thanks Chris.Mike Stump2009-07-282-18/+8
| | | | llvm-svn: 77402
* Some style fixes, thanks Chris.Mike Stump2009-07-281-12/+8
| | | | llvm-svn: 77400
* Add support for -Wmissing-noreturn.Mike Stump2009-07-281-2/+13
| | | | llvm-svn: 77391
* Refactor the code that produces a TemplateSpecializationType, so thatDouglas Gregor2009-07-283-114/+96
| | | | | | | | canonicalization for dependent TemplateSpecializationTypes occurs within ASTContext::getTemplateSpecializationType. Also, move template argument canonicalization into ASTContext::getCanonicalTemplateArgument. llvm-svn: 77388
* remove extraneous bracesChris Lattner2009-07-281-5/+2
| | | | llvm-svn: 77386
* Add noreturn support for blocks.Mike Stump2009-07-283-5/+55
| | | | llvm-svn: 77377
* ir-gen derived-to-base conversion in implicit casts.Fariborz Jahanian2009-07-281-1/+15
| | | | llvm-svn: 77374
* Update for LLVM API change.Owen Anderson2009-07-283-11/+11
| | | | llvm-svn: 77368
* Remove the old RecordOrganizer.Anders Carlsson2009-07-281-151/+0
| | | | llvm-svn: 77365
* Fix PR 4631. The compound initializers of unions were not being evaluated, whichTed Kremenek2009-07-281-8/+2
| | | | | | | | | could cause false positives if any the subexpressions had side-effects. These initializers weren't evaluated because the StoreManager would need to handle them, but that's an orthogonal problem of whether or not the StoreManager can handle the binding. llvm-svn: 77361
* Fix regression in attribute 'nonnull' checking when a transition nodeTed Kremenek2009-07-281-1/+1
| | | | | | was created but not added to the destination NodeSet. This fixes PR 4630. llvm-svn: 77353
* Add a field for C++ specific data to ASTRecordLayout. Use it to store the ↵Anders Carlsson2009-07-282-17/+37
| | | | | | non-virtual size and alignment + base offsets. llvm-svn: 77352
* More cleanup of data member access and then some.Fariborz Jahanian2009-07-282-10/+25
| | | | llvm-svn: 77351
* Update for LLVM API change.Owen Anderson2009-07-284-37/+37
| | | | llvm-svn: 77349
* fix PR4633: cast to void should silence the 'unused expression' warning.Chris Lattner2009-07-281-4/+3
| | | | llvm-svn: 77344
* add some fixme'sChris Lattner2009-07-281-2/+2
| | | | llvm-svn: 77343
* Some code cleanup.Fariborz Jahanian2009-07-282-26/+11
| | | | llvm-svn: 77339
* More CGRecordLayoutBuilder cleanup.Anders Carlsson2009-07-282-33/+12
| | | | llvm-svn: 77335
* More work toward data member access ir-gen.Fariborz Jahanian2009-07-283-0/+54
| | | | llvm-svn: 77332
* Fix a typo in a commentDouglas Gregor2009-07-281-1/+1
| | | | llvm-svn: 77324
* Profiling the pointer of a canonical type is sufficient to uniquely identify ↵Douglas Gregor2009-07-281-20/+13
| | | | | | the type llvm-svn: 77321
* Finish profile support for statements.Douglas Gregor2009-07-281-3/+128
| | | | llvm-svn: 77320
* Complete profile support for C++ and Objective-C expressionsDouglas Gregor2009-07-281-62/+78
| | | | llvm-svn: 77318
* Bounds checking for address spaces.John McCall2009-07-281-0/+17
| | | | llvm-svn: 77303
* CallExpr's SubExprs sometimes were allocated in the wrong place.Daniel Dunbar2009-07-281-1/+1
| | | | llvm-svn: 77302
* Reimplement QualifierSet using a single word, as requested by dgregor.John McCall2009-07-281-6/+6
| | | | llvm-svn: 77299
* Implement ObjCMethodDecl::getCanonicalDecl().Argyrios Kyrtzidis2009-07-281-0/+20
| | | | llvm-svn: 77298
* -Add ObjCCategoryImplDecl::getCategoryClass() which returns the category ↵Argyrios Kyrtzidis2009-07-281-1/+11
| | | | | | | | | interface decl. -Correct ObjCMethodDecl::getNextRedeclaration(); A method in a ObjCCategoryImplDecl should point to a method in the associated ObjCCategoryDecl, not the ObjCInterfaceDecl. llvm-svn: 77297
* Use ObjCImplDecl in place of ObjCCategoryImplDecl/ObjCImplementationDecl.Argyrios Kyrtzidis2009-07-281-5/+3
| | | | llvm-svn: 77296
* Make longjmp a real builtin.Mike Stump2009-07-284-10/+68
| | | | llvm-svn: 77291
* Allow functions to be marked "implicit return zero" and so mark main().John McCall2009-07-282-1/+17
| | | | | | Codegen by initializing the return value with its LLVM type's null value. llvm-svn: 77288
* Add a Profile function for statements so that we can (eventually) determineDouglas Gregor2009-07-282-0/+538
| | | | | | when statements and expressions are equivalent. llvm-svn: 77284
* Fix helper function GetNextStmt() to look for the first statement that has aTed Kremenek2009-07-281-0/+5
| | | | | | valid SourceLocation. llvm-svn: 77280
* Make sure to move the comment with the code.Mike Stump2009-07-281-0/+3
| | | | llvm-svn: 77279
* Patch for objc's zero-const exception to not assumeFariborz Jahanian2009-07-271-11/+10
| | | | | | | that @catch(...) cathces all exceptions (c++ objects are not cought by that). llvm-svn: 77270
* Update for LLVM API change.Owen Anderson2009-07-275-52/+50
| | | | llvm-svn: 77267
* Ensure we can work through typedefs.Mike Stump2009-07-271-2/+2
| | | | llvm-svn: 77265
* (1) Enable PlistDiagnostics to take an option "PathDiagnosticClientFactory"Ted Kremenek2009-07-273-16/+105
| | | | | | | | | | | | | | | object that it can use to forward PathDiagnostics for further processing. Along with this feature, the PlistDiagnostics object logs which files are created by the forwarding of the PathDiagnostics. (2) Create a new PathDiagnosticClientFactory object for HTMLDiagnostics, allowing other PathDiagnosticClients to forward PathDiagnostics through an opaque interface. (3) Create a "plist-html" diagnostics option in AnalysisConsumer to allow the logging of HTML files created in a hybrid Plist+HTML diagnostic client. llvm-svn: 77264
* Add knowledge about _longjmp being noreturn.Mike Stump2009-07-271-2/+2
| | | | llvm-svn: 77254
* Add builtin knowledge about longjmp being noreturn. Add printing forMike Stump2009-07-272-1/+5
| | | | | | the noreturn attribute. llvm-svn: 77253
* Update for LLVM API change.Owen Anderson2009-07-274-12/+14
| | | | llvm-svn: 77249
* Some minor changes toward support of dataFariborz Jahanian2009-07-273-0/+23
| | | | | | member access in the presense of non-virtual bases. llvm-svn: 77246
* Add noreturn for exit.Mike Stump2009-07-271-0/+3
| | | | llvm-svn: 77237
* Make ObjCImplDecl inherit from ObjCContainerDecl.Argyrios Kyrtzidis2009-07-274-28/+4
| | | | | | ObjCContainerDecl now is the root class for objc decls that contain methods. llvm-svn: 77235
OpenPOWER on IntegriCloud