Searched refs:AssertExpr (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 859 static FixItHint getStaticAssertNoMessageFixIt(const Expr *AssertExpr, in getStaticAssertNoMessageFixIt() argument 861 if (const auto *BO = dyn_cast_or_null<BinaryOperator>(AssertExpr)) { in getStaticAssertNoMessageFixIt() 902 ExprResult AssertExpr(ParseConstantExpressionInExprEvalContext()); in ParseStaticAssertDeclaration() local 903 if (AssertExpr.isInvalid()) { in ParseStaticAssertDeclaration() 919 Diag(Tok, DiagVal) << getStaticAssertNoMessageFixIt(AssertExpr.get(), in ParseStaticAssertDeclaration() 947 AssertExpr.get(), in ParseStaticAssertDeclaration()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 3785 Expr *AssertExpr, StringLiteral *Message, in StaticAssertDecl() argument 3788 AssertExprAndFailed(AssertExpr, Failed), Message(Message), in StaticAssertDecl() 3798 Expr *AssertExpr, StringLiteral *Message,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 16093 Expr *AssertExpr, in ActOnStaticAssertDeclaration() argument 16099 if (DiagnoseUnexpandedParameterPack(AssertExpr, UPPC_StaticAssertExpression)) in ActOnStaticAssertDeclaration() 16102 return BuildStaticAssertDeclaration(StaticAssertLoc, AssertExpr, in ActOnStaticAssertDeclaration() 16107 Expr *AssertExpr, in BuildStaticAssertDeclaration() argument 16111 assert(AssertExpr != nullptr && "Expected non-null condition"); in BuildStaticAssertDeclaration() 16112 if (!AssertExpr->isTypeDependent() && !AssertExpr->isValueDependent() && in BuildStaticAssertDeclaration() 16116 ExprResult Converted = PerformContextuallyConvertToBool(AssertExpr); in BuildStaticAssertDeclaration() 16127 AssertExpr = FullAssertExpr.get(); in BuildStaticAssertDeclaration() 16131 AssertExpr, &Cond, in BuildStaticAssertDeclaration() 16150 << !AssertMessage << Msg.str() << AssertExpr->getSourceRange(); in BuildStaticAssertDeclaration() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1281 Expr *AssertExpr = D->getAssertExpr(); in VisitStaticAssertDecl() local 1288 = SemaRef.SubstExpr(AssertExpr, TemplateArgs); in VisitStaticAssertDecl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 3157 Expr *AssertExpr, in Create() argument 3161 return new (C, DC) StaticAssertDecl(DC, StaticAssertLoc, AssertExpr, Message, in Create()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 7112 Expr *AssertExpr, 7116 Expr *AssertExpr,
|