Fix unused var warning.
This commit is contained in:
parent
c35914068e
commit
56186d6a2a
@ -45,7 +45,7 @@ class PointerCheckInjector : public RecursiveASTVisitor<PointerCheckInjector> {
|
||||
LookupResult* m_clingthrowIfInvalidPointerCache;
|
||||
|
||||
bool IsTransparentThis(Expr* E) {
|
||||
if (auto TE = dyn_cast<CXXThisExpr>(E))
|
||||
if (llvm::isa<CXXThisExpr>(E))
|
||||
return true;
|
||||
if (auto ICE = dyn_cast<ImplicitCastExpr>(E))
|
||||
return IsTransparentThis(ICE->getSubExpr());
|
||||
|
Loading…
Reference in New Issue
Block a user