Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp895 static FixItHint getStaticAssertNoMessageFixIt(const Expr *AssertExpr, in getStaticAssertNoMessageFixIt() argument
897 if (const auto *BO = dyn_cast_or_null<BinaryOperator>(AssertExpr)) { in getStaticAssertNoMessageFixIt()
938 ExprResult AssertExpr(ParseConstantExpressionInExprEvalContext()); in ParseStaticAssertDeclaration() local
939 if (AssertExpr.isInvalid()) { in ParseStaticAssertDeclaration()
955 Diag(Tok, DiagVal) << getStaticAssertNoMessageFixIt(AssertExpr.get(), in ParseStaticAssertDeclaration()
983 AssertExpr.get(), in ParseStaticAssertDeclaration()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3915 Expr *AssertExpr, StringLiteral *Message, in StaticAssertDecl() argument
3918 AssertExprAndFailed(AssertExpr, Failed), Message(Message), in StaticAssertDecl()
3928 Expr *AssertExpr, StringLiteral *Message,
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16298 Expr *AssertExpr, in ActOnStaticAssertDeclaration() argument
16307 return BuildStaticAssertDeclaration(StaticAssertLoc, AssertExpr, in ActOnStaticAssertDeclaration()
16312 Expr *AssertExpr, in BuildStaticAssertDeclaration() argument
16316 assert(AssertExpr != nullptr && "Expected non-null condition"); in BuildStaticAssertDeclaration()
16317 if (!AssertExpr->isTypeDependent() && !AssertExpr->isValueDependent() && in BuildStaticAssertDeclaration()
16321 ExprResult Converted = PerformContextuallyConvertToBool(AssertExpr); in BuildStaticAssertDeclaration()
16332 AssertExpr = FullAssertExpr.get(); in BuildStaticAssertDeclaration()
16336 AssertExpr, &Cond, in BuildStaticAssertDeclaration()
16355 << !AssertMessage << Msg.str() << AssertExpr->getSourceRange(); in BuildStaticAssertDeclaration()
16366 << !AssertMessage << Msg.str() << AssertExpr->getSourceRange(); in BuildStaticAssertDeclaration()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1336 Expr *AssertExpr = D->getAssertExpr(); in VisitStaticAssertDecl() local
1343 = SemaRef.SubstExpr(AssertExpr, TemplateArgs); in VisitStaticAssertDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp3181 Expr *AssertExpr, in Create() argument
3185 return new (C, DC) StaticAssertDecl(DC, StaticAssertLoc, AssertExpr, Message, in Create()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7182 Expr *AssertExpr,
7186 Expr *AssertExpr,