Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DInitialization.h321 static InitializedEntity InitializeException(SourceLocation ThrowLoc, in InitializeException() argument
323 return InitializedEntity(EK_Exception, ThrowLoc, Type); in InitializeException()
H A DSema.h6545 bool CheckCXXThrowOperand(SourceLocation ThrowLoc, QualType ThrowTy, Expr *E);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprCXX.cpp965 bool Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc, in CheckCXXThrowOperand() argument
976 if (RequireCompleteType(ThrowLoc, Ty, in CheckCXXThrowOperand()
983 Diag(ThrowLoc, diag::err_throw_sizeless) << Ty << E->getSourceRange(); in CheckCXXThrowOperand()
987 if (RequireNonAbstractType(ThrowLoc, ExceptionObjectTy, in CheckCXXThrowOperand()
999 MarkVTableUsed(ThrowLoc, RD); in CheckCXXThrowOperand()
1054 if (CheckCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I))) in CheckCXXThrowOperand()
1068 Diag(ThrowLoc, diag::warn_throw_underaligned_obj); in CheckCXXThrowOperand()
1069 Diag(ThrowLoc, diag::note_throw_underaligned_obj) in CheckCXXThrowOperand()
H A DTreeTransform.h3127 ExprResult RebuildCXXThrowExpr(SourceLocation ThrowLoc, Expr *Sub, in RebuildCXXThrowExpr() argument
3129 return getSema().BuildCXXThrow(ThrowLoc, Sub, IsThrownVariableInScope); in RebuildCXXThrowExpr()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExprCXX.cpp1791 SourceLocation ThrowLoc = ConsumeToken(); // Eat the throw token. in ParseThrowExpression() local
1803 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, nullptr); in ParseThrowExpression()
1808 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, Expr.get()); in ParseThrowExpression()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprCXX.h1195 CXXThrowExprBits.ThrowLoc = Loc; in CXXThrowExpr()
1204 SourceLocation getThrowLoc() const { return CXXThrowExprBits.ThrowLoc; } in getThrowLoc()
H A DStmt.h680 SourceLocation ThrowLoc; in alignas() local
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderStmt.cpp1820 E->CXXThrowExprBits.ThrowLoc = readSourceLocation(); in VisitCXXThrowExpr()