Home
last modified time | relevance | path

Searched refs:ParenListExpr (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DComputeDependence.h94 class ParenListExpr; variable
190 ExprDependence computeDependence(ParenListExpr *E);
H A DExpr.h6012 class ParenListExpr final
6014 private llvm::TrailingObjects<ParenListExpr, Stmt *> {
6022 ParenListExpr(SourceLocation LParenLoc, ArrayRef<Expr *> Exprs,
6026 ParenListExpr(EmptyShell Empty, unsigned NumExprs);
6030 static ParenListExpr *Create(const ASTContext &Ctx, SourceLocation LParenLoc,
6035 static ParenListExpr *CreateEmpty(const ASTContext &Ctx, unsigned NumExprs);
6046 return const_cast<ParenListExpr *>(this)->getExpr(Init); in getExpr()
H A DStmt.h352 friend class ParenListExpr; // ctor
684 friend class ParenListExpr;
H A DRecursiveASTVisitor.h2902 DEF_TRAVERSE_STMT(ParenListExpr, {})
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp86 isa<ParenListExpr>(Expr) || in tryToFixConversion()
H A DSemaLambda.cpp842 ParenListExpr *CXXDirectInit = dyn_cast<ParenListExpr>(Init); in buildLambdaInitCaptureInitialization()
H A DSemaExprCXX.cpp2069 if (ParenListExpr *List = dyn_cast_or_null<ParenListExpr>(Initializer)) in ActOnCXXNew()
2082 if (ParenListExpr *PLE = dyn_cast<ParenListExpr>(Init)) in isLegalArrayNewInitializer()
2153 if (ParenListExpr *List = dyn_cast_or_null<ParenListExpr>(Initializer)) { in BuildCXXNew()
H A DSemaCoroutine.cpp536 Expr *PLE = ParenListExpr::Create(Context, FD->getLocation(), in buildCoroutinePromise()
H A DSemaExpr.cpp4916 if (isa<ParenListExpr>(base)) { in ActOnArraySubscriptExpr()
7844 ParenListExpr *PLE = dyn_cast<ParenListExpr>(CastExpr); in ActOnCastExpr()
7868 if (isa<ParenListExpr>(CastExpr)) { in ActOnCastExpr()
7889 assert((isa<ParenListExpr>(E) || isa<ParenExpr>(E)) && in BuildVectorLiteral()
7896 if (ParenListExpr *PE = dyn_cast<ParenListExpr>(E)) { in BuildVectorLiteral()
7970 ParenListExpr *E = dyn_cast<ParenListExpr>(OrigExpr); in MaybeConvertParenListExprToParenExpr()
7988 return ParenListExpr::Create(Context, L, Val, R); in ActOnParenListExpr()
H A DSemaDeclCXX.cpp4290 Expr *List = ParenListExpr::Create(Context, LParenLoc, Args, RParenLoc); in ActOnMemInitializer()
4580 if (ParenListExpr *ParenList = dyn_cast<ParenListExpr>(Init)) { in BuildMemberInitializer()
4659 if (ParenListExpr *ParenList = dyn_cast<ParenListExpr>(Init)) { in BuildDelegatingInitializer()
4806 if (ParenListExpr *ParenList = dyn_cast<ParenListExpr>(Init)) { in BuildBaseInitializer()
H A DSemaTemplateInstantiate.cpp3951 assert((!Init || !isa<ParenListExpr>(Init)) && "call-style init in class"); in InstantiateInClassInitializer()
H A DSemaExprObjC.cpp3423 if (isa<ParenListExpr>(Receiver)) { in ActOnInstanceMessage()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4753 ParenListExpr::ParenListExpr(SourceLocation LParenLoc, ArrayRef<Expr *> Exprs, in ParenListExpr() function in ParenListExpr
4762 ParenListExpr::ParenListExpr(EmptyShell Empty, unsigned NumExprs) in ParenListExpr() function in ParenListExpr
4767 ParenListExpr *ParenListExpr::Create(const ASTContext &Ctx, in Create()
4772 alignof(ParenListExpr)); in Create()
4773 return new (Mem) ParenListExpr(LParenLoc, Exprs, RParenLoc); in Create()
4776 ParenListExpr *ParenListExpr::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
4779 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumExprs), alignof(ParenListExpr)); in CreateEmpty()
4780 return new (Mem) ParenListExpr(EmptyShell(), NumExprs); in CreateEmpty()
H A DDeclPrinter.cpp407 if (ParenListExpr *ParenList = dyn_cast<ParenListExpr>(Init)) { in PrintConstructorInitializers()
1024 if ((D->getInitStyle() == VarDecl::CallInit) && !isa<ParenListExpr>(Init)) in VisitVarDecl()
1033 if ((D->getInitStyle() == VarDecl::CallInit) && !isa<ParenListExpr>(Init)) in VisitVarDecl()
H A DStmtPrinter.cpp1927 void StmtPrinter::VisitParenListExpr(ParenListExpr* Node) { in VisitParenListExpr()
2381 !isa<ParenListExpr>(D->getInit())) { in VisitLambdaExpr()
2488 !isa<ParenListExpr>(E->getInitializer()); in VisitCXXNewExpr()
H A DComputeDependence.cpp219 ExprDependence clang::computeDependence(ParenListExpr *P) { in computeDependence()
H A DStmtProfile.cpp1435 void StmtProfiler::VisitParenListExpr(const ParenListExpr *S) { in VisitParenListExpr()
H A DItaniumMangle.cpp5221 } else if (const ParenListExpr *PLE = dyn_cast<ParenListExpr>(Init)) { in mangleExpression()
H A DASTImporter.cpp645 ExpectedStmt VisitParenListExpr(ParenListExpr *E);
8012 ExpectedStmt ASTNodeImporter::VisitParenListExpr(ParenListExpr *E) { in VisitParenListExpr()
8025 return ParenListExpr::Create(Importer.getToContext(), *ToLParenLocOrErr, in VisitParenListExpr()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp904 isa<ParenListExpr>(Expr) || in subscriptOperatorNeedsParens()
931 isa<ParenListExpr>(Expr) || in castOperatorNeedsParens()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td98 def ParenListExpr : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp885 const internal::VariadicDynCastAllOfMatcher<Stmt, ParenListExpr> parenListExpr;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp717 void ASTStmtReader::VisitParenListExpr(ParenListExpr *E) { in VisitParenListExpr()
3220 S = ParenListExpr::CreateEmpty( in ReadStmtFromStream()
H A DASTWriterStmt.cpp805 void ASTStmtWriter::VisitParenListExpr(ParenListExpr *E) { in VisitParenListExpr()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1792 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ParenListExpr>

12