| /freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGParser.h | 158 std::unique_ptr<TGVarScope> CurScope; variable 201 CurScope = std::make_unique<TGVarScope>(std::move(CurScope)); in PushScope() 205 return CurScope.get(); in PushScope() 208 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Rec); in PushScope() 209 return CurScope.get(); in PushScope() 212 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Loop); in PushScope() 213 return CurScope.get(); in PushScope() 216 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Multiclass); in PushScope() 217 return CurScope.get(); in PushScope() 220 assert(ExpectedStackTop == CurScope.get() && in PopScope() [all …]
|
| H A D | TGParser.cpp | 1149 if (Init *I = CurScope->getVar(Records, CurMultiClass, Name, NameLoc, in ParseIDValue() 3256 if (!ParsingTemplateArgs && CurScope->varAlreadyDefined(Str)) { in ParseDeclaration() 3679 if (CurScope->varAlreadyDefined(DeclName->getValue())) in ParseDefvar() 3691 if (CurScope->isOutermost() && Records.getGlobal(DeclName->getValue())) in ParseDefvar() 3705 if (!CurScope->isOutermost()) in ParseDefvar() 3706 CurScope->addVar(DeclName->getValue(), Value); in ParseDefvar()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ScopedHashTable.h | 165 ScopeTy *CurScope = nullptr; variable 174 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable() 194 insertIntoScope(CurScope, Key, Val); in insert() 208 ScopeTy *getCurScope() { return CurScope; } in getCurScope() 209 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() 229 PrevScope = HT.CurScope; in ScopedHashTableScope() 230 HT.CurScope = this; in ScopedHashTableScope() 236 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope() 237 HT.CurScope = PrevScope; in ~ScopedHashTableScope()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 1038 Scope *TemplateParamScope = CurScope->getTemplateParamParent(); in ActOnLambdaExpressionAfterIntroducer() 1045 } else if (CurScope->getTemplateParamParent() != nullptr) { in ActOnLambdaExpressionAfterIntroducer() 1057 PushDeclContext(CurScope, Method); in ActOnLambdaExpressionAfterIntroducer() 1183 LookupName(R, CurScope); in ActOnLambdaExpressionAfterIntroducer() 1190 if (DiagnoseEmptyLookup(CurScope, ScopeSpec, R, Validator)) in ActOnLambdaExpressionAfterIntroducer() 1264 PushOnScopeChains(Var, CurScope, false); in ActOnLambdaExpressionAfterIntroducer() 1392 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition() 1409 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition() 1429 CheckShadow(CurScope, P); in ActOnStartOfLambdaDefinition() 1430 PushOnScopeChains(P, CurScope); in ActOnStartOfLambdaDefinition() [all …]
|
| H A D | SemaOpenMP.cpp | 171 Scope *CurScope = nullptr; member 226 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy() 1002 return Top ? Top->CurScope : nullptr; in getCurScope() 1688 if (I->CurScope) { in isOpenMPLocal() 1690 Scope *CurScope = getCurScope(); in isOpenMPLocal() local 1691 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal() 1692 CurScope = CurScope->getParent(); in isOpenMPLocal() 1693 return CurScope != TopScope; in isOpenMPLocal() 9883 Scope *CurScope = DSA.getCurScope(); in checkOpenMPLoop() local 15061 Scope *CurScope = getCurScope(); in ActOnOpenMPTileDirective() local [all …]
|
| H A D | SemaStmt.cpp | 3337 Scope *S = CurScope->getContinueParent(); in ActOnContinueStmt() 3355 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt() 3908 Scope *CurScope) { in ActOnReturnStmt() argument 3923 CurScope->updateNRVOCandidate(VD); in ActOnReturnStmt() 4299 Scope *AtCatchParent = CurScope; in ActOnObjCAtThrowStmt() 4648 CurrentSEHFinally.push_back(CurScope); in ActOnStartSEHFinallyBlock() 4663 Scope *SEHTryParent = CurScope; in ActOnSEHLeaveStmt() 4784 if (CurScope) in ActOnCapturedRegionStart() 4785 PushDeclContext(CurScope, CD); in ActOnCapturedRegionStart() 4844 if (CurScope) in ActOnCapturedRegionStart() [all …]
|
| H A D | SemaLookup.cpp | 4440 Scope *S = CurScope; in LookupOrCreateLabel() 4446 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel() 4454 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
|
| H A D | SemaExpr.cpp | 16939 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument 16953 PushBlockScope(CurScope, Block); in ActOnBlockStart() 16955 if (CurScope) in ActOnBlockStart() 16956 PushDeclContext(CurScope, Block); in ActOnBlockStart() 16969 Scope *CurScope) { in ActOnBlockArguments() argument 17069 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments() 17089 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument 17102 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
|
| H A D | Sema.cpp | 222 CurScope(nullptr), Ident_super(nullptr) { in Sema()
|
| H A D | SemaTemplate.cpp | 5365 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument() 11262 LookupName(Result, CurScope); in CheckTypenameType()
|
| H A D | SemaExprCXX.cpp | 9008 TypeResult T = ActOnTypenameType(CurScope, TypenameKWLoc, SS, in ActOnTypeRequirement()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | Parser.cpp | 61 Actions.CurScope = nullptr; in Parser() 423 Actions.CurScope = N; in EnterScope() 425 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 438 Actions.CurScope = OldScope->getParent(); in ExitScope() 450 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags() 451 if (CurScope) { in ParseScopeFlags() 452 OldFlags = CurScope->getFlags(); in ParseScopeFlags() 453 CurScope->setFlags(ScopeFlags); in ParseScopeFlags() 460 if (CurScope) in ~ParseScopeFlags() 461 CurScope->setFlags(OldFlags); in ~ParseScopeFlags() [all …]
|
| H A D | ParseHLSL.cpp | 100 Actions.ProcessDeclAttributeList(Actions.CurScope, D, Attrs); in ParseHLSLBuffer()
|
| H A D | ParseCXXInlineMethods.cpp | 750 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
|
| H A D | ParseStmt.cpp | 791 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 5312 Scope *CurScope); 5366 Scope *CurScope); 6192 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope); 6197 Scope *CurScope); 6201 void ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope); 6206 Scope *CurScope); 6305 Decl *ActOnNamespaceAliasDef(Scope *CurScope, 11628 NamedDecl *lookupOpenMPDeclareTargetName(Scope *CurScope, 14152 Scope *CurScope; variable 14196 Scope *getCurScope() const { return CurScope; } in getCurScope() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DecoderEmitter.cpp | 699 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local 701 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry() 702 CurScope.clear(); in emitTableEntry()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1208 Scope *CurScope; variable
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 6688 auto CurScope = GetScope(*ItCurrent); in verifyNoAliasScopeDecl() local 6693 GetScope(*ItNext) == CurScope); in verifyNoAliasScopeDecl()
|