Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A 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()