summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Refactor some bits.Mike Stump2009-08-051-1/+1
| | | | llvm-svn: 78254
* Add another test for a recent checkin.Mike Stump2009-08-051-0/+13
| | | | llvm-svn: 78253
* Calculate the primary base class better and use that when laying downMike Stump2009-08-056-22/+193
| | | | | | the vtable. Still a work in progress. llvm-svn: 78252
* A blank line to separate the two blocks(per Mike comment).Fariborz Jahanian2009-08-051-0/+1
| | | | llvm-svn: 78248
* Fix -fno-omit-frame-pointer bug Eli noticed.Benjamin Kramer2009-08-051-2/+2
| | | | llvm-svn: 78233
* Modified test case to use FileCheck.Fariborz Jahanian2009-08-051-2/+11
| | | | llvm-svn: 78231
* Get rid of "smart" quotes. Per report on cfe-dev.Eli Friedman2009-08-055-25/+25
| | | | llvm-svn: 78230
* Use feedback from RegionStoreSubRegionMap::add() to prune off adding a superTed Kremenek2009-08-051-7/+11
| | | | | | region to the worklist used to create the subregion map. llvm-svn: 78228
* Fix canonical type construction for function types with the noreturnDouglas Gregor2009-08-052-1/+10
| | | | | | attribute. Fixes PR4865. llvm-svn: 78224
* Handle destruction of temporaries used in default argumentFariborz Jahanian2009-08-053-2/+14
| | | | | | construction of constructor calls. llvm-svn: 78222
* Patch to improve ir-gen for constructors with default argumentFariborz Jahanian2009-08-056-17/+67
| | | | | | expressions and a test case. llvm-svn: 78213
* Translate -mcmodel=X to -code-model X and pass it to clang-cc. Patch by ↵Benjamin Kramer2009-08-052-0/+6
| | | | | | Pawel Worach! llvm-svn: 78190
* Add support for the -fno-omit-frame-pointer option. Patch by Roman Divacky!Benjamin Kramer2009-08-052-1/+3
| | | | llvm-svn: 78188
* Fix a comment that trailed offDouglas Gregor2009-08-051-1/+1
| | | | llvm-svn: 78167
* Introduce the canonical type smart pointers, and use them in a few places toDouglas Gregor2009-08-0512-47/+801
| | | | | | tighten up the static type system. llvm-svn: 78164
* Fix a bug in RegionStoreSubRegionManager::add() where multiple subregions ↵Ted Kremenek2009-08-052-2/+15
| | | | | | wouldn't correctly get registered in the SubRegion map. llvm-svn: 78162
* cgobjcgnu was making invalid common globals.Chris Lattner2009-08-051-2/+2
| | | | llvm-svn: 78161
* weak globals that are const should get weak_odr linkage.Chris Lattner2009-08-052-6/+35
| | | | | | add a fixme about C++ const. llvm-svn: 78159
* rdar://7119244 - globals with an explicit section specified don't getChris Lattner2009-08-052-2/+10
| | | | | | common linkage. llvm-svn: 78158
* Add test case.Zhongxing Xu2009-08-051-0/+12
| | | | llvm-svn: 78150
* If the UnaryOperator has non-location type, use its type to create theZhongxing Xu2009-08-053-2/+19
| | | | | | | | | constant value. If the UnaryOperator has location type, create the constant with int type and pointer width. This fixes the bug that all pointer increments 'p++' evaluated to Unknown. llvm-svn: 78147
* Remove an unused header.Mike Stump2009-08-051-1/+0
| | | | llvm-svn: 78140
* Support for use of default argument in constructors.Fariborz Jahanian2009-08-053-3/+34
| | | | | | work in progress. llvm-svn: 78132
* Move the template instantiation logic for template arguments into theDouglas Gregor2009-08-042-50/+89
| | | | | | | | | | general tree transformation. Also, implement template instantiation for parameter packs. In addition, introduce logic to enter the appropriate context for subexpressions that are not potentially evaluated. llvm-svn: 78114
* vtable building for simple inheritance. Still in progress.Mike Stump2009-08-042-4/+30
| | | | llvm-svn: 78110
* Canonicalize else.Mike Stump2009-08-0412-169/+114
| | | | llvm-svn: 78102
* Test cases for some recent work.Mike Stump2009-08-041-3/+25
| | | | llvm-svn: 78100
* Will I ever get used to CamelCase? Will I ever like capitols forMike Stump2009-08-041-7/+5
| | | | | | | | | random variables? --This line, and those below, will be ignored-- M lib/CodeGen/CGCXX.cpp llvm-svn: 78094
* Add armv7 support.Mike Stump2009-08-041-2/+8
| | | | llvm-svn: 78092
* Revert the fix for PR3800, it broke things.Anders Carlsson2009-08-042-2/+15
| | | | llvm-svn: 78084
* Renable "html" indexing by default.Ted Kremenek2009-08-041-1/+1
| | | | llvm-svn: 78077
* Some code refactoring. Be more generous in issuance of warningFariborz Jahanian2009-08-042-24/+38
| | | | | | on method type mismatches per Chris's comment. llvm-svn: 78075
* Refactor template instantiation for types into a generic treeDouglas Gregor2009-08-044-444/+1209
| | | | | | | | | transformation template (TreeTransform) that handles the transformation and reconstruction of AST nodes. Template instantiation for types is a (relatively small) customization of the generic tree transformation. llvm-svn: 78071
* Simplify alignment handling in the record builder.Anders Carlsson2009-08-041-12/+18
| | | | llvm-svn: 78069
* lit: Some sample tests, for testing the testerDaniel Dunbar2009-08-045-0/+20
| | | | llvm-svn: 78050
* Fix test case for Darwin10 (which sets ssp), and move to CodeGen/Daniel Dunbar2009-08-041-16/+16
| | | | llvm-svn: 78049
* Update for LLVM API changeDaniel Dunbar2009-08-041-2/+1
| | | | llvm-svn: 78044
* Compare matching selectors in current andFariborz Jahanian2009-08-044-2/+86
| | | | | | | super class(s) and warn on any parameter type mismatch if potentially unsafe. llvm-svn: 78029
* Adjust test case.Ted Kremenek2009-08-041-1/+1
| | | | llvm-svn: 78028
* Recognize '-M' and '-MM' options.Ted Kremenek2009-08-041-1/+1
| | | | llvm-svn: 78027
* 'unlink' file directly instead of invoking system shell.Ted Kremenek2009-08-041-1/+1
| | | | llvm-svn: 78026
* Have scan-build clue off of 'BUGMETAEND' to know when to stop processing an ↵Ted Kremenek2009-08-031-8/+1
| | | | | | HTML file. llvm-svn: 78022
* Emit a special 'BUGMETAEND' comment to aid in the postprocessing of HTML bug ↵Ted Kremenek2009-08-031-39/+20
| | | | | | reports. llvm-svn: 78021
* Per advice that Doug Gregor gave me several months ago, clean up theTed Kremenek2009-08-036-60/+45
| | | | | | | | | | | | | implementation of '#pragma unused' by not constructing intermediate DeclRefExprs, but instead do the name lookup directly. The implementation is greatly simplified. Along the way, degrade '#pragma unused(undeclaredvariable)' to a warning instead of being a hard error. This implements: <rdar://problem/6761874> [sema] allow #pragma unused to reference undefined variable (with warning) llvm-svn: 78019
* Add a pass-by-value test for the analyzer.Ted Kremenek2009-08-031-0/+14
| | | | llvm-svn: 78018
* PR3679: add #pragma weak test fileRyan Flynn2009-08-031-0/+158
| | | | llvm-svn: 78016
* Add test case testing field sensitivity. Reduced from <rdar://problem/7114618>.Ted Kremenek2009-08-031-0/+15
| | | | llvm-svn: 78008
* Make sure UTF-16 strings end with a 16-bit null (as opposed to 8-bit).Daniel Dunbar2009-08-032-2/+6
| | | | llvm-svn: 78001
* Handle disgusting corner case where a byte is loaded from the address of a ↵Ted Kremenek2009-08-032-1/+12
| | | | | | function. llvm-svn: 78000
* When generating cleanup blocks for Obj-C @finally, mark them as catch all blocksDaniel Dunbar2009-08-031-1/+4
| | | | | | | | from the perspective of LLVM exception handling. Otherwise the C++ personality function may decide not to run them, if it only detects cleanup handlers. - Test case for this is exceptions.m in llvm-test. llvm-svn: 77999
OpenPOWER on IntegriCloud