HomeSort by: relevance | last modified time | path
    Searched refs:Throw (Results 1 - 17 of 17) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_exceptions_test.cc 11 void Throw(const char& arg) const {
13 throw arg;
21 a.Throw('c');
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/array/
construction.d 82 throw o;
141 struct Throw
148 throw new Exception("");
153 Throw[4] a;
154 Throw[4] b = [Throw(1), Throw(2), Throw(3), Throw(4)];
221 throw o
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
StmtObjC.h 331 /// Represents Objective-C's \@throw statement.
334 Stmt *Throw;
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);
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
gmock-more-actions.h 142 // Action Throw(exception) can be used in a mock function of any type
143 // to throw the given exception. Any copyable value can be thrown.
151 ACTION_P(Throw, exception) { throw exception; }
  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
foreachvar.d 273 case STMT.Throw: visitThrow(s.isThrowStatement()); break;
astenums.d 373 Throw,
statement.d 396 inout(ThrowStatement) isThrowStatement() { return stmt == STMT.Throw ? cast(typeof(return))this : null; }
1698 * https://dlang.org/spec/statement.html#throw-statement
1709 super(loc, STMT.Throw);
ob.d 141 throw_, /// exits with throw
153 obtype == ObType.throw_ ? "throw" :
822 case STMT.Throw: visitThrow(s.isThrowStatement()); break;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaStmt.cpp 3311 /// copy elision in either a return statement or a throw expression.
3315 /// determining the copy elision candidate for a throw expression, this will
3324 /// determine whether we should try to move as part of a return or throw (which
3406 /// which is the operand to a return or throw statement.
4218 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) {
4219 if (Throw) {
4220 ExprResult Result = DefaultLvalueConversion(Throw);
4227 Throw = Result.get();
4229 QualType ThrowType = Throw->getType();
4236 << Throw->getType() << Throw->getSourceRange())
    [all...]
AnalysisBasedWarnings.cpp 278 // Check for throw in a non-throwing function.
306 !E->getSubExpr() || // throw; is considered cuaght by any handler
332 if (auto *Throw = dyn_cast<CXXThrowExpr>(S->getStmt()))
333 Visit(Throw, *B);
365 visitReachableThrows(BodyCFG, [&](const CXXThrowExpr *Throw, CFGBlock &Block) {
366 if (throwEscapes(S, Throw, Block, BodyCFG))
367 EmitDiagForCXXThrowInNonThrowingFunc(S, Throw->getThrowLoc(), FD);
2438 // Check for throw out of non-throwing function.
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
checkedint.d 54 $(TR $(TD $(LREF Throw)) $(TD
246 /// `Throw` fails every incorrect operation by throwing an exception
250 auto x = -1.checked!Throw;
1497 // Throw
1501 `Throw.CheckFailure`. The message coming with the error is similar to the one
1505 struct Throw
1535 which will be forwarded as the result of the cast. For `Throw`, the
1543 throw new CheckFailure("Erroneous cast: cast(%s) %s(%s)",
1558 will be forwarded as result. For `Throw`, the function never returns because
1567 throw new CheckFailure("Lower bound error: %s(%s) < %s(%s)"
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenFunction.cpp 1772 if (const CXXThrowExpr *Throw = dyn_cast<CXXThrowExpr>(Cond)) {
1773 // Conditional operator handling can give us a throw expression as a
1775 // br(c ? throw x : y, t, f) -> br(c, br(throw x, t, f), br(y, t, f)
1777 // br(c, throw x, br(y, t, f))
1778 EmitCXXThrowExpr(Throw, /*KeepInsertionPoint*/false);
CGObjCGNU.cpp 3969 llvm::CallBase *Throw = CGF.EmitRuntimeCallOrInvoke(ExceptionReThrowFn);
3970 Throw->setDoesNotReturn();
3974 llvm::CallBase *Throw =
3976 Throw->setDoesNotReturn();
MicrosoftCXXABI.cpp 753 llvm::FunctionCallee Throw =
757 if (auto *Fn = dyn_cast<llvm::Function>(Throw.getCallee()))
760 return Throw;
4362 // Call into the runtime to throw the exception.
  /src/external/gpl3/gdb.old/dist/gdb/
gdbarch_components.py 1142 been allocated yet, this function may throw an error. LM_ADDR may
1936 Throw an exception if any unexpected error happens.
2677 Throw an error if it is not possible. Returned address is always valid.
  /src/external/gpl3/gdb/dist/gdb/
gdbarch_components.py 1155 been allocated yet, this function may throw an error. LM_ADDR may
1964 Throw an exception if any unexpected error happens.
2688 Throw an error if it is not possible. Returned address is always valid.
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Sema.h 1986 /// Determine whether the callee of a particular function call can throw.
4816 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw);
4817 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
5784 // throw() comes next.
5785 // Then a throw(collected exceptions)
5787 // throw(...) is used instead if any called function uses it.
6184 //// ActOnCXXThrow - Parse throw expressions.

Completed in 62 milliseconds