Home
last modified time | relevance | path

Searched refs:Recovery (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/grammar/
H A DLRGraph.h145 struct Recovery { struct
153 llvm::ArrayRef<Recovery> recoveries() const { return Recoveries; } in recoveries() argument
162 std::vector<Recovery> Recoveries, in LRGraph()
170 std::vector<Recovery> Recoveries;
H A DLRTable.h70 struct Recovery { struct
113 llvm::ArrayRef<Recovery> getRecovery(StateID State) const { in getRecovery()
161 std::vector<std::pair<StateID, Recovery>> Recoveries;
270 std::vector<Recovery> Recoveries;
H A DGrammar.h130 ExtensionID Recovery = 0; member
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/
H A DLRGraph.cpp130 Result.push_back({Rule.Recovery, Rule.seq()[Rule.RecoveryIndex]}); in availableRecovery()
228 std::vector<Recovery> Recoveries; in buildLR0()
257 for (auto Recovery : availableRecovery(Builder.find(StateID), G)) in buildLR0() local
258 Builder.insertRecovery(StateID, Recovery.first, Recovery.second); in buildLR0()
H A DLRTableBuild.cpp99 {Entry.Src, Recovery{Entry.Strategy, Entry.Result}}); in buildSLR()
H A DGrammar.cpp87 OS << " [recover=" << T->AttributeValues[R.Recovery] << "]"; in dumpRule()
H A DGrammarBNF.cpp264 R.Recovery = LookupExtensionID(KV.second); in applyAttributes()
/llvm-project-15.0.7/clang-tools-extra/pseudo/
H A DDesignNotes.md64 Recovery should kick in at the point where we would otherwise abandon all
86 Here: `actions[State, death] = Recovery(type, matching-angle-bracket)`
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp163 TEST_F(TargetDeclTest, Recovery) { in TEST_F() argument
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp4013 auto Recovery = CreateRecoveryExpr( in BuildReturnStmt() local
4016 if (Recovery.isInvalid()) in BuildReturnStmt()
4018 RetValExp = Recovery.get(); in BuildReturnStmt()
H A DSemaOverload.cpp13261 ExprResult Recovery = BuildRecoveryCallExpr(SemaRef, S, Fn, ULE, LParenLoc, in FinishOverloadedCallExpr() local
13265 if (Recovery.isInvalid() || Recovery.isUsable()) in FinishOverloadedCallExpr()
13266 return Recovery; in FinishOverloadedCallExpr()
H A DSemaTemplate.cpp3221 auto CheckExplicitSpecialization = [&](SourceRange Range, bool Recovery) { in MatchTemplateParametersToScopeSpecifier() argument
3225 << !Recovery << Range; in MatchTemplateParametersToScopeSpecifier()
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst1893 graceful recovery. Prior to Recovery AST, a mismatched-argument function call
1900 Recovery AST
1903 The idea of Recovery AST is to use recovery nodes which act as a placeholder to
1916 Without Recovery AST, the invalid function call expression (and its child
1927 With Recovery AST, the AST looks like: