Home
last modified time | relevance | path

Searched refs:ThrowLoc (Results 1 – 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/
DInitialization.h322 static InitializedEntity InitializeException(SourceLocation ThrowLoc, in InitializeException() argument
324 return InitializedEntity(EK_Exception, ThrowLoc, Type); in InitializeException()
DSema.h6258 bool CheckCXXThrowOperand(SourceLocation ThrowLoc, QualType ThrowTy, Expr *E);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp962 bool Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc, in CheckCXXThrowOperand() argument
973 if (RequireCompleteType(ThrowLoc, Ty, in CheckCXXThrowOperand()
980 Diag(ThrowLoc, diag::err_throw_sizeless) << Ty << E->getSourceRange(); in CheckCXXThrowOperand()
984 if (RequireNonAbstractType(ThrowLoc, ExceptionObjectTy, in CheckCXXThrowOperand()
996 MarkVTableUsed(ThrowLoc, RD); in CheckCXXThrowOperand()
1051 if (CheckCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I))) in CheckCXXThrowOperand()
1065 Diag(ThrowLoc, diag::warn_throw_underaligned_obj); in CheckCXXThrowOperand()
1066 Diag(ThrowLoc, diag::note_throw_underaligned_obj) in CheckCXXThrowOperand()
DTreeTransform.h3065 ExprResult RebuildCXXThrowExpr(SourceLocation ThrowLoc, Expr *Sub, in RebuildCXXThrowExpr() argument
3067 return getSema().BuildCXXThrow(ThrowLoc, Sub, IsThrownVariableInScope); in RebuildCXXThrowExpr()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
DParseExprCXX.cpp1789 SourceLocation ThrowLoc = ConsumeToken(); // Eat the throw token. in ParseThrowExpression() local
1801 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, nullptr); in ParseThrowExpression()
1806 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, Expr.get()); in ParseThrowExpression()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DExprCXX.h1195 CXXThrowExprBits.ThrowLoc = Loc; in CXXThrowExpr()
1204 SourceLocation getThrowLoc() const { return CXXThrowExprBits.ThrowLoc; } in getThrowLoc()
DStmt.h677 SourceLocation ThrowLoc; in alignas() local
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1835 E->CXXThrowExprBits.ThrowLoc = readSourceLocation(); in VisitCXXThrowExpr()