summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Rename CGRtti.cpp to CGRTTI.cpp.Mike Stump2009-12-022-1/+1
| | | | llvm-svn: 90331
* Avoid warning for getTerminateFn defined but not used.Mike Stump2009-12-021-9/+3
| | | | llvm-svn: 90330
* Extend -remap-file=from;to to permit mapping from a non-existentDouglas Gregor2009-12-022-26/+78
| | | | | | | | | | | | file. This is accomplished by introducing the notion of a "virtual" file into the file manager, which provides a FileEntry* for a named file whose size and modification time are known but which may not exist on disk. Added a cute little test that remaps both a .c file and a .h file it includes to alternative files. llvm-svn: 90329
* In Sema, whenever we think that a function is going to cause a vtable to be ↵Anders Carlsson2009-12-026-17/+54
| | | | | | generated, we mark any virtual implicit member functions as referenced. llvm-svn: 90327
* Move file-remapping logic into InitPreprocesor. No functionality changeDouglas Gregor2009-12-022-39/+53
| | | | llvm-svn: 90322
* r90313, in which OverloadedFunctionDecl is removed and never spoken of again.John McCall2009-12-027-100/+26
| | | | llvm-svn: 90313
* Fix ASTUnit::getOriginalSourceFileName() when using ASTUnit's derived fromDaniel Dunbar2009-12-021-1/+6
| | | | | | source files. llvm-svn: 90311
* ASTUnit: Don't create an LLVMContext, it shouldn't be needed.Daniel Dunbar2009-12-021-2/+1
| | | | llvm-svn: 90310
* Rip out the last remaining implicit use of OverloadedFunctionDecl in Sema:John McCall2009-12-029-76/+19
| | | | | | | LookupResult::getAsSingleDecl() is no more. Shift Sema::LookupSingleName to return null on overloaded results. llvm-svn: 90309
OpenPOWER on IntegriCloud