summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-282-21/+53
| | | | llvm-svn: 77299
* Implement ObjCMethodDecl::getCanonicalDecl().Argyrios Kyrtzidis2009-07-282-1/+23
| | | | llvm-svn: 77298
* -Add ObjCCategoryImplDecl::getCategoryClass() which returns the category ↵Argyrios Kyrtzidis2009-07-282-1/+13
| | | | | | | | | 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-288-14/+116
| | | | llvm-svn: 77291
* Allow functions to be marked "implicit return zero" and so mark main().John McCall2009-07-283-1/+25
| | | | | | 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-284-1/+559
| | | | | | when statements and expressions are equivalent. llvm-svn: 77284
* Only generate preprocessed files during crashes using Clang, not GCC.Ted Kremenek2009-07-281-8/+2
| | | | llvm-svn: 77281
* 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-282-3/+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-276-53/+51
| | | | llvm-svn: 77267
* Ensure we can work through typedefs.Mike Stump2009-07-272-2/+5
| | | | llvm-svn: 77265
* (1) Enable PlistDiagnostics to take an option "PathDiagnosticClientFactory"Ted Kremenek2009-07-275-23/+133
| | | | | | | | | | | | | | | 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 scan-build support for 'plist-html', a hybrid mode that supports theTed Kremenek2009-07-272-19/+26
| | | | | | | | creation of both HTML and plist files. Plist files are currently not generated using the same layout algorithm as just specifying '-plist', so this is mainly intended to help support automated runs of the analyzer. llvm-svn: 77263
* Add knowledge about _longjmp being noreturn.Mike Stump2009-07-272-3/+6
| | | | llvm-svn: 77254
* Add builtin knowledge about longjmp being noreturn. Add printing forMike Stump2009-07-273-1/+11
| | | | | | the noreturn attribute. llvm-svn: 77253
* Update for LLVM API change.Owen Anderson2009-07-2717-25/+27
| | | | 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
* fix test (broken in r77224)Benjamin Kramer2009-07-271-1/+1
| | | | llvm-svn: 77241
* Add noreturn for exit.Mike Stump2009-07-274-0/+17
| | | | llvm-svn: 77237
* Make ObjCImplDecl inherit from ObjCContainerDecl.Argyrios Kyrtzidis2009-07-277-88/+15
| | | | | | ObjCContainerDecl now is the root class for objc decls that contain methods. llvm-svn: 77235
* Tweak MultiTestRunner --path argument.Daniel Dunbar2009-07-273-8/+15
| | | | | | | | - Accept multiple values instead of embedding separator. - Make sure this gets used when searching for 'clang' binary. - Switch makefiles to using --path to stay in sync with cmake. llvm-svn: 77234
* Use DICompositeType->replaceAllUsesWith()Devang Patel2009-07-271-4/+3
| | | | llvm-svn: 77228
* Fix typo in error messageDouglas Gregor2009-07-271-1/+1
| | | | llvm-svn: 77224
* Prepare CMake regression testing for Daniel's upcoming fix to the test runnerDouglas Gregor2009-07-271-4/+4
| | | | llvm-svn: 77223
* When instantiating a variable without an initializer, callDouglas Gregor2009-07-272-3/+24
| | | | | | ActOnUninitializedDecl. llvm-svn: 77211
* Use the CGRecordLayoutBuilder even if there are no fields, because in C++ an ↵Anders Carlsson2009-07-272-27/+23
| | | | | | empty class will have a padding byte. llvm-svn: 77205
* Enable the new struct type builder now that the constant struct builder ↵Anders Carlsson2009-07-276-17/+14
| | | | | | works. (The old code will still be there until we know that everything works well. llvm-svn: 77190
* Fix a tail padding bug in the record layout builder code. The bug was found ↵Anders Carlsson2009-07-272-6/+19
| | | | | | by an existing test. llvm-svn: 77189
* Enable the new constant struct builder by default. The old code is still in ↵Anders Carlsson2009-07-274-8/+10
| | | | | | place but will be removed shortly. The new struct builder works on big endian systems. llvm-svn: 77185
* add bugzilla #Chris Lattner2009-07-271-0/+1
| | | | llvm-svn: 77183
* More work on the constant struct builder, fix a couple of thinkos and add ↵Anders Carlsson2009-07-271-9/+59
| | | | | | support for inserting part of a bitfield in the previous byte. llvm-svn: 77180
* More work on bitfield support in the new constant struct builder.Anders Carlsson2009-07-271-2/+79
| | | | llvm-svn: 77177
* Fix PR4624.Mike Stump2009-07-272-2/+5
| | | | llvm-svn: 77176
* fix segfault (because of erasing after the vector boundaries) when the ↵Nuno Lopes2009-07-261-1/+2
| | | | | | cached token position is at the end llvm-svn: 77159
* add gentoo 2009.0 g++ header locationsNuno Lopes2009-07-261-1/+9
| | | | llvm-svn: 77158
* Switch to getName()Daniel Dunbar2009-07-261-1/+1
| | | | llvm-svn: 77151
* Switch to using llvm::Value::getName()Daniel Dunbar2009-07-262-4/+3
| | | | llvm-svn: 77147
* Update for API change.Daniel Dunbar2009-07-261-1/+1
| | | | llvm-svn: 77112
* Lookup targets by Triple instead of Module.Daniel Dunbar2009-07-261-1/+2
| | | | llvm-svn: 77108
* Preserve qualifiers.Mike Stump2009-07-251-3/+10
| | | | llvm-svn: 77097
* PR3575 - warn on declared variable or function attributes after a ↵Ryan Flynn2009-07-254-0/+49
| | | | | | definition, which are currently ignored. llvm-svn: 77095
* Refactor ObjCImplDecl::getInstanceMethod/getClassMethod into oneArgyrios Kyrtzidis2009-07-252-30/+9
| | | | | | ObjCImplDecl::getMethod. llvm-svn: 77094
* Refactor ObjCInterfaceDecl::lookupInstanceMethod/lookupClassMethod into oneArgyrios Kyrtzidis2009-07-252-45/+15
| | | | | | ObjCInterfaceDecl::lookupMethod. llvm-svn: 77093
* Refactor ObjCProtocolDecl::lookupInstanceMethod/lookupClassMethod into oneArgyrios Kyrtzidis2009-07-252-20/+12
| | | | | | ObjCProtocolDecl::lookupMethod. llvm-svn: 77092
* Refactor ObjCContainerDecl::getInstanceMethod/getClassMethod into oneArgyrios Kyrtzidis2009-07-252-29/+10
| | | | | | | | ObjCContainerDecl::getMethod. Avoids code duplication. llvm-svn: 77091
* Improve comments (Thanks Fariborz).Mike Stump2009-07-251-2/+4
| | | | llvm-svn: 77090
* Add noreturn as a type attribute, handle printing for them and handleMike Stump2009-07-259-52/+148
| | | | | | calls to noreturn function pointers when CFG building. llvm-svn: 77089
OpenPOWER on IntegriCloud