forked from OSchip/llvm-project
parent
cc979f9ae6
commit
50da84bdb9
|
@ -141,8 +141,6 @@ namespace {
|
||||||
: S(S), ResultIndex(PseudoObjectExpr::NoResult),
|
: S(S), ResultIndex(PseudoObjectExpr::NoResult),
|
||||||
GenericLoc(genericLoc) {}
|
GenericLoc(genericLoc) {}
|
||||||
|
|
||||||
virtual ~PseudoOpBuilder() {}
|
|
||||||
|
|
||||||
/// Add a normal semantic expression.
|
/// Add a normal semantic expression.
|
||||||
void addSemanticExpr(Expr *semantic) {
|
void addSemanticExpr(Expr *semantic) {
|
||||||
Semantics.push_back(semantic);
|
Semantics.push_back(semantic);
|
||||||
|
@ -181,6 +179,9 @@ namespace {
|
||||||
virtual ExprResult buildGet() = 0;
|
virtual ExprResult buildGet() = 0;
|
||||||
virtual ExprResult buildSet(Expr *, SourceLocation,
|
virtual ExprResult buildSet(Expr *, SourceLocation,
|
||||||
bool captureSetValueAsResult) = 0;
|
bool captureSetValueAsResult) = 0;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
~PseudoOpBuilder() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
/// A PseudoOpBuilder for Objective-C @properties.
|
/// A PseudoOpBuilder for Objective-C @properties.
|
||||||
|
|
Loading…
Reference in New Issue