[analyzer] Devirtualize StoreManager::evalDerivedToBase(SVal, CastExpr)

This was triggering -Woverloaded-virtual, but there's really no reason for
the cast version to be virtual anyway. It just calls through to the QualType
entry point.

llvm-svn: 161631
This commit is contained in:
Jordan Rose 2012-08-09 22:48:16 +00:00
parent 5bb2ba0503
commit b7596f6015
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public:
virtual SVal ArrayToPointer(Loc Array) = 0;
/// Evaluates DerivedToBase casts.
virtual SVal evalDerivedToBase(SVal derived, const CastExpr *Cast);
SVal evalDerivedToBase(SVal derived, const CastExpr *Cast);
/// Evaluates a derived-to-base cast through a single level of derivation.
virtual SVal evalDerivedToBase(SVal derived, QualType derivedPtrType) = 0;