HomeSort by: relevance | last modified time | path
    Searched defs:Catch (Results 1 - 13 of 13) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCleanup.h 36 /// type of a catch handler, so we use this wrapper.
105 enum Kind { Cleanup, Catch, Terminate, Filter };
146 /// after the catch scope.
156 /// for a catch-all.
159 /// The catch handler for this type.
183 : EHScope(Catch, enclosingEHScope) {
227 return Scope->getKind() == Catch;
510 case EHScope::Catch:
CGObjCRuntime.cpp 148 // Jump destination for falling out of catch bodies.
164 // Enter the catch, if there is one.
174 Handler.Block = CGF.createBasicBlock("catch");
177 // @catch(...) always matches.
189 EHCatchScope *Catch = CGF.EHStack.pushCatch(Handlers.size());
191 Catch->setHandler(I, { Handlers[I].TypeInfo, Handlers[I].Flags }, Handlers[I].Block);
240 // Enter the catch.
248 // Add a cleanup to leave the catch.
256 // Bind the catch parameter if it exists.
271 // Leave any cleanups associated with the catch
    [all...]
CGCoroutine.cpp 239 auto *Catch = new (CGF.getContext())
243 TryStmt = CXXTryStmt::Create(CGF.getContext(), Loc, TryBody, Catch);
669 CXXCatchStmt Catch(Loc, /*exDecl=*/nullptr,
672 CXXTryStmt::Create(getContext(), Loc, S.getBody(), &Catch);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
WinEHFuncInfo.h 79 enum class ClrHandlerType { Catch, Finally, Fault, Filter };
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaExceptionSpec.cpp 795 // want to merge declarations. Checks after instantiation will catch any
846 // catch an exception of each source type.
1547 // try /*...*/ catch (...) { H } can throw only if H can throw.
1548 // Any other try-catch can throw if any substatement can throw.
1561 // @catch(...) need not be last in Objective-C. Walk backwards until we
1567 const ObjCAtCatchStmt *Catch = TS->getCatchStmt(I - 1);
1568 CT = mergeCanThrow(CT, canThrow(Catch));
1569 // If we reach a @catch(...), no earlier exceptions can escape.
1570 if (Catch->hasEllipsis())
1574 // Didn't find an @catch(...). Exceptions from the @try body can escape
    [all...]
TreeTransform.h 1519 /// Build a new Objective-C \@catch statement.
2307 /// Build a new C++ catch statement.
7904 // Transform the @catch statements (if present).
7908 StmtResult Catch = getDerived().TransformStmt(S->getCatchStmt(I));
7909 if (Catch.isInvalid())
7911 if (Catch.get() != S->getCatchStmt(I))
7913 CatchStmts.push_back(Catch.get());
7939 // Transform the @catch parameter, if there is one.
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
WinEHPrepare.cpp 14 // personality requires catch handler code to be outlined.
249 "shouldn't revist catch funclets!");
268 // MSVC FrameHandler3/4 on x64&Arm64 expect Catch Handlers in $tryMap$
289 // enclosing catch pad doesn't it must be post-dominated by an
369 "shouldn't revist catch funclets!");
407 // enclosing catch pad doesn't it must be post-dominated by an
579 // Create the entry for this catch with the appropriate handler
581 const auto *Catch = cast<CatchPadInst>(CatchBlock->getFirstNonPHI());
583 cast<ConstantInt>(Catch->getArgOperand(0))->getZExtValue());
586 ClrHandlerType::Catch, TypeToken, CatchBlock)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseObjc.cpp 2494 /// objc-try-catch-statement:
2495 /// @try compound-statement objc-catch-list[opt]
2496 /// @try compound-statement objc-catch-list[opt] @finally compound-statement
2498 /// objc-catch-list:
2499 /// @catch ( parameter-declaration ) compound-statement
2500 /// objc-catch-list @catch ( catch-parameter-declaration ) compound-statement
2501 /// catch-parameter-declaration:
2523 // of an @catch or @finally. We don't want to consume the @ token if thi
    [all...]
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
llvm.ml 258 | Catch
  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
statement.h 590 class Catch : public RootObject
606 Catch *syntaxCopy();
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Instructions.h 2848 enum ClauseType { Catch, Filter };
2884 /// doesn't catch the exception.
2890 /// Add a catch or filter clause to the landing pad.
2899 /// Return 'true' if the clause and index Idx is a catch clause.
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 1903 buf = "} catch (id e) {_rethrow = e;}\n";
1961 ObjCAtCatchStmt *Catch = S->getCatchStmt(I);
1962 VarDecl *catchDecl = Catch->getCatchParamDecl();
1964 startLoc = Catch->getBeginLoc();
1973 ConvertSourceLocationToLineDirective(Catch->getBeginLoc(), Result);
1976 assert((*startBuf == '@') && "bogus @catch location");
1977 SourceLocation rParenLoc = Catch->getRParenLoc();
1980 // _objc_exc_Foo *_e as argument to catch.
1981 Result += "catch (_objc_exc_"; Result += IDecl->getNameAsString();
1994 SourceLocation lBraceLoc = Catch->getCatchBody()->getBeginLoc()
    [all...]
RewriteObjC.cpp 1817 buf = " /* @catch begin */ else {\n";
1822 buf += " else { /* @catch continue */";
1825 } else { /* no catch list */
1833 ObjCAtCatchStmt *Catch = S->getCatchStmt(I);
1834 VarDecl *catchDecl = Catch->getCatchParamDecl();
1837 buf = "if ("; // we are generating code for the first catch clause
1840 startLoc = Catch->getBeginLoc();
1843 assert((*startBuf == '@') && "bogus @catch location");
1847 if (Catch->hasEllipsis()) {
1849 lastCatchBody = Catch->getCatchBody()
    [all...]

Completed in 65 milliseconds