[cfe-commits] r143965 - /cfe/trunk/lib/Sema/SemaPseudoObject.cpp
Matt Beaumont-Gay
matthewbg at google.com
Mon Nov 7 09:16:32 PST 2011
Author: matthewbg
Date: Mon Nov 7 11:16:31 2011
New Revision: 143965
URL: http://llvm.org/viewvc/llvm-project?rev=143965&view=rev
Log:
Appease -Wnon-virtual-dtor
Modified:
cfe/trunk/lib/Sema/SemaPseudoObject.cpp
Modified: cfe/trunk/lib/Sema/SemaPseudoObject.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaPseudoObject.cpp?rev=143965&r1=143964&r2=143965&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaPseudoObject.cpp (original)
+++ cfe/trunk/lib/Sema/SemaPseudoObject.cpp Mon Nov 7 11:16:31 2011
@@ -141,6 +141,8 @@
: S(S), ResultIndex(PseudoObjectExpr::NoResult),
GenericLoc(genericLoc) {}
+ virtual ~PseudoOpBuilder() {}
+
/// Add a normal semantic expression.
void addSemanticExpr(Expr *semantic) {
Semantics.push_back(semantic);
More information about the cfe-commits
mailing list