Searched refs:ThrowLoc (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Initialization.h | 321 static InitializedEntity InitializeException(SourceLocation ThrowLoc, in InitializeException() argument 323 return InitializedEntity(EK_Exception, ThrowLoc, Type); in InitializeException()
|
| H A D | Sema.h | 6545 bool CheckCXXThrowOperand(SourceLocation ThrowLoc, QualType ThrowTy, Expr *E);
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 965 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 D | TreeTransform.h | 3127 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 D | ParseExprCXX.cpp | 1791 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 D | ExprCXX.h | 1195 CXXThrowExprBits.ThrowLoc = Loc; in CXXThrowExpr() 1204 SourceLocation getThrowLoc() const { return CXXThrowExprBits.ThrowLoc; } in getThrowLoc()
|
| H A D | Stmt.h | 680 SourceLocation ThrowLoc; in alignas() local
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1820 E->CXXThrowExprBits.ThrowLoc = readSourceLocation(); in VisitCXXThrowExpr()
|