Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DThrowByValueCatchByReferenceCheck.cpp138 auto caughtType = catchStmt->getCaughtType(); in diagnoseCatchLocations() local
139 if (caughtType.isNull()) in diagnoseCatchLocations()
142 if (const auto *PT = caughtType.getCanonicalType()->getAs<PointerType>()) { in diagnoseCatchLocations()
150 } else if (!caughtType->isReferenceType()) { in diagnoseCatchLocations()
156 if (!caughtType.isTrivialType(context)) { in diagnoseCatchLocations()
166 if (context.getTypeSize(caughtType) > MaxSize) in diagnoseCatchLocations()