Home
last modified time | relevance | path

Searched refs:Catch (Results 1 – 25 of 62) sorted by relevance

123

/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_multi_level_pointer.pass.cpp53 template <class Throw, class Catch>
58 const bool can_convert = test_conversion<Catch>(throw_ptr); in catch_pointer_test()
62 } catch (Catch catch_ptr) { in catch_pointer_test()
63 Catch catch2 = CreatePointer<Catch>()(); in catch_pointer_test()
91 template <class Throw, class Catch, int level, bool first = false>
94 typedef TestTypes<Catch, first> CatchTypes;
126 template <class Throw, class Catch, bool first>
127 struct generate_tests_imp<Throw, Catch, 0, first> {
129 catch_pointer_test<Throw, Catch>(); in operator ()()
133 template <class Throw, class Catch, int level>
[all …]
H A Dcatch_pointer_nullptr.pass.cpp55 template <class Catch>
60 } catch (Catch c) { in catch_nullptr_test()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp172 const CXXCatchStmt *Catch = Try->getHandler(I); in throwsException() local
175 if (!Catch->getExceptionDecl()) { in throwsException()
177 Catch->getHandlerBlock(), Uncaught.getExceptionTypes(), CallStack); in throwsException()
182 Catch->getCaughtType()->getUnqualifiedDesugaredType(); in throwsException()
196 ExceptionInfo Rethrown = throwsException(Catch->getHandlerBlock(), in throwsException()
/llvm-project-15.0.7/lld/test/MachO/
H A Dcompact-unwind-lsda-folding.s92 ## Catch TypeInfo 1
95 ## >> Catch TypeInfos <<
143 ## Catch TypeInfo 1
146 ## >> Catch TypeInfos <<
H A Ddead-strip.s742 ## Catch TypeInfo 1
745 ## >> Catch TypeInfos <<
816 ## Catch TypeInfo 1
819 ## >> Catch TypeInfos <<
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLateEHPrepare.cpp183 for (auto *Catch : Catches) { in hoistCatches() local
184 MachineBasicBlock *EHPad = getMatchingEHPad(Catch); in hoistCatches()
192 if (InsertPos == Catch) in hoistCatches()
195 EHPad->insert(InsertPos, Catch->removeFromParent()); in hoistCatches()
H A DWebAssemblyISelDAGToDAG.cpp193 MachineSDNode *Catch = in Select() local
203 ReplaceNode(Node, Catch); in Select()
/llvm-project-15.0.7/llvm/test/ExecutionEngine/JITLink/X86/
H A DELF_ehframe_large_static_personality_encodings.s89 # Catch TypeInfo 1
92 # >> Catch TypeInfos <<
176 # Catch TypeInfo 1
179 # >> Catch TypeInfos <<
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Deh-lsda.ll104 ; CHECK-NEXT: # Catch TypeInfo 1
107 ; CHECK-NEXT: # Catch TypeInfo 2
110 ; CHECK-NEXT: # Catch TypeInfo 3
113 ; CHECK-NEXT: # Catch TypeInfo 4
116 ; CHECK-NEXT: # Catch TypeInfo 3
119 ; CHECK-NEXT: # Catch TypeInfo 4
122 ; CHECK-NEXT: # >> Catch TypeInfos <<
/llvm-project-15.0.7/libcxxabi/test/native/arm-linux-eabi/
H A Dttype-encoding-90.pass.sh.s92 @ Catch TypeInfo 1
94 @ >> Catch TypeInfos <<
H A Dttype-encoding-00.pass.sh.s93 @ Catch TypeInfo 1
95 @ >> Catch TypeInfos <<
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCleanup.h104 enum Kind { Cleanup, Catch, Terminate, Filter }; enumerator
182 : EHScope(Catch, enclosingEHScope) { in EHCatchScope()
226 return Scope->getKind() == Catch; in classof()
510 case EHScope::Catch:
H A DCGCoroutine.cpp239 auto *Catch = new (CGF.getContext()) in emitSuspendExpression() local
243 TryStmt = CXXTryStmt::Create(CGF.getContext(), Loc, TryBody, Catch); in emitSuspendExpression()
615 CXXCatchStmt Catch(Loc, /*exDecl=*/nullptr, in EmitCoroutineBody() local
618 CXXTryStmt::Create(getContext(), Loc, S.getBody(), &Catch); in EmitCoroutineBody()
H A DCGObjCRuntime.cpp188 EHCatchScope *Catch = CGF.EHStack.pushCatch(Handlers.size()); in EmitTryCatchStmt() local
190 Catch->setHandler(I, { Handlers[I].TypeInfo, Handlers[I].Flags }, Handlers[I].Block); in EmitTryCatchStmt()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dthrow-by-value-catch-by-reference.rst11 the CERT C++ Coding Standard rule `ERR61-CPP. Catch exceptions by lvalue reference
12 <https://wiki.sei.cmu.edu/confluence/display/cplusplus/ERR61-CPP.+Catch+exceptions+by+lvalue+refere…
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dgcc_except_table_bb_sections_ehpad_groups_with_cold.ll89 ; CHECK-NEXT: # Catch TypeInfo 1
92 ; CHECK-NEXT: # >> Catch TypeInfos <<
H A Dgnu-eh-alternative.ll90 ; ASM: # Catch TypeInfo 1
93 ; ASM: # >> Catch TypeInfos <<
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp579 const auto *Catch = cast<CatchPadInst>(CatchBlock->getFirstNonPHI()); in calculateClrEHStateNumbers() local
581 cast<ConstantInt>(Catch->getArgOperand(0))->getZExtValue()); in calculateClrEHStateNumbers()
584 ClrHandlerType::Catch, TypeToken, CatchBlock); in calculateClrEHStateNumbers()
586 for (const User *U : Catch->users()) in calculateClrEHStateNumbers()
591 FuncInfo.EHPadStateMap[Catch] = CatchState; in calculateClrEHStateNumbers()
609 if (const auto *Catch = dyn_cast<CatchPadInst>(Pad)) { in calculateClrEHStateNumbers() local
618 UnwindDest = Catch->getCatchSwitch()->getUnwindDest(); in calculateClrEHStateNumbers()
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-unreachable.m22 } @catch(id i = nil) { // Catch block should not be marked as unreachable.
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DWinEHFuncInfo.h79 enum class ClrHandlerType { Catch, Finally, Fault, Filter }; enumerator
/llvm-project-15.0.7/bolt/test/runtime/X86/Inputs/
H A Dpie-exceptions-failed-split.s251 # Catch TypeInfo 1
254 # >> Catch TypeInfos <<
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Daix-exception.ll161 ; ASM: # Catch TypeInfo 1
164 ; ASM: # >> Catch TypeInfos <<
/llvm-project-15.0.7/bolt/test/X86/
H A Dsplit-landing-pad.s148 # Catch TypeInfo 1
151 # >> Catch TypeInfos <<
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dexceptions-legacy.mm66 // Catch handler. Reload of 'failed' address is unnecessary.
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddbg-value-funcarg3.ll11 ; Catch metadata references for involved variables.

123