Home
last modified time | relevance | path

Searched refs:currentSubExpr (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DThrowByValueCatchByReferenceCheck.cpp104 auto *currentSubExpr = subExpr->IgnoreImpCasts(); in diagnoseThrowLocations() local
105 const auto *variableReference = dyn_cast<DeclRefExpr>(currentSubExpr); in diagnoseThrowLocations()
106 const auto *constructorCall = dyn_cast<CXXConstructExpr>(currentSubExpr); in diagnoseThrowLocations()
120 auto *currentSubExpr = (*argIter)->IgnoreImpCasts(); in diagnoseThrowLocations() local
121 if (currentSubExpr->isLValue()) { in diagnoseThrowLocations()
122 if (auto *tmp = dyn_cast<DeclRefExpr>(currentSubExpr)) in diagnoseThrowLocations()
124 else if (isa<CallExpr>(currentSubExpr)) in diagnoseThrowLocations()