forked from OSchip/llvm-project
Revert r143972, which didn't actually compile under -Wnon-virtual-dtor.
(TIL: -Wnon-virtual-dtor is not in -Wall.) llvm-svn: 144058
This commit is contained in:
parent
6f84fed675
commit
fb3cb9a861
|
@ -141,6 +141,8 @@ namespace {
|
|||
: S(S), ResultIndex(PseudoObjectExpr::NoResult),
|
||||
GenericLoc(genericLoc) {}
|
||||
|
||||
virtual ~PseudoOpBuilder() {}
|
||||
|
||||
/// Add a normal semantic expression.
|
||||
void addSemanticExpr(Expr *semantic) {
|
||||
Semantics.push_back(semantic);
|
||||
|
@ -179,9 +181,6 @@ namespace {
|
|||
virtual ExprResult buildGet() = 0;
|
||||
virtual ExprResult buildSet(Expr *, SourceLocation,
|
||||
bool captureSetValueAsResult) = 0;
|
||||
|
||||
protected:
|
||||
~PseudoOpBuilder() {}
|
||||
};
|
||||
|
||||
/// A PseudoOpBuilder for Objective-C @properties.
|
||||
|
|
Loading…
Reference in New Issue