| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | catch_multi_level_pointer.pass.cpp | 53 template <class Throw, class Catch> 55 Throw throw_ptr = CreatePointer<Throw>()(); in catch_pointer_test() 91 template <class Throw, class Catch, int level, bool first = false> 93 typedef TestTypes<Throw, first> ThrowTypes; 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> 134 struct generate_tests : generate_tests_imp<Throw, Catch, level, true> {};
|
| /llvm-project-15.0.7/clang/test/CXX/conv/conv.fctptr/ |
| H A D | p1.cpp | 6 typedef void Throw(); typedef 9 Throw *b; 11 Throw S::*d; 22 Throw *const *pb = a; // expected-error {{cannot initialize}} in test() 24 Throw *const S::*pd = c; // expected-error {{cannot initialize}} in test()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtObjC.h | 359 Stmt *Throw; variable 363 : Stmt(ObjCAtThrowStmtClass), Throw(throwExpr) { in ObjCAtThrowStmt() 369 const Expr *getThrowExpr() const { return reinterpret_cast<Expr*>(Throw); } in getThrowExpr() 370 Expr *getThrowExpr() { return reinterpret_cast<Expr*>(Throw); } in getThrowExpr() 371 void setThrowExpr(Stmt *S) { Throw = S; } in setThrowExpr() 378 return Throw ? Throw->getEndLoc() : AtThrowLoc; in getEndLoc() 385 child_range children() { return child_range(&Throw, &Throw+1); } in children() 388 return const_child_range(&Throw, &Throw + 1); in children()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/ |
| H A D | throw_catch.cpp | 8 void Throw() { in Throw() function 18 Throw(); in ThrowAndCatch() 43 Throw(); in TestThrowInline()
|
| H A D | throw_invoke_test.cpp | 26 void Throw() { in Throw() function 48 Throw(); in main()
|
| H A D | throw_call_test.cpp | 19 void Throw() { in Throw() function 44 Throw(); in main()
|
| H A D | contiguous_container.cpp | 51 void Throw() { throw 1; } in Throw() function 56 Throw(); in ThrowAndCatch()
|
| /llvm-project-15.0.7/clang/test/CXX/except/except.spec/ |
| H A D | p14.cpp | 135 template<typename T> struct Throw { struct 136 Throw() throw(T); 142 struct Derived2 : Base, Throw<X<3>> { 147 Throw<X<4>> x;
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/tests/ |
| H A D | asan_exceptions_test.cpp | 11 void Throw(const char& arg) const { in Throw() function in Action 21 a.Throw('c'); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/ |
| H A D | queue_user_work_item.cpp | 13 void Throw() { in Throw() function 22 Throw(); in ThrowAndCatch()
|
| H A D | dll_seh.cpp | 21 void Throw() { in Throw() function 31 Throw(); in ThrowAndCatch()
|
| H A D | seh.cpp | 28 void Throw() { in Throw() function 38 Throw(); in ThrowAndCatch()
|
| H A D | bind_io_completion_callback.cpp | 13 void Throw() { in Throw() function 22 Throw(); in ThrowAndCatch()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/ |
| H A D | swapcontext_test.cpp | 24 void Throw() { in Throw() function 31 Throw(); in ThrowAndCatch()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | member-init.cpp | 43 struct Throw { ThrowCtor tc = 42; }; struct 46 static_assert(!noexcept(Throw()), "incorrect exception specification");
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | throw-by-value-catch-by-reference.rst | 9 Finds violations of the rule "Throw by value, catch by reference" presented for 35 Triggers detection of violations of the CERT recommendation ERR09-CPP. Throw
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelDAGToDAG.cpp | 216 MachineSDNode *Throw = in Select() local 224 ReplaceNode(Node, Throw); in Select()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/ |
| H A D | err09-cpp.rst | 13 ERR09-CPP. Throw anonymous temporaries. However, all of the CERT recommendations
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | ExceptionAnalyzer.cpp | 153 if (const auto *Throw = dyn_cast<CXXThrowExpr>(St)) { in throwsException() local 154 if (const auto *ThrownExpr = Throw->getSubExpr()) { in throwsException()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-more-actions.h | 152 ACTION_P(Throw, exception) { throw exception; } in ACTION_P() argument
|
| /llvm-project-15.0.7/polly/lib/External/isl/cpp/ |
| H A D | cpp.h.top | 162 /* Throw an exception of the class that corresponds to "error", with 186 /* Throw an exception corresponding to the last error on "ctx" and 226 /* Throw an exception corresponding to the last
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-expr.cpp | 50 void Throw() { in Throw() function
|
| /llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/ |
| H A D | lifetime-throw.ll | 17 define void @Throw() sanitize_address personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to … 18 ; CHECK-LABEL: define void @Throw()
|
| /llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/ |
| H A D | drop-exact.ll | 54 ; Throw away add nsw i32 %tmp17, 0, do not drop exact flag.
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 4238 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { in BuildObjCAtThrowStmt() argument 4239 if (Throw) { in BuildObjCAtThrowStmt() 4240 ExprResult Result = DefaultLvalueConversion(Throw); in BuildObjCAtThrowStmt() 4247 Throw = Result.get(); in BuildObjCAtThrowStmt() 4249 QualType ThrowType = Throw->getType(); in BuildObjCAtThrowStmt() 4256 << Throw->getType() << Throw->getSourceRange()); in BuildObjCAtThrowStmt() 4260 return new (Context) ObjCAtThrowStmt(AtLoc, Throw); in BuildObjCAtThrowStmt() 4264 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, in ActOnObjCAtThrowStmt() argument 4269 if (!Throw) { in ActOnObjCAtThrowStmt() 4278 return BuildObjCAtThrowStmt(AtLoc, Throw); in ActOnObjCAtThrowStmt()
|