Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DInitialization.h327 static InitializedEntity InitializeException(SourceLocation ThrowLoc, in InitializeException() argument
329 return InitializedEntity(EK_Exception, ThrowLoc, Type); in InitializeException()
H A DSema.h6700 bool CheckCXXThrowOperand(SourceLocation ThrowLoc, QualType ThrowTy, Expr *E);
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprCXX.cpp968 bool Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc, in CheckCXXThrowOperand() argument
979 if (RequireCompleteType(ThrowLoc, Ty, in CheckCXXThrowOperand()
986 Diag(ThrowLoc, diag::err_throw_sizeless) << Ty << E->getSourceRange(); in CheckCXXThrowOperand()
990 if (RequireNonAbstractType(ThrowLoc, ExceptionObjectTy, in CheckCXXThrowOperand()
1002 MarkVTableUsed(ThrowLoc, RD); in CheckCXXThrowOperand()
1057 if (CheckCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I))) in CheckCXXThrowOperand()
1071 Diag(ThrowLoc, diag::warn_throw_underaligned_obj); in CheckCXXThrowOperand()
1072 Diag(ThrowLoc, diag::note_throw_underaligned_obj) in CheckCXXThrowOperand()
H A DTreeTransform.h3221 ExprResult RebuildCXXThrowExpr(SourceLocation ThrowLoc, Expr *Sub, in RebuildCXXThrowExpr() argument
3223 return getSema().BuildCXXThrow(ThrowLoc, Sub, IsThrownVariableInScope); in RebuildCXXThrowExpr()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseExprCXX.cpp1845 SourceLocation ThrowLoc = ConsumeToken(); // Eat the throw token. in ParseThrowExpression() local
1857 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, nullptr); in ParseThrowExpression()
1862 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, Expr.get()); in ParseThrowExpression()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExprCXX.h1201 CXXThrowExprBits.ThrowLoc = Loc; in CXXThrowExpr()
1210 SourceLocation getThrowLoc() const { return CXXThrowExprBits.ThrowLoc; } in getThrowLoc()
H A DStmt.h685 SourceLocation ThrowLoc; variable
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1826 E->CXXThrowExprBits.ThrowLoc = readSourceLocation(); in VisitCXXThrowExpr()