summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Put in FIXME that this mangling is not official in.Alexis Hunt2009-12-041-1/+1
| | | | llvm-svn: 90594
* OptTable: Allow option groups to be used to define "help groups", which willDaniel Dunbar2009-12-041-20/+61
| | | | | | collate the options inside that group. llvm-svn: 90592
* OptParser: Add HelpHidden flag.Daniel Dunbar2009-12-041-1/+5
| | | | llvm-svn: 90591
* Switch mangling of literal operator names to a string that'sAlexis Hunt2009-12-041-1/+1
| | | | | | | | | | a) legal b) likely to be chosen as the official mangling This will break ABI compatibility with all literal operator names, so you may need to recompile any such code. Sorry. llvm-svn: 90587
* Be sure to instantiate rtti for non-polymorphic bases.Mike Stump2009-12-041-1/+4
| | | | llvm-svn: 90586
* Teach AnalysisContext::getBody() about BlockDecls.Ted Kremenek2009-12-041-0/+2
| | | | llvm-svn: 90585
* Teach 'ExecutionContinues' (part of BugReporter's diagnostic generation) ↵Ted Kremenek2009-12-041-4/+13
| | | | | | about BlockDecls. llvm-svn: 90584
* Include BlockDeclRefExprs in constructed CFGs.Ted Kremenek2009-12-041-10/+0
| | | | llvm-svn: 90583
* Replace SymbolReaper::isLive(VarDecl) with SymbolReaper::isLive(VarRegion).Ted Kremenek2009-12-043-2/+6
| | | | llvm-svn: 90582
* When generating a virtual destructor, don't try to make a virtual call to ↵Anders Carlsson2009-12-041-10/+18
| | | | | | | | the base class destructor because then we'll just re-enter the same destructor! This was done to fix PR5619, so I went ahead and passed a dummy VTT pointer for now. llvm-svn: 90578
* Add gcc's -no-canonical-prefixes option to clang.Rafael Espindola2009-12-041-0/+3
| | | | llvm-svn: 90577
* Fixup nested try blocks.Mike Stump2009-12-041-2/+12
| | | | llvm-svn: 90576
* Fix warning and be sure to set up the rethrow pointer if we fall offMike Stump2009-12-041-3/+5
| | | | | | the end of all the catches. llvm-svn: 90574
* Rename 'Class' to 'MostDerivedClass'Anders Carlsson2009-12-041-8/+13
| | | | llvm-svn: 90573
* Store the vtable components in a SmallVector.Anders Carlsson2009-12-041-2/+3
| | | | llvm-svn: 90571
* Use a different ConstantArray::get.Anders Carlsson2009-12-041-1/+2
| | | | llvm-svn: 90570
* Move the vtable vector directly into the Vtable builder.Anders Carlsson2009-12-041-19/+30
| | | | llvm-svn: 90569
* Change getIndex to return false if the index wasn't found. Avoids an extra ↵Anders Carlsson2009-12-041-11/+12
| | | | | | hash lookup. llvm-svn: 90568
* Minor cleanup; no functionality change.Eli Friedman2009-12-041-9/+3
| | | | llvm-svn: 90565
* Remove unused argument.Eli Friedman2009-12-041-16/+14
| | | | llvm-svn: 90563
* Eliminate submethods vector.Eli Friedman2009-12-041-6/+0
| | | | llvm-svn: 90562
* Eliminate the inner loop in VtableBuilder::OverrideMethod.Eli Friedman2009-12-041-75/+71
| | | | llvm-svn: 90561
* PR5684: Fix refacto, the backend consumer was copying the Diagnostic object,Daniel Dunbar2009-12-041-3/+2
| | | | | | | which meant that hasErrorOccurred() checks to prevent codegen-on-invalid weren't working. llvm-svn: 90560
* ASTUnit/CIndex: Explicitly track the top-level decls when using an ASTUnit madeDaniel Dunbar2009-12-041-6/+24
| | | | | | | | from a source file. - This allows CIndex to avoid iterating over all the top-level decls when using a PCH, which means we deserialize far fewer decls. llvm-svn: 90559
* Make sure to call PerformObjectMemberConversion where necessary.Eli Friedman2009-12-041-1/+4
| | | | llvm-svn: 90555
* Use PresumedLoc when emitting the 'included from' diagnostics. For a malformedChris Lattner2009-12-041-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test like this: #line 4 "foo" #define XX ? #if XX #endif We now emit: In file included from t.c:7: foo:7:5: error: invalid token at start of a preprocessor expression #if XX ^ foo:5:12: note: instantiated from: #define XX ? ^ instead of: In file included from t.c:7: foo:7:5: error: invalid token at start of a preprocessor expression #if XX ^ ./t.h:6:12: note: instantiated from: #define XX ? ^ (where the note doesn't obey #line or print the include stack when needed). This fixes PR5617 llvm-svn: 90554
* Rename instance variable to avoid name conflict with parameters, and modify ↵Ted Kremenek2009-12-041-2/+2
| | | | | | addTransition() to compare the correct state values. llvm-svn: 90552
* Missed change from last commit.Eli Friedman2009-12-041-1/+1
| | | | llvm-svn: 90550
* Make the type of the Decl referred to by a MemberExpr a bit more precise.Eli Friedman2009-12-043-6/+6
| | | | llvm-svn: 90549
* Correctly mangle the 'std' namespace inside extern "C++" blocks.Anders Carlsson2009-12-041-13/+23
| | | | llvm-svn: 90544
* minor tidy.Chris Lattner2009-12-041-6/+5
| | | | llvm-svn: 90543
* Make sure that overridden method decls are always canonical.Anders Carlsson2009-12-043-3/+5
| | | | llvm-svn: 90542
* Fix regression in vtable improvements.Eli Friedman2009-12-041-2/+2
| | | | llvm-svn: 90540
* Try/catch statements seem to be working well enough to turn on.Mike Stump2009-12-041-1/+1
| | | | llvm-svn: 90538
* Disable for now, doesn't play nice with the temporary code.Mike Stump2009-12-041-1/+5
| | | | llvm-svn: 90537
* Rename method to something easier to search for.Eli Friedman2009-12-041-7/+10
| | | | llvm-svn: 90536
* More work in preparation of getting rid of the submethods loop.Anders Carlsson2009-12-041-4/+6
| | | | llvm-svn: 90535
* Remove an unused member variable.Anders Carlsson2009-12-041-6/+1
| | | | llvm-svn: 90534
* Add a way to get the index of a method. Assert that we have the same index ↵Anders Carlsson2009-12-041-5/+10
| | | | | | for now. llvm-svn: 90533
* Add a premature optimization.Anders Carlsson2009-12-041-0/+3
| | | | llvm-svn: 90532
* Add the method directly to the vtable.Anders Carlsson2009-12-041-6/+11
| | | | llvm-svn: 90531
* Get rid of the PureVirtualMethods map.Anders Carlsson2009-12-041-11/+0
| | | | llvm-svn: 90530
* Move handling of pure virtual methods to AppendMethods (and rename it to ↵Anders Carlsson2009-12-041-14/+6
| | | | | | AppendMethodsToVtable). llvm-svn: 90529
* Move covariant thunk handling to AppendMethods too.Anders Carlsson2009-12-041-43/+30
| | | | llvm-svn: 90528
* Move 'this' pointer adjustment thunks to AppendMethods.Anders Carlsson2009-12-041-15/+13
| | | | llvm-svn: 90527
* Make functions returning a struct indirectly evaluate the returned structEli Friedman2009-12-043-5/+15
| | | | | | | directly into the sret pointer. This is an optimization in C, but is required for correctness in C++ for classes with a non-trivial copy constructor. llvm-svn: 90526
* Factor appending methods to a vtable out into a separate function.Anders Carlsson2009-12-041-6/+13
| | | | llvm-svn: 90525
* Get rid of the Thunks struct too.Anders Carlsson2009-12-041-26/+16
| | | | llvm-svn: 90524
* Remove the CovariantThunk struct.Anders Carlsson2009-12-041-23/+15
| | | | llvm-svn: 90523
* Remove the GlobalDecl from the Thunk as well.Anders Carlsson2009-12-041-7/+5
| | | | llvm-svn: 90522
OpenPOWER on IntegriCloud