Home
last modified time | relevance | path

Searched refs:ScopeInfo (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Sema/
DSemaCoroutine.cpp131 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local
132 assert(ScopeInfo && "missing function scope for function"); in checkCoroutineContext()
135 if (!ScopeInfo->CoroutinePromise) { in checkCoroutineContext()
145 ScopeInfo->CoroutinePromise = in checkCoroutineContext()
149 S.CheckVariableDeclarationType(ScopeInfo->CoroutinePromise); in checkCoroutineContext()
150 if (!ScopeInfo->CoroutinePromise->isInvalidDecl()) in checkCoroutineContext()
151 S.ActOnUninitializedDecl(ScopeInfo->CoroutinePromise, false); in checkCoroutineContext()
154 return ScopeInfo; in checkCoroutineContext()
DCMakeLists.txt19 ScopeInfo.cpp
/external/llvm-project/clang/lib/Sema/
DSemaCoroutine.cpp551 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise() local
571 auto &Moves = ScopeInfo->CoroutineParameterMoves; in buildCoroutinePromise()
635 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local
636 assert(ScopeInfo && "missing function scope for function"); in checkCoroutineContext()
638 if (ScopeInfo->FirstCoroutineStmtLoc.isInvalid() && !IsImplicit) in checkCoroutineContext()
639 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword); in checkCoroutineContext()
641 if (ScopeInfo->CoroutinePromise) in checkCoroutineContext()
642 return ScopeInfo; in checkCoroutineContext()
647 ScopeInfo->CoroutinePromise = S.buildCoroutinePromise(Loc); in checkCoroutineContext()
648 if (!ScopeInfo->CoroutinePromise) in checkCoroutineContext()
[all …]
DCMakeLists.txt21 ScopeInfo.cpp
DTreeTransform.h7620 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt() local
7622 assert(FD && ScopeInfo && !ScopeInfo->CoroutinePromise && in TransformCoroutineBodyStmt()
7623 ScopeInfo->NeedsCoroutineSuspends && in TransformCoroutineBodyStmt()
7624 ScopeInfo->CoroutineSuspends.first == nullptr && in TransformCoroutineBodyStmt()
7625 ScopeInfo->CoroutineSuspends.second == nullptr && in TransformCoroutineBodyStmt()
7630 ScopeInfo->setNeedsCoroutineSuspends(false); in TransformCoroutineBodyStmt()
7644 ScopeInfo->CoroutinePromise = Promise; in TransformCoroutineBodyStmt()
7657 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in TransformCoroutineBodyStmt()
7664 CoroutineStmtBuilder Builder(SemaRef, *FD, *ScopeInfo, BodyRes.get()); in TransformCoroutineBodyStmt()
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Sema/
DBUILD.gn40 "ScopeInfo.cpp",
/external/llvm/lib/CodeGen/
DMachineInstr.cpp599 if (const MDNode *ScopeInfo = getAAInfo().Scope) { in print() local
601 if (ScopeInfo->getNumOperands() > 0) in print()
602 for (unsigned i = 0, ie = ScopeInfo->getNumOperands(); i != ie; ++i) { in print()
603 ScopeInfo->getOperand(i)->printAsOperand(OS, MST); in print()
/external/clang/lib/AST/
DItaniumMangle.cpp3395 if (TypeSourceInfo *ScopeInfo = PDE->getScopeTypeInfo()) { in mangleExpression() local
3399 mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType()); in mangleExpression()
3403 if (!mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType())) in mangleExpression()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h2322 if (TypeSourceInfo *ScopeInfo = S->getScopeTypeInfo())
2323 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));
/external/llvm-project/clang/include/clang/AST/
DRecursiveASTVisitor.h2575 if (TypeSourceInfo *ScopeInfo = S->getScopeTypeInfo())
2576 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));
/external/llvm-project/clang/lib/AST/
DItaniumMangle.cpp4135 if (TypeSourceInfo *ScopeInfo = PDE->getScopeTypeInfo()) { in mangleExpression() local
4139 mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType()); in mangleExpression()
4143 if (!mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType())) in mangleExpression()