summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Regression fix: reset 'DisplayedFunction' when a new function/method decl ↵Ted Kremenek2009-08-031-0/+1
| | | | | | gets analyzed. llvm-svn: 77996
* assert(nyi) on attempt to destruct an array of objects.Fariborz Jahanian2009-08-031-2/+6
| | | | llvm-svn: 77993
* ir-gen for destructor calls.Fariborz Jahanian2009-08-032-0/+48
| | | | llvm-svn: 77991
* Refactor methods on DeclSpec to take a diagnostic& parameter, and reflect thisJohn McCall2009-08-038-157/+242
| | | | | | | | elsewhere. Very slightly decouples DeclSpec users from knowing the exact diagnostics to report, and makes it easier to provide different diagnostics in some places. llvm-svn: 77990
* Website updates for working with Visual Studio and making patches.Eli Friedman2009-08-032-3/+151
| | | | | | Patch by John Thompson! llvm-svn: 77988
* Minor renaming/refactoring. No change in functionality.Fariborz Jahanian2009-08-034-12/+10
| | | | llvm-svn: 77985
* Templatize BadSpecifier and introduce DeclSpec::getSpecifier(T) for theJohn McCall2009-08-032-42/+37
| | | | | | remaining specifier enums T. llvm-svn: 77981
* Formatting fixes (trailing whitespace, 80-cols, indentation).Daniel Dunbar2009-08-031-1081/+1088
| | | | llvm-svn: 77972
* Fix assertion crash. I don't have a testcase, but the fix is pretty Eli Friedman2009-08-031-1/+1
| | | | | | obviously correct. llvm-svn: 77969
* add a bunch of routine methods to AnalysisContext.Zhongxing Xu2009-08-033-16/+117
| | | | llvm-svn: 77961
* lit: Don't treat '\' as an escape in unquoted strings, on Win32. This turns outDaniel Dunbar2009-08-032-11/+12
| | | | | | to not be a very good idea. llvm-svn: 77957
* Tweak diagnostic wording; patch by Sean Hunt.Eli Friedman2009-08-031-1/+1
| | | | llvm-svn: 77955
* Update for LLVM API change.Daniel Dunbar2009-08-031-2/+1
| | | | llvm-svn: 77952
* Update for LLVM API change.Daniel Dunbar2009-08-031-1/+2
| | | | llvm-svn: 77947
* now we can let AnalysisManager to own the PathDiagnosticClient.Zhongxing Xu2009-08-032-9/+11
| | | | llvm-svn: 77945
* Create only one AnalysisManager for each translation unit. In HandleCode(),Zhongxing Xu2009-08-032-14/+15
| | | | | | reset the current analysis context of the AnalysisManager. llvm-svn: 77943
* Add LocationContext classes to enable creation of cross function Zhongxing Xu2009-08-031-0/+35
| | | | | | ProgramPoints. ProgramPoints will refer to them in the furture. llvm-svn: 77941
* Driver/OpenBSD: Improve ld options.Daniel Dunbar2009-08-032-3/+19
| | | | | | - Patch by Jonathan Gray! llvm-svn: 77935
* Produce a warning that partial ordering of function templates is not yet ↵Douglas Gregor2009-08-022-2/+8
| | | | | | supported llvm-svn: 77928
* Keep track of the template arguments deduced when matching a classDouglas Gregor2009-08-024-6/+110
| | | | | | | | template partial specialization. Then, use those template arguments when instantiating members of that class template partial specialization. Fixes PR4607. llvm-svn: 77925
* Whoops, meant to delete this.Anders Carlsson2009-08-021-1/+0
| | | | llvm-svn: 77916
* use CodeGenModule::EmitNullConstant in a couple of places.Anders Carlsson2009-08-023-4/+4
| | | | llvm-svn: 77915
* Use the correct cast kind for dynamic_cast.Anders Carlsson2009-08-022-9/+15
| | | | llvm-svn: 77905
* Update C++ open projects listDouglas Gregor2009-08-021-4/+2
| | | | llvm-svn: 77901
OpenPOWER on IntegriCloud