summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to fix the MSVC build.Anders Carlsson2009-12-031-4/+4
| | | | llvm-svn: 90427
* Fix layering violation by moving Analysis/CallGraph to IndexDaniel Dunbar2009-12-031-1/+1
| | | | llvm-svn: 90424
* clang-cc: Honor -help and -version when using new style option parsing.Daniel Dunbar2009-12-031-0/+6
| | | | llvm-svn: 90422
* Add OptTable::PrintHelp.Daniel Dunbar2009-12-032-0/+77
| | | | llvm-svn: 90420
* Add clang -cc1 support for -remap-file.Daniel Dunbar2009-12-031-2/+21
| | | | llvm-svn: 90414
* Add clang -cc1 -load option.Daniel Dunbar2009-12-031-0/+5
| | | | llvm-svn: 90413
* Fix thunk generation for thunks with a parameter with reference type.Eli Friedman2009-12-031-1/+2
| | | | llvm-svn: 90412
* Minor cleanup.Eli Friedman2009-12-033-12/+7
| | | | llvm-svn: 90411
* Honor using declarations in overload resolution. Most of the code forJohn McCall2009-12-033-67/+108
| | | | | | | | | | | overloaded-operator resolution is wildly untested, but the parallel code for methods seems to satisfy some trivial tests. Also change some overload-resolution APIs to take a type instead of an expression, which lets us avoid creating a spurious CXXThisExpr when resolving implicit member accesses. llvm-svn: 90410
* Add support for thunking dtors. Oh why does this make my head hurt?Mike Stump2009-12-034-15/+27
| | | | llvm-svn: 90409
* Reflow.Mike Stump2009-12-031-1/+3
| | | | llvm-svn: 90407
* Revert r90402 for now, virt.cpp is failing.Anders Carlsson2009-12-031-11/+9
| | | | llvm-svn: 90406
* Add batch version of 'StoreManager::InvalidateRegion()' for invalidating ↵Ted Kremenek2009-12-033-28/+64
| | | | | | multiple regions as once. After adopting this in the CFRefCount::EvalCall(), we see a reduction in analysis time of 1.5% when analyzing all of SQLite3. llvm-svn: 90405
* Use Eli's ComputeThunkAdjustment for calculating the return adjustment.Anders Carlsson2009-12-031-9/+11
| | | | llvm-svn: 90402
* Add CodeGenModule::ComputeThunkAdjustment, which Eli wrote.Anders Carlsson2009-12-032-1/+42
| | | | llvm-svn: 90401
* Remove the index from the Thunk struct.Anders Carlsson2009-12-031-14/+10
| | | | llvm-svn: 90400
* Change the Thunks map to use the vtable index as the key.Anders Carlsson2009-12-031-7/+9
| | | | llvm-svn: 90399
* Add the global decl to the Thunk struct.Anders Carlsson2009-12-031-5/+7
| | | | llvm-svn: 90398
* Remove unused struct fields.Anders Carlsson2009-12-031-7/+2
| | | | llvm-svn: 90397
* Delay computing the return adjustments for covariant thunks until when they ↵Anders Carlsson2009-12-031-98/+113
| | | | | | are added to the vtable. llvm-svn: 90396
* No need to create the covariant thunk in both places now.Anders Carlsson2009-12-031-12/+5
| | | | llvm-svn: 90394
* Whoops, forgot to save :)Anders Carlsson2009-12-031-2/+4
| | | | llvm-svn: 90393
* Remove the index field from the CovariantThunk structure.Anders Carlsson2009-12-031-14/+6
| | | | llvm-svn: 90392
* Change the CovariantThunk map to use the vtable index as its key.Anders Carlsson2009-12-031-9/+9
| | | | llvm-svn: 90391
* Store a GlobalDecl in the return adjustment.Anders Carlsson2009-12-031-4/+7
| | | | llvm-svn: 90387
* Do not include the 'this' pointer adjustment in the covariant return type. ↵Anders Carlsson2009-12-031-26/+39
| | | | | | Instead, store it in the (now oddly named) Thunks map. llvm-svn: 90386
* Move VtableBuilder::OverrideMethod out of line in preparation of other ↵Anders Carlsson2009-12-031-112/+117
| | | | | | changes to it. No functionality change. llvm-svn: 90382
* Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; ↵Daniel Dunbar2009-12-032-22/+10
| | | | | | propogate and simplify. llvm-svn: 90379
* Add 'has_feature(cxx_exceptions)' to allow code to determine via ↵Ted Kremenek2009-12-031-0/+3
| | | | | | preprocessor logic if C++ exceptions are enabled. llvm-svn: 90378
* Remove untrue statement.Mike Stump2009-12-031-3/+0
| | | | llvm-svn: 90377
* Rename has_feature(rtti) to has_feature(cxx_rtti) for clarity.Ted Kremenek2009-12-031-3/+3
| | | | llvm-svn: 90376
* Note a failure I saw from the g++ testsuite:Mike Stump2009-12-031-0/+1
| | | | | | FAIL: g++.old-deja/g++.mike/eh23.C (test for excess errors) llvm-svn: 90374
* Add "has_feature" support for C++ RTTI.Ted Kremenek2009-12-031-0/+3
| | | | llvm-svn: 90368
* Stop stripping UnresolvedUsingDecls out of LookupResults that have otherJohn McCall2009-12-031-6/+3
| | | | | | | | | results in them (which we were doing intentionally as a stopgap). Fix an DeclContext lookup-table ordering problem which was causing UsingDecls to show up incorrectly when looking for ordinary results. And oh hey Clang-Code-Syntax passes now. llvm-svn: 90367
* Add a heuristic to the dead stores checker to prune dead stores for ↵Ted Kremenek2009-12-031-1/+2
| | | | | | variables annotated with '__block'. This is overly conservative, but now the analyzer doesn't report dead stores for variables that can be updated by a block call. llvm-svn: 90364
* Introduce the notion of literal types, as specified in C++0x.Sebastian Redl2009-12-034-0/+37
| | | | llvm-svn: 90361
* Work-in-progress: teach mangler how to mangle thunks for destructors.Eli Friedman2009-12-032-3/+16
| | | | llvm-svn: 90360
* Cleanups on exceptional edges don't work at all, yet. This doesn'tMike Stump2009-12-021-5/+0
| | | | | | | catch very many of them and if we caught all of them, the errors would be annoying. I'm working on this next. WIP. llvm-svn: 90358
* Add a cleanup scope for each catch clause.Mike Stump2009-12-021-15/+19
| | | | llvm-svn: 90357
* Add missing branch to exit. Seemingly obvious when I look at theMike Stump2009-12-021-0/+3
| | | | | | code, but to track this down was laborious. llvm-svn: 90356
* Improve source location information for C++ member initializers in aDouglas Gregor2009-12-025-65/+137
| | | | | | | constructor, by keeping the DeclaratorInfo* rather than just the type and a single location. llvm-svn: 90355
* ASTUnit: Explicitly track whether the ASTUnit came from an actual AST or not.Daniel Dunbar2009-12-021-4/+7
| | | | llvm-svn: 90349
* ASTUnit: Fix initialization of OnlyLocalDecls variable, and honor ↵Daniel Dunbar2009-12-021-4/+4
| | | | | | UseBumpAllocator. llvm-svn: 90348
* Fix for PR5522 and PR5666: fix a bunch of mangling issues with extern variablesEli Friedman2009-12-021-11/+25
| | | | | | and funcctions declared locally within a function. llvm-svn: 90344
* Use a more rigorous definition of 'class member'. I don't have any evidenceJohn McCall2009-12-021-7/+19
| | | | | | that this was causing a problem, but it could have. llvm-svn: 90343
* Recognize that EnumConstantDecls can be found by lookup and are not instanceJohn McCall2009-12-021-0/+3
| | | | | | members. Fixes PR5667. llvm-svn: 90341
* Pull the terminate handler up so that we can use it for the catchMike Stump2009-12-021-35/+31
| | | | | | | parameter setup code and set up the catch parameter setup code to protect that code with terminate. llvm-svn: 90340
* Turn off for now.Mike Stump2009-12-021-2/+2
| | | | llvm-svn: 90339
* Put the Builder classes into the anonymous namespace.Mike Stump2009-12-022-1/+4
| | | | llvm-svn: 90335
* Change rtti/Rtti to RTTI, as it is an acronym.Mike Stump2009-12-028-41/+42
| | | | llvm-svn: 90334
OpenPOWER on IntegriCloud