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.cpp1188 static bool isParameterPack(Expr *PackExpression) { in isParameterPack() argument
1189 if (auto *D = dyn_cast<DeclRefExpr>(PackExpression); D) { in isParameterPack()
1196 ExprResult Sema::ActOnPackIndexingExpr(Scope *S, Expr *PackExpression, in ActOnPackIndexingExpr() argument
1201 bool isParameterPack = ::isParameterPack(PackExpression); in ActOnPackIndexingExpr()
1203 if (!PackExpression->containsErrors()) in ActOnPackIndexingExpr()
1204 Diag(PackExpression->getBeginLoc(), diag::err_expected_name_of_pack) in ActOnPackIndexingExpr()
1205 << PackExpression; in ActOnPackIndexingExpr()
1209 BuildPackIndexingExpr(PackExpression, EllipsisLoc, IndexExpr, RSquareLoc); in ActOnPackIndexingExpr()
1217 ExprResult Sema::BuildPackIndexingExpr(Expr *PackExpression, in BuildPackIndexingExpr() argument
1238 Diag(PackExpression->getBeginLoc(), diag::err_pack_index_out_of_bound) in BuildPackIndexingExpr()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h14557 ExprResult ActOnPackIndexingExpr(Scope *S, Expr *PackExpression,
14562 ExprResult BuildPackIndexingExpr(Expr *PackExpression,