Home
last modified time | relevance | path

Searched refs:Throw (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtObjC.h315 Stmt *Throw; variable
319 : Stmt(ObjCAtThrowStmtClass), Throw(throwExpr) { in ObjCAtThrowStmt()
325 const Expr *getThrowExpr() const { return reinterpret_cast<Expr*>(Throw); } in getThrowExpr()
326 Expr *getThrowExpr() { return reinterpret_cast<Expr*>(Throw); } in getThrowExpr()
327 void setThrowExpr(Stmt *S) { Throw = S; } in setThrowExpr()
334 return Throw ? Throw->getEndLoc() : AtThrowLoc; in getEndLoc()
341 child_range children() { return child_range(&Throw, &Throw+1); } in children()
H A DCommentCommands.td114 def Throw : BlockCommand<"throw"> { let IsThrowsCommand = 1; }
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc602 const Action<void(int n)> a = Throw('a'); in TEST()
609 const Action<double(char ch)> a = Throw(MyException()); in TEST()
614 const Action<double()> a = Throw(MyException()); in TEST()
H A Dgmock_link_test.h190 using testing::Throw;
416 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Throw(42)); in TEST()
/freebsd-12.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h234 ACTION_P(Throw, exception) { throw exception; } in ACTION_P() argument
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp3801 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { in BuildObjCAtThrowStmt() argument
3802 if (Throw) { in BuildObjCAtThrowStmt()
3803 ExprResult Result = DefaultLvalueConversion(Throw); in BuildObjCAtThrowStmt()
3810 Throw = Result.get(); in BuildObjCAtThrowStmt()
3812 QualType ThrowType = Throw->getType(); in BuildObjCAtThrowStmt()
3819 << Throw->getType() << Throw->getSourceRange()); in BuildObjCAtThrowStmt()
3823 return new (Context) ObjCAtThrowStmt(AtLoc, Throw); in BuildObjCAtThrowStmt()
3827 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, in ActOnObjCAtThrowStmt() argument
3832 if (!Throw) { in ActOnObjCAtThrowStmt()
3841 return BuildObjCAtThrowStmt(AtLoc, Throw); in ActOnObjCAtThrowStmt()
H A DAnalysisBasedWarnings.cpp313 if (auto *Throw = dyn_cast<CXXThrowExpr>(S->getStmt())) in visitReachableThrows() local
314 Visit(Throw, *B); in visitReachableThrows()
346 visitReachableThrows(BodyCFG, [&](const CXXThrowExpr *Throw, CFGBlock &Block) { in checkThrowInNonThrowingFunc() argument
347 if (throwEscapes(S, Throw, Block, BodyCFG)) in checkThrowInNonThrowingFunc()
348 EmitDiagForCXXThrowInNonThrowingFunc(S, Throw->getThrowLoc(), FD); in checkThrowInNonThrowingFunc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1689 if (const CXXThrowExpr *Throw = dyn_cast<CXXThrowExpr>(Cond)) { in EmitBranchOnBoolExpr() local
1695 EmitCXXThrowExpr(Throw, /*KeepInsertionPoint*/false); in EmitBranchOnBoolExpr()
H A DCGObjCGNU.cpp3856 llvm::CallSite Throw = in EmitThrowStmt() local
3858 Throw.setDoesNotReturn(); in EmitThrowStmt()
/freebsd-12.1/usr.sbin/bsdconfig/share/
H A Ddialog.subr1538 # Throw up a dialog(1) infobox. The infobox remains until another dialog is
1556 # Throw up an Xdialog(1) infobox and do not dismiss it until stdin produces
1636 # Throw up a dialog(1) msgbox. The msgbox remains until the user presses ENTER
/freebsd-12.1/contrib/googletest/googlemock/docs/
H A DCheatSheet.md384 |`Throw(exception)` |Throws the given exception, which can be any copyable value. Available …
/freebsd-12.1/contrib/binutils/ld/
H A DChangeLog-2006768 loop to ten iterations. Throw away any previous linker generated
/freebsd-12.1/contrib/gcc/cp/
H A DChangeLog-1994308 * except.c (expand_end_all_catch): Throw into outer context, if we
2283 * init.c (build_delete): Throw away const and volatile on `this'.
2691 * decl.c (push_overloaded_decl): Throw away built-in decls here.
H A DChangeLog-1996538 * rtti.c (build_x_typeid): Throw bad_typeid from here.
564 (build_typeid): Throw bad_typeid as needed.
H A DChangeLog-1997353 (new): Move from libgcc2. Throw bad_alloc.
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3909 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw);
3910 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
/freebsd-12.1/contrib/gcc/doc/
H A Dtree-ssa.texi431 @item Throw an exception. This is currently not explicitly represented in
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc6742 TEST(StreamingAssertionsTest, Throw) { in TEST() argument
/freebsd-12.1/contrib/libstdc++/
H A DChangeLog-2003809 * include/bits/fstream.tcc (underflow): Throw ios_base::failure
7056 (locale::facet::_S_create_c_locale): Throw runtime exception when
7240 new failure. Throw exception if badbit and exception mask when ix
H A DChangeLog-20041304 * include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc
1380 Throw exceptions, don't abort.
H A DChangeLog-1999874 (basic_ios::clear): Throw ios_base::failure on occasion.
H A DChangeLog-2002596 * include/bits/vector.tcc (vector::reserve): Throw length_error if
H A DChangeLog-20005499 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
/freebsd-12.1/contrib/binutils/bfd/
H A DChangeLog-94953243 (coff_compute_section_file_positions): Throw away .junk
3245 (coff_write_object_contents): Throw away .junk sections
/freebsd-12.1/contrib/gcc/
H A DChangeLog-200014432 process_directive here. Throw away CPP_PLACEMARKER tokens.
17851 (__throw): Throw routine.

12