Home
last modified time | relevance | path

Searched refs:AssertExpr (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp917 static FixItHint getStaticAssertNoMessageFixIt(const Expr *AssertExpr, in getStaticAssertNoMessageFixIt() argument
919 if (const auto *BO = dyn_cast_or_null<BinaryOperator>(AssertExpr)) { in getStaticAssertNoMessageFixIt()
955 ExprResult AssertExpr(ParseConstantExpressionInExprEvalContext()); in ParseStaticAssertDeclaration() local
956 if (AssertExpr.isInvalid()) { in ParseStaticAssertDeclaration()
972 Diag(Tok, DiagVal) << getStaticAssertNoMessageFixIt(AssertExpr.get(), in ParseStaticAssertDeclaration()
1020 return Actions.ActOnStaticAssertDeclaration(StaticAssertLoc, AssertExpr.get(), in ParseStaticAssertDeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h4133 Expr *AssertExpr, Expr *Message, SourceLocation RParenLoc, in StaticAssertDecl() argument
4136 AssertExprAndFailed(AssertExpr, Failed), Message(Message), in StaticAssertDecl()
4146 Expr *AssertExpr, Expr *Message,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp17407 Expr *AssertExpr, in ActOnStaticAssertDeclaration() argument
17410 if (DiagnoseUnexpandedParameterPack(AssertExpr, UPPC_StaticAssertExpression)) in ActOnStaticAssertDeclaration()
17413 return BuildStaticAssertDeclaration(StaticAssertLoc, AssertExpr, in ActOnStaticAssertDeclaration()
17780 Expr *AssertExpr, Expr *AssertMessage, in BuildStaticAssertDeclaration() argument
17783 assert(AssertExpr != nullptr && "Expected non-null condition"); in BuildStaticAssertDeclaration()
17784 if (!AssertExpr->isTypeDependent() && !AssertExpr->isValueDependent() && in BuildStaticAssertDeclaration()
17790 ExprResult Converted = PerformContextuallyConvertToBool(AssertExpr); in BuildStaticAssertDeclaration()
17801 AssertExpr = FullAssertExpr.get(); in BuildStaticAssertDeclaration()
17804 Expr *BaseExpr = AssertExpr; in BuildStaticAssertDeclaration()
17855 Diag(AssertExpr->getBeginLoc(), diag::err_static_assert_failed) in BuildStaticAssertDeclaration()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1980 Expr *AssertExpr = D->getAssertExpr(); in VisitStaticAssertDecl() local
1987 = SemaRef.SubstExpr(AssertExpr, TemplateArgs); in VisitStaticAssertDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp3549 Expr *AssertExpr, Expr *Message, in Create() argument
3552 return new (C, DC) StaticAssertDecl(DC, StaticAssertLoc, AssertExpr, Message, in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5933 Expr *AssertExpr, Expr *AssertMessageExpr,
5936 Expr *AssertExpr, Expr *AssertMessageExpr,