Searched refs:Throw (Results 1 - 11 of 11) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtObjC.h | 334 Stmt *Throw; member in class:clang::ObjCAtThrowStmt 338 : Stmt(ObjCAtThrowStmtClass), Throw(throwExpr) { 344 const Expr *getThrowExpr() const { return reinterpret_cast<Expr*>(Throw); } 345 Expr *getThrowExpr() { return reinterpret_cast<Expr*>(Throw); } 346 void setThrowExpr(Stmt *S) { Throw = S; } 353 return Throw ? Throw->getEndLoc() : AtThrowLoc; 360 child_range children() { return child_range(&Throw, &Throw+1); } 363 return const_child_range(&Throw, [all...] |
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-more-actions.h | 225 // Action Throw(exception) can be used in a mock function of any type 234 ACTION_P(Throw, exception) { throw exception; }
|
/freebsd-13-stable/contrib/googletest/googlemock/test/ |
H A D | gmock_link_test.h | 60 // Throw 190 using testing::Throw; 412 // Tests the linkage of the Throw action. 416 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Throw(42));
|
H A D | gmock-more-actions_test.cc | 602 const Action<void(int n)> a = Throw('a'); 609 const Action<double(char ch)> a = Throw(MyException()); 614 const Action<double()> a = Throw(MyException());
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 3885 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument 3886 if (Throw) { 3887 ExprResult Result = DefaultLvalueConversion(Throw); 3894 Throw = Result.get(); 3896 QualType ThrowType = Throw->getType(); 3903 << Throw->getType() << Throw->getSourceRange()); 3907 return new (Context) ObjCAtThrowStmt(AtLoc, Throw); 3911 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, argument 3916 if (!Throw) { [all...] |
H A D | AnalysisBasedWarnings.cpp | 330 if (auto *Throw = dyn_cast<CXXThrowExpr>(S->getStmt())) 331 Visit(Throw, *B); 363 visitReachableThrows(BodyCFG, [&](const CXXThrowExpr *Throw, CFGBlock &Block) { 364 if (throwEscapes(S, Throw, Block, BodyCFG)) 365 EmitDiagForCXXThrowInNonThrowingFunc(S, Throw->getThrowLoc(), FD);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 1628 if (const CXXThrowExpr *Throw = dyn_cast<CXXThrowExpr>(Cond)) { 1634 EmitCXXThrowExpr(Throw, /*KeepInsertionPoint*/false);
|
H A D | CGObjCGNU.cpp | 3969 llvm::CallBase *Throw = CGF.EmitRuntimeCallOrInvoke(ExceptionReThrowFn); local 3970 Throw->setDoesNotReturn(); 3974 llvm::CallBase *Throw = local 3976 Throw->setDoesNotReturn();
|
H A D | MicrosoftCXXABI.cpp | 748 llvm::FunctionCallee Throw = local 752 if (auto *Fn = dyn_cast<llvm::Function>(Throw.getCallee())) 755 return Throw;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 4520 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw); 4521 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
|
/freebsd-13-stable/contrib/googletest/googletest/test/ |
H A D | gtest_unittest.cc | 6742 TEST(StreamingAssertionsTest, Throw) {
|
Completed in 247 milliseconds