Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Attempt to fix the MSVC build. | Anders Carlsson | 2009-12-03 | 1 | -4/+4 |
| | | | | llvm-svn: 90427 | ||||
* | Fix layering violation by moving Analysis/CallGraph to Index | Daniel Dunbar | 2009-12-03 | 1 | -1/+1 |
| | | | | llvm-svn: 90424 | ||||
* | clang-cc: Honor -help and -version when using new style option parsing. | Daniel Dunbar | 2009-12-03 | 1 | -0/+6 |
| | | | | llvm-svn: 90422 | ||||
* | Add OptTable::PrintHelp. | Daniel Dunbar | 2009-12-03 | 2 | -0/+77 |
| | | | | llvm-svn: 90420 | ||||
* | Add clang -cc1 support for -remap-file. | Daniel Dunbar | 2009-12-03 | 1 | -2/+21 |
| | | | | llvm-svn: 90414 | ||||
* | Add clang -cc1 -load option. | Daniel Dunbar | 2009-12-03 | 1 | -0/+5 |
| | | | | llvm-svn: 90413 | ||||
* | Fix thunk generation for thunks with a parameter with reference type. | Eli Friedman | 2009-12-03 | 1 | -1/+2 |
| | | | | llvm-svn: 90412 | ||||
* | Minor cleanup. | Eli Friedman | 2009-12-03 | 3 | -12/+7 |
| | | | | llvm-svn: 90411 | ||||
* | Honor using declarations in overload resolution. Most of the code for | John McCall | 2009-12-03 | 3 | -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 Stump | 2009-12-03 | 4 | -15/+27 |
| | | | | llvm-svn: 90409 | ||||
* | Reflow. | Mike Stump | 2009-12-03 | 1 | -1/+3 |
| | | | | llvm-svn: 90407 | ||||
* | Revert r90402 for now, virt.cpp is failing. | Anders Carlsson | 2009-12-03 | 1 | -11/+9 |
| | | | | llvm-svn: 90406 | ||||
* | Add batch version of 'StoreManager::InvalidateRegion()' for invalidating ↵ | Ted Kremenek | 2009-12-03 | 3 | -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 Carlsson | 2009-12-03 | 1 | -9/+11 |
| | | | | llvm-svn: 90402 | ||||
* | Add CodeGenModule::ComputeThunkAdjustment, which Eli wrote. | Anders Carlsson | 2009-12-03 | 2 | -1/+42 |
| | | | | llvm-svn: 90401 | ||||
* | Remove the index from the Thunk struct. | Anders Carlsson | 2009-12-03 | 1 | -14/+10 |
| | | | | llvm-svn: 90400 | ||||
* | Change the Thunks map to use the vtable index as the key. | Anders Carlsson | 2009-12-03 | 1 | -7/+9 |
| | | | | llvm-svn: 90399 | ||||
* | Add the global decl to the Thunk struct. | Anders Carlsson | 2009-12-03 | 1 | -5/+7 |
| | | | | llvm-svn: 90398 | ||||
* | Remove unused struct fields. | Anders Carlsson | 2009-12-03 | 1 | -7/+2 |
| | | | | llvm-svn: 90397 | ||||
* | Delay computing the return adjustments for covariant thunks until when they ↵ | Anders Carlsson | 2009-12-03 | 1 | -98/+113 |
| | | | | | | are added to the vtable. llvm-svn: 90396 | ||||
* | No need to create the covariant thunk in both places now. | Anders Carlsson | 2009-12-03 | 1 | -12/+5 |
| | | | | llvm-svn: 90394 | ||||
* | Whoops, forgot to save :) | Anders Carlsson | 2009-12-03 | 1 | -2/+4 |
| | | | | llvm-svn: 90393 | ||||
* | Remove the index field from the CovariantThunk structure. | Anders Carlsson | 2009-12-03 | 1 | -14/+6 |
| | | | | llvm-svn: 90392 | ||||
* | Change the CovariantThunk map to use the vtable index as its key. | Anders Carlsson | 2009-12-03 | 1 | -9/+9 |
| | | | | llvm-svn: 90391 | ||||
* | Store a GlobalDecl in the return adjustment. | Anders Carlsson | 2009-12-03 | 1 | -4/+7 |
| | | | | llvm-svn: 90387 | ||||
* | Do not include the 'this' pointer adjustment in the covariant return type. ↵ | Anders Carlsson | 2009-12-03 | 1 | -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 Carlsson | 2009-12-03 | 1 | -112/+117 |
| | | | | | | changes to it. No functionality change. llvm-svn: 90382 | ||||
* | Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; ↵ | Daniel Dunbar | 2009-12-03 | 2 | -22/+10 |
| | | | | | | propogate and simplify. llvm-svn: 90379 | ||||
* | Add 'has_feature(cxx_exceptions)' to allow code to determine via ↵ | Ted Kremenek | 2009-12-03 | 1 | -0/+3 |
| | | | | | | preprocessor logic if C++ exceptions are enabled. llvm-svn: 90378 | ||||
* | Remove untrue statement. | Mike Stump | 2009-12-03 | 1 | -3/+0 |
| | | | | llvm-svn: 90377 | ||||
* | Rename has_feature(rtti) to has_feature(cxx_rtti) for clarity. | Ted Kremenek | 2009-12-03 | 1 | -3/+3 |
| | | | | llvm-svn: 90376 | ||||
* | Note a failure I saw from the g++ testsuite: | Mike Stump | 2009-12-03 | 1 | -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 Kremenek | 2009-12-03 | 1 | -0/+3 |
| | | | | llvm-svn: 90368 | ||||
* | Stop stripping UnresolvedUsingDecls out of LookupResults that have other | John McCall | 2009-12-03 | 1 | -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 Kremenek | 2009-12-03 | 1 | -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 Redl | 2009-12-03 | 4 | -0/+37 |
| | | | | llvm-svn: 90361 | ||||
* | Work-in-progress: teach mangler how to mangle thunks for destructors. | Eli Friedman | 2009-12-03 | 2 | -3/+16 |
| | | | | llvm-svn: 90360 | ||||
* | Cleanups on exceptional edges don't work at all, yet. This doesn't | Mike Stump | 2009-12-02 | 1 | -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 Stump | 2009-12-02 | 1 | -15/+19 |
| | | | | llvm-svn: 90357 | ||||
* | Add missing branch to exit. Seemingly obvious when I look at the | Mike Stump | 2009-12-02 | 1 | -0/+3 |
| | | | | | | code, but to track this down was laborious. llvm-svn: 90356 | ||||
* | Improve source location information for C++ member initializers in a | Douglas Gregor | 2009-12-02 | 5 | -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 Dunbar | 2009-12-02 | 1 | -4/+7 |
| | | | | llvm-svn: 90349 | ||||
* | ASTUnit: Fix initialization of OnlyLocalDecls variable, and honor ↵ | Daniel Dunbar | 2009-12-02 | 1 | -4/+4 |
| | | | | | | UseBumpAllocator. llvm-svn: 90348 | ||||
* | Fix for PR5522 and PR5666: fix a bunch of mangling issues with extern variables | Eli Friedman | 2009-12-02 | 1 | -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 evidence | John McCall | 2009-12-02 | 1 | -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 instance | John McCall | 2009-12-02 | 1 | -0/+3 |
| | | | | | | members. Fixes PR5667. llvm-svn: 90341 | ||||
* | Pull the terminate handler up so that we can use it for the catch | Mike Stump | 2009-12-02 | 1 | -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 Stump | 2009-12-02 | 1 | -2/+2 |
| | | | | llvm-svn: 90339 | ||||
* | Put the Builder classes into the anonymous namespace. | Mike Stump | 2009-12-02 | 2 | -1/+4 |
| | | | | llvm-svn: 90335 | ||||
* | Change rtti/Rtti to RTTI, as it is an acronym. | Mike Stump | 2009-12-02 | 8 | -41/+42 |
| | | | | llvm-svn: 90334 |