- Nov 28, 2009
-
-
Alexis Hunt authored
DeclarationName can't handle them yet, so right now Parser just errors out on them. llvm-svn: 90027
-
Eli Friedman authored
llvm-svn: 90026
-
Eli Friedman authored
GetCXXBaseClassOffset to actually pass the test. llvm-svn: 90025
-
Anders Carlsson authored
We always want to create a virtual function pointer entry if the path from the derived return value to the base overridden return value contains a virtual base class. llvm-svn: 90024
-
- Nov 27, 2009
-
-
Anders Carlsson authored
llvm-svn: 90021
-
Anders Carlsson authored
llvm-svn: 90020
-
Anders Carlsson authored
Add a new PrimaryBaseInfo struct that combines the record decl of a primary base with whether it's virtual or not. llvm-svn: 90018
-
Anders Carlsson authored
llvm-svn: 90017
-
Eli Friedman authored
AggExprEmitter::VisitCastExpr. llvm-svn: 89988
-
Eli Friedman authored
implement it explicitly or assert that it doesn't make sense for a scalar. This caught a couple interesting issues: one, CK_BaseToDerivedMemberPointer casts were getting silently miscompiled, and two, Sema was constructing some strange implicit casts of type CK_UserDefinedConversion. The change in SemaExprCXX makes sure the cast kinds are getting set correctly. llvm-svn: 89987
-
Eli Friedman authored
llvm-svn: 89986
-
Eli Friedman authored
we check whether the vtable needs to be generated. llvm-svn: 89984
-
Anders Carlsson authored
llvm-svn: 89983
-
- Nov 26, 2009
-
-
Anders Carlsson authored
When adding an implicit destructor, make sure to mark it as virtual if it overrides existing destructors. llvm-svn: 89967
-
Anders Carlsson authored
llvm-svn: 89966
-
Anders Carlsson authored
llvm-svn: 89965
-
Anders Carlsson authored
Make the pure virtual methods map a set instead. llvm-svn: 89961
-
Gabor Greif authored
llvm-svn: 89949
-
Gabor Greif authored
this brings the error on clang -c foo.h -o - closer to clang -c foo.h -o /dev/null llvm-svn: 89948
-
Benjamin Kramer authored
llvm-svn: 89947
-
Daniel Dunbar authored
llvm-svn: 89946
-
Eli Friedman authored
llvm-svn: 89945
-
Eli Friedman authored
llvm-svn: 89944
-
Eli Friedman authored
operators, and destructors. Avoids generating declarations/definitions of trivial constructors/destructors, and makes sure the trivial copy assignment operator is generated when necessary. llvm-svn: 89943
-
Ted Kremenek authored
Improve diagnostics in ReturnStackAddressChecker for returning a stack-allocated block. Implements the rest of <rdar://problem/7387385>. llvm-svn: 89940
-
Eli Friedman authored
llvm-svn: 89938
-
Anders Carlsson authored
llvm-svn: 89935
-
Eli Friedman authored
instead of checking explicitly for an EnumConstantDecl. This folds references to constant integer VarDecls, which has two benefits: 1. Slightly smaller emitted code from emitting a constant instead of a load, and skipping emitting some constant globals. 2. Some code forgets to define static constant member variables; emitting a load instead of the value in that case leads to a link error. (Such programs are technically not well-formed, but in practice build with g++.) llvm-svn: 89934
-
Anders Carlsson authored
llvm-svn: 89933
-
Eli Friedman authored
llvm-svn: 89932
-
Eli Friedman authored
internal linkage. Fixes PR5433. llvm-svn: 89931
-
Anders Carlsson authored
llvm-svn: 89930
-
Ted Kremenek authored
the set of variables "captured" by a block. Until the analysis gets more sophisticated, for now we stop the retain count tracking of any objects (transitively) referenced by these variables. llvm-svn: 89929
-
Ted Kremenek authored
Teach RegionStoreManager::RemoveDeadBindings() about BlockDataRegions. Any VarRegion for a "captured" variable should also be considered live. llvm-svn: 89928
-
Ted Kremenek authored
Add iterators to BlockDataRegion that allow clients to iterate over the VarRegions for "captured" variables for a block. llvm-svn: 89927
-
Ted Kremenek authored
Added batch versions of GRState::scanReachableSymbols() so that clients can scan a collection of SVals or MemRegions all at once. llvm-svn: 89926
-
Anders Carlsson authored
Add a ThunkAdjustment struct which holds a non-virtual and a virtual adjustment offset. Start using it. General cleanup in Mangle.cpp. llvm-svn: 89925
-
Ted Kremenek authored
Enhance LiveVariables to understand that blocks can extend the liveness of a variable by "capturing" them in a BlockExpr. This required two changes: 1) Added 'getReferencedgetReferencedBlockVars()' to AnalysisContext so that clients can iterate over the "captured" variables in a block. 2) Modified LiveVariables to take an AnalysisContext& in its constructor and to call getReferencedgetReferencedBlockVars() when it processes a BlockExpr*. llvm-svn: 89924
-
Daniel Dunbar authored
Factor out a LangStandard class and coalesce the information about the standards into LangStandards.def - I'd appreciate another pair of eyeballs to double check this. llvm-svn: 89919
-
Daniel Dunbar authored
llvm-svn: 89918
-