Home
last modified time | relevance | path

Searched refs:RecoveryExpr (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-recovery.m11 // CHECK-CHECK: `-RecoveryExpr {{.*}}
15 // CHECK-NEXT: `-RecoveryExpr {{.*}} '<dependent type>' contains-errors
/llvm-project-15.0.7/clang/include/clang/AST/
H A DComputeDependence.h50 class RecoveryExpr; variable
136 ExprDependence computeDependence(RecoveryExpr *E);
H A DExpr.h6421 class RecoveryExpr final : public Expr,
6422 private llvm::TrailingObjects<RecoveryExpr, Expr *> {
6424 static RecoveryExpr *Create(ASTContext &Ctx, QualType T,
6427 static RecoveryExpr *CreateEmpty(ASTContext &Ctx, unsigned NumSubExprs);
6435 return const_cast<RecoveryExpr *>(this)->subExpressions(); in subExpressions()
6451 RecoveryExpr(ASTContext &Ctx, QualType T, SourceLocation BeginLoc,
6453 RecoveryExpr(EmptyShell Empty, unsigned NumSubExprs) in RecoveryExpr() function
H A DRecursiveASTVisitor.h2840 DEF_TRAVERSE_STMT(RecoveryExpr, {})
/llvm-project-15.0.7/clang/lib/AST/
H A DExpr.cpp4827 RecoveryExpr::RecoveryExpr(ASTContext &Ctx, QualType T, SourceLocation BeginLoc, in RecoveryExpr() function in RecoveryExpr
4840 RecoveryExpr *RecoveryExpr::Create(ASTContext &Ctx, QualType T, in Create()
4845 alignof(RecoveryExpr)); in Create()
4846 return new (Mem) RecoveryExpr(Ctx, T, BeginLoc, EndLoc, SubExprs); in Create()
4849 RecoveryExpr *RecoveryExpr::CreateEmpty(ASTContext &Ctx, unsigned NumSubExprs) { in CreateEmpty()
4851 alignof(RecoveryExpr)); in CreateEmpty()
4852 return new (Mem) RecoveryExpr(EmptyShell(), NumSubExprs); in CreateEmpty()
H A DComputeDependence.cpp569 ExprDependence clang::computeDependence(RecoveryExpr *E) { in computeDependence()
H A DStmtProfile.cpp2216 void StmtProfiler::VisitRecoveryExpr(const RecoveryExpr *E) { VisitExpr(E); } in VisitRecoveryExpr()
H A DStmtPrinter.cpp2700 void StmtPrinter::VisitRecoveryExpr(RecoveryExpr *Node) { in VisitRecoveryExpr()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DStmtNodes.td203 def RecoveryExpr : StmtNode<Expr>;
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp53 if (const auto *RE = N->ASTNode.get<RecoveryExpr>()) { in recordMetrics()
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst1935 `-RecoveryExpr <line:3:3, col:12> 'int' contains-errors
1948 ``RecoveryExpr`` is the only recovery node so far. In practice, broken decls
1956 ``RecoveryExpr`` is an ``Expr``, so it must have a type. In many cases the true
1963 ``RecoveryExpr`` ``unknownFunction()`` has the totally unknown type
1968 for a broken non-overloaded function call), the ``RecoveryExpr`` will have this
1977 Whether or not the ``RecoveryExpr`` has a dependent type, it is always
1980 where a RecoveryExpr is used as a constant (e.g. array size), but also won't try
1988 this bit is always set for RecoveryExpr, and propagated to other related nodes.
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderStmt.cpp2181 void ASTStmtReader::VisitRecoveryExpr(RecoveryExpr *E) { in VisitRecoveryExpr()
2975 S = RecoveryExpr::CreateEmpty( in ReadStmtFromStream()
H A DASTWriterStmt.cpp877 void ASTStmtWriter::VisitRecoveryExpr(RecoveryExpr *E) { in VisitRecoveryExpr()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp12833 auto RecoveryExpr = in AddInitializerToDecl() local
12835 if (RecoveryExpr.get()) in AddInitializerToDecl()
12836 VDecl->setInit(RecoveryExpr.get()); in AddInitializerToDecl()
13419 auto RecoveryExpr = in ActOnUninitializedDecl() local
13421 if (RecoveryExpr.get()) in ActOnUninitializedDecl()
13422 Var->setInit(RecoveryExpr.get()); in ActOnUninitializedDecl()
H A DTreeTransform.h10787 ExprResult TreeTransform<Derived>::TransformRecoveryExpr(RecoveryExpr *E) { in TransformRecoveryExpr()
H A DSemaExpr.cpp20814 return RecoveryExpr::Create(Context, T, Begin, End, SubExprs); in CreateRecoveryExpr()