Home | History | Annotate | Download | only in Frontend

Lines Matching defs:Catch

1842     buf = " /* @catch begin */ else {\n";
1847 buf += " else { /* @catch continue */";
1850 } else { /* no catch list */
1858 ObjCAtCatchStmt *Catch = S->getCatchStmt(I);
1859 VarDecl *catchDecl = Catch->getCatchParamDecl();
1862 buf = "if ("; // we are generating code for the first catch clause
1865 startLoc = Catch->getLocStart();
1868 assert((*startBuf == '@') && "bogus @catch location");
1872 if (Catch->hasEllipsis()) {
1874 lastCatchBody = Catch->getCatchBody();
1877 assert(*SM->getCharacterData(Catch->getRParenLoc()) == ')' &&
1878 "bogus @catch paren location");
1879 assert((*bodyBuf == '{') && "bogus @catch body location");
1900 lastCatchBody = Catch->getCatchBody();
1901 SourceLocation rParenLoc = Catch->getRParenLoc();
1905 assert((*rParenBuf == ')') && "bogus @catch paren location");
1906 assert((*bodyBuf == '{') && "bogus @catch body location");
1909 // declares the @catch parameter).
1912 llvm_unreachable("@catch rewrite bug");
1915 // Complete the catch list...
1919 "bogus @catch body location");
1923 buf = "} /* last catch end */\n";
1927 buf += "} } /* @catch end */\n";