Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp946 static FixItHint getStaticAssertNoMessageFixIt(const Expr *AssertExpr, in getStaticAssertNoMessageFixIt() argument
948 if (const auto *BO = dyn_cast_or_null<BinaryOperator>(AssertExpr)) { in getStaticAssertNoMessageFixIt()
995 ExprResult AssertExpr(ParseConstantExpressionInExprEvalContext()); in ParseStaticAssertDeclaration() local
996 if (AssertExpr.isInvalid()) { in ParseStaticAssertDeclaration()
1012 Diag(Tok, DiagVal) << getStaticAssertNoMessageFixIt(AssertExpr.get(), in ParseStaticAssertDeclaration()
1055 return Actions.ActOnStaticAssertDeclaration(StaticAssertLoc, AssertExpr.get(), in ParseStaticAssertDeclaration()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h4057 Expr *AssertExpr, Expr *Message, SourceLocation RParenLoc, in StaticAssertDecl() argument
4060 AssertExprAndFailed(AssertExpr, Failed), Message(Message), in StaticAssertDecl()
4070 Expr *AssertExpr, Expr *Message,
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp17075 Expr *AssertExpr, in ActOnStaticAssertDeclaration() argument
17081 return BuildStaticAssertDeclaration(StaticAssertLoc, AssertExpr, in ActOnStaticAssertDeclaration()
17426 assert(AssertExpr != nullptr && "Expected non-null condition"); in BuildStaticAssertDeclaration()
17427 if (!AssertExpr->isTypeDependent() && !AssertExpr->isValueDependent() && in BuildStaticAssertDeclaration()
17433 ExprResult Converted = PerformContextuallyConvertToBool(AssertExpr); in BuildStaticAssertDeclaration()
17444 AssertExpr = FullAssertExpr.get(); in BuildStaticAssertDeclaration()
17447 Expr *BaseExpr = AssertExpr; in BuildStaticAssertDeclaration()
17496 Diag(AssertExpr->getBeginLoc(), diag::err_static_assert_failed) in BuildStaticAssertDeclaration()
17497 << !HasMessage << Msg.str() << AssertExpr->getSourceRange(); in BuildStaticAssertDeclaration()
17509 Diag(AssertExpr->getBeginLoc(), diag::err_static_assert_failed) in BuildStaticAssertDeclaration()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1441 Expr *AssertExpr = D->getAssertExpr(); in VisitStaticAssertDecl() local
1448 = SemaRef.SubstExpr(AssertExpr, TemplateArgs); in VisitStaticAssertDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp3292 Expr *AssertExpr, Expr *Message, in Create() argument
3295 return new (C, DC) StaticAssertDecl(DC, StaticAssertLoc, AssertExpr, Message, in Create()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7913 Expr *AssertExpr,
7917 Expr *AssertExpr, Expr *AssertMessageExpr,