/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.h | 159 std::unique_ptr<TGVarScope> CurScope; variable 202 CurScope = std::make_unique<TGVarScope>(std::move(CurScope)); in PushScope() 206 return CurScope.get(); in PushScope() 209 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Rec); in PushScope() 210 return CurScope.get(); in PushScope() 213 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Loop); in PushScope() 214 return CurScope.get(); in PushScope() 217 CurScope = std::make_unique<TGVarScope>(std::move(CurScope), Multiclass); in PushScope() 218 return CurScope.get(); in PushScope() 221 assert(ExpectedStackTop == CurScope.get() && in PopScope() [all …]
|
H A D | TGParser.cpp | 1155 if (Init *I = CurScope->getVar(Records, CurMultiClass, Name, NameLoc, in ParseIDValue() 3262 if (!ParsingTemplateArgs && CurScope->varAlreadyDefined(Str)) { in ParseDeclaration() 3721 if (CurScope->varAlreadyDefined(DeclName->getValue())) in ParseDefvar() 3733 if (CurScope->isOutermost() && Records.getGlobal(DeclName->getValue())) in ParseDefvar() 3747 if (!CurScope->isOutermost()) in ParseDefvar() 3748 CurScope->addVar(DeclName->getValue(), Value); in ParseDefvar()
|
/freebsd/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/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 917 Declarator &ParamInfo, Scope *CurScope, in getLambdaType() argument 1079 if (CurScope->getTemplateParamParent() != nullptr) { in ActOnLambdaExpressionAfterIntroducer() 1081 } else if (Scope *P = CurScope->getParent()) { in ActOnLambdaExpressionAfterIntroducer() 1110 PushDeclContext(CurScope, Method); in ActOnLambdaExpressionAfterIntroducer() 1236 LookupName(R, CurScope); in ActOnLambdaExpressionAfterIntroducer() 1243 if (DiagnoseEmptyLookup(CurScope, ScopeSpec, R, Validator)) in ActOnLambdaExpressionAfterIntroducer() 1450 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition() 1467 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition() 1487 CheckShadow(CurScope, P); in ActOnStartOfLambdaDefinition() 1488 PushOnScopeChains(P, CurScope); in ActOnStartOfLambdaDefinition() [all …]
|
H A D | SemaStmt.cpp | 553 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument 2150 Scope *BreakParent = CurScope->getBreakParent(); in CheckBreakContinueBinding() 2158 } else if (BCFinder.ContinueFound() && CurScope->getContinueParent()) { in CheckBreakContinueBinding() 3181 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { in ActOnContinueStmt() argument 3182 Scope *S = CurScope->getContinueParent(); in ActOnContinueStmt() 3208 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument 3209 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt() 3737 Scope *CurScope) { in ActOnReturnStmt() argument 3758 CurScope->updateNRVOCandidate(VD); in ActOnReturnStmt() 3760 CheckJumpOutOfSEHFinally(*this, ReturnLoc, *CurScope->getFnParent()); in ActOnReturnStmt() [all …]
|
H A D | SemaOpenMP.cpp | 176 Scope *CurScope = nullptr; member 230 Scope *CurScope, SourceLocation Loc) in SharingMapTy() 231 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy() 403 Scope *CurScope, SourceLocation Loc) { in push() argument 409 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc); in push() 1007 return Top ? Top->CurScope : nullptr; in getCurScope() 1693 if (I->CurScope) { in isOpenMPLocal() 1694 Scope *TopScope = I->CurScope->getParent(); in isOpenMPLocal() 1695 Scope *CurScope = getCurScope(); in isOpenMPLocal() local 1696 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal() [all …]
|
H A D | SemaObjC.cpp | 270 Scope *CurScope) { in ActOnObjCAtThrowStmt() argument 277 Scope *AtCatchParent = CurScope; in ActOnObjCAtThrowStmt()
|
H A D | SemaLookup.cpp | 4370 Scope *S = CurScope; in LookupOrCreateLabel() 4376 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, in LookupOrCreateLabel() 4385 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
|
H A D | SemaExpr.cpp | 15932 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument 15946 PushBlockScope(CurScope, Block); in ActOnBlockStart() 15948 if (CurScope) in ActOnBlockStart() 15949 PushDeclContext(CurScope, Block); in ActOnBlockStart() 15962 Scope *CurScope) { in ActOnBlockArguments() argument 16062 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments() 16080 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument 16091 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
|
H A D | Sema.cpp | 223 CurScope(nullptr), Ident_super(nullptr), in Sema()
|
H A D | SemaTemplate.cpp | 4656 LookupParsedName(Result, CurScope, &SS, /*ObjectType=*/QualType()); in CheckTemplateTypeArgument() 10493 LookupName(Result, CurScope); in CheckTypenameType()
|
H A D | SemaExprCXX.cpp | 9229 TypeResult T = ActOnTypenameType(CurScope, TypenameKWLoc, SS, in ActOnTypeRequirement()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | Parser.cpp | 62 Actions.CurScope = nullptr; in Parser() 424 Actions.CurScope = N; in EnterScope() 426 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 439 Actions.CurScope = OldScope->getParent(); in ExitScope() 451 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags() 452 if (CurScope) { in ParseScopeFlags() 453 OldFlags = CurScope->getFlags(); in ParseScopeFlags() 454 CurScope->setFlags(ScopeFlags); in ParseScopeFlags() 461 if (CurScope) in ~ParseScopeFlags() 462 CurScope->setFlags(OldFlags); in ~ParseScopeFlags() [all …]
|
H A D | ParseHLSL.cpp | 101 Actions.ProcessDeclAttributeList(Actions.CurScope, D, Attrs); in ParseHLSLBuffer()
|
H A D | ParseDeclCXX.cpp | 844 Scope *CurScope = getCurScope(); in ParseUsingDeclaration() local 845 if (CurScope) in ParseUsingDeclaration() 846 CurScope->setFlags(Scope::ScopeFlags::TypeAliasScope | in ParseUsingDeclaration() 847 CurScope->getFlags()); in ParseUsingDeclaration()
|
H A D | ParseCXXInlineMethods.cpp | 813 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
|
H A D | ParseStmt.cpp | 803 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaOpenMP.h | 196 const DeclarationNameInfo &DirName, Scope *CurScope, 220 ExprResult ActOnOpenMPIdExpression(Scope *CurScope, CXXScopeSpec &ScopeSpec, 342 NamedDecl *lookupOpenMPDeclareTargetName(Scope *CurScope, 380 void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope);
|
H A D | Sema.h | 803 Scope *getCurScope() const { return CurScope; } in getCurScope() 968 return CurScope->incrementMSManglingNumber(); in incrementMSManglingNumber() 1290 Scope *CurScope; variable 4821 Decl *ActOnUsingDirective(Scope *CurScope, SourceLocation UsingLoc, 4829 Decl *ActOnNamespaceAliasDef(Scope *CurScope, SourceLocation NamespaceLoc, 4936 Decl *ActOnUsingDeclaration(Scope *CurScope, AccessSpecifier AS, 4941 Decl *ActOnUsingEnumDeclaration(Scope *CurScope, AccessSpecifier AS, 4946 Decl *ActOnAliasDeclaration(Scope *CurScope, AccessSpecifier AS, 7128 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope); 7133 Scope *CurScope); [all …]
|
H A D | SemaObjC.h | 73 Scope *CurScope);
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DecoderEmitter.cpp | 728 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local 730 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry() 731 CurScope.clear(); in emitTableEntry()
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 1244 Scope *CurScope; variable
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 7102 auto CurScope = GetScope(*ItCurrent); in verifyNoAliasScopeDecl() local 7107 GetScope(*ItNext) == CurScope); in verifyNoAliasScopeDecl()
|