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.cpp1001 static FixItHint getStaticAssertNoMessageFixIt(const Expr *AssertExpr, in getStaticAssertNoMessageFixIt() argument
1003 if (const auto *BO = dyn_cast_or_null<BinaryOperator>(AssertExpr)) { in getStaticAssertNoMessageFixIt()
1050 ExprResult AssertExpr(ParseConstantExpressionInExprEvalContext()); in ParseStaticAssertDeclaration() local
1051 if (AssertExpr.isInvalid()) { in ParseStaticAssertDeclaration()
1067 Diag(Tok, DiagVal) << getStaticAssertNoMessageFixIt(AssertExpr.get(), in ParseStaticAssertDeclaration()
1110 return Actions.ActOnStaticAssertDeclaration(StaticAssertLoc, AssertExpr.get(), in ParseStaticAssertDeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h4071 Expr *AssertExpr, Expr *Message, SourceLocation RParenLoc, in StaticAssertDecl() argument
4074 AssertExprAndFailed(AssertExpr, Failed), Message(Message), in StaticAssertDecl()
4084 Expr *AssertExpr, Expr *Message,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16931 Expr *AssertExpr, in ActOnStaticAssertDeclaration() argument
16934 if (DiagnoseUnexpandedParameterPack(AssertExpr, UPPC_StaticAssertExpression)) in ActOnStaticAssertDeclaration()
16937 return BuildStaticAssertDeclaration(StaticAssertLoc, AssertExpr, in ActOnStaticAssertDeclaration()
17277 Expr *AssertExpr, Expr *AssertMessage, in BuildStaticAssertDeclaration() argument
17280 assert(AssertExpr != nullptr && "Expected non-null condition"); in BuildStaticAssertDeclaration()
17281 if (!AssertExpr->isTypeDependent() && !AssertExpr->isValueDependent() && in BuildStaticAssertDeclaration()
17287 ExprResult Converted = PerformContextuallyConvertToBool(AssertExpr); in BuildStaticAssertDeclaration()
17298 AssertExpr = FullAssertExpr.get(); in BuildStaticAssertDeclaration()
17301 Expr *BaseExpr = AssertExpr; in BuildStaticAssertDeclaration()
17350 Diag(AssertExpr->getBeginLoc(), diag::err_static_assert_failed) in BuildStaticAssertDeclaration()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1479 Expr *AssertExpr = D->getAssertExpr(); in VisitStaticAssertDecl() local
1486 = SemaRef.SubstExpr(AssertExpr, TemplateArgs); in VisitStaticAssertDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp3326 Expr *AssertExpr, Expr *Message, in Create() argument
3329 return new (C, DC) StaticAssertDecl(DC, StaticAssertLoc, AssertExpr, Message, in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5512 Expr *AssertExpr, Expr *AssertMessageExpr,
5515 Expr *AssertExpr, Expr *AssertMessageExpr,