Home
last modified time | relevance | path

Searched refs:CaughtType (Results 1 – 25 of 47) sorted by relevance

12

/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DExceptionEscapeCheck.cpp98 const auto *CaughtType = in throwsException() local
100 if (CaughtType->isReferenceType()) { in throwsException()
101 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
106 llvm::remove_if(Uncaught, [&CaughtType](const Type *ThrownType) { in throwsException()
107 return ThrownType == CaughtType || in throwsException()
108 isBaseOf(ThrownType, CaughtType); in throwsException()
113 Catch->getHandlerBlock(), TypeVec(1, CaughtType), CallStack); in throwsException()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DExceptionEscapeCheck.cpp98 const auto *CaughtType = in throwsException() local
100 if (CaughtType->isReferenceType()) { in throwsException()
101 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
106 llvm::remove_if(Uncaught, [&CaughtType](const Type *ThrownType) { in throwsException()
107 return ThrownType == CaughtType || in throwsException()
108 isBaseOf(ThrownType, CaughtType); in throwsException()
113 Catch->getHandlerBlock(), TypeVec(1, CaughtType), CallStack); in throwsException()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp171 const auto *CaughtType = in throwsException() local
173 if (CaughtType->isReferenceType()) { in throwsException()
174 CaughtType = CaughtType->castAs<ReferenceType>() in throwsException()
183 if (Uncaught.filterByCatch(CaughtType)) { in throwsException()
185 CaughtExceptions.insert(CaughtType); in throwsException()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/CodeGen/
H A DCGException.cpp596 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
600 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
601 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
604 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/CodeGen/
H A DCGException.cpp600 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
604 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
605 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
608 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/CodeGen/
H A DCGException.cpp577 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
581 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
582 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
585 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/CodeGen/
H A DCGException.cpp597 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
601 if (CaughtType->isObjCObjectPointerType()) { in EnterCXXTryStmt()
602 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
609 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/CodeGen/
H A DCGException.cpp575 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
579 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
580 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
583 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/CodeGen/
H A DCGException.cpp596 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
600 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
601 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
604 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp575 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
579 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
580 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
583 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/CodeGen/
H A DCGException.cpp600 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
604 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
605 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
608 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/CodeGen/
H A DCGException.cpp577 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
581 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
582 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
585 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/CodeGen/
H A DCGException.cpp573 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( in EnterCXXTryStmt() local
577 if (CaughtType->isObjCObjectPointerType()) in EnterCXXTryStmt()
578 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
581 CaughtType, C->getCaughtType()); in EnterCXXTryStmt()

12