Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_multi_level_pointer.pass.cpp53 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 Dp1.cpp6 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 DStmtObjC.h359 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 Dthrow_catch.cpp8 void Throw() { in Throw() function
18 Throw(); in ThrowAndCatch()
43 Throw(); in TestThrowInline()
H A Dthrow_invoke_test.cpp26 void Throw() { in Throw() function
48 Throw(); in main()
H A Dthrow_call_test.cpp19 void Throw() { in Throw() function
44 Throw(); in main()
H A Dcontiguous_container.cpp51 void Throw() { throw 1; } in Throw() function
56 Throw(); in ThrowAndCatch()
/llvm-project-15.0.7/clang/test/CXX/except/except.spec/
H A Dp14.cpp135 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 Dasan_exceptions_test.cpp11 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 Dqueue_user_work_item.cpp13 void Throw() { in Throw() function
22 Throw(); in ThrowAndCatch()
H A Ddll_seh.cpp21 void Throw() { in Throw() function
31 Throw(); in ThrowAndCatch()
H A Dseh.cpp28 void Throw() { in Throw() function
38 Throw(); in ThrowAndCatch()
H A Dbind_io_completion_callback.cpp13 void Throw() { in Throw() function
22 Throw(); in ThrowAndCatch()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dswapcontext_test.cpp24 void Throw() { in Throw() function
31 Throw(); in ThrowAndCatch()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dmember-init.cpp43 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 Dthrow-by-value-catch-by-reference.rst9 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 DWebAssemblyISelDAGToDAG.cpp216 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 Derr09-cpp.rst13 ERR09-CPP. Throw anonymous temporaries. However, all of the CERT recommendations
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp153 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 Dgmock-more-actions.h152 ACTION_P(Throw, exception) { throw exception; } in ACTION_P() argument
/llvm-project-15.0.7/polly/lib/External/isl/cpp/
H A Dcpp.h.top162 /* 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 Dast-dump-expr.cpp50 void Throw() { in Throw() function
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dlifetime-throw.ll17 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 Ddrop-exact.ll54 ; Throw away add nsw i32 %tmp17, 0, do not drop exact flag.
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp4238 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()

12