Home
last modified time | relevance | path

Searched refs:PackExpression (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1066 static bool isParameterPack(Expr *PackExpression) { in isParameterPack() argument
1067 if (auto *D = dyn_cast<DeclRefExpr>(PackExpression); D) { in isParameterPack()
1074 ExprResult Sema::ActOnPackIndexingExpr(Scope *S, Expr *PackExpression, in ActOnPackIndexingExpr() argument
1079 bool isParameterPack = ::isParameterPack(PackExpression); in ActOnPackIndexingExpr()
1081 if (!PackExpression->containsErrors()) { in ActOnPackIndexingExpr()
1083 Diag(PackExpression->getBeginLoc(), diag::err_expected_name_of_pack) in ActOnPackIndexingExpr()
1084 << PackExpression; in ActOnPackIndexingExpr()
1089 BuildPackIndexingExpr(PackExpression, EllipsisLoc, IndexExpr, RSquareLoc); in ActOnPackIndexingExpr()
1098 Sema::BuildPackIndexingExpr(Expr *PackExpression, SourceLocation EllipsisLoc, in BuildPackIndexingExpr() argument
1116 Diag(PackExpression->getBeginLoc(), diag::err_pack_index_out_of_bound) in BuildPackIndexingExpr()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h14244 ExprResult ActOnPackIndexingExpr(Scope *S, Expr *PackExpression,
14249 ExprResult BuildPackIndexingExpr(Expr *PackExpression,