Home
last modified time | relevance | path

Searched refs:CurScope (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DScopedHashTable.h164 ScopeTy *CurScope = nullptr; variable
175 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable()
196 insertIntoScope(CurScope, Key, Val); in insert()
210 ScopeTy *getCurScope() { return CurScope; } in getCurScope()
211 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope()
231 PrevScope = HT.CurScope; in ScopedHashTableScope()
232 HT.CurScope = this; in ScopedHashTableScope()
238 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope()
239 HT.CurScope = PrevScope; in ~ScopedHashTableScope()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLambda.cpp498 CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument
505 if (CurScope && Param->getIdentifier()) { in addLambdaParameters()
518 CheckShadow(CurScope, Param); in addLambdaParameters()
520 PushOnScopeChains(Param, CurScope); in addLambdaParameters()
843 if (CurScope->getTemplateParamParent()) in ActOnStartOfLambdaDefinition()
925 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
933 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition()
1050 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition()
1077 LookupName(R, CurScope); in ActOnStartOfLambdaDefinition()
1083 if (DiagnoseEmptyLookup(CurScope, ScopeSpec, R, in ActOnStartOfLambdaDefinition()
[all …]
H A DSemaOpenMP.cpp132 Scope *CurScope = nullptr; member
152 Scope *CurScope, SourceLocation Loc) in SharingMapTy()
153 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy()
211 Scope *CurScope, SourceLocation Loc) { in push() argument
1078 TopScope = I->CurScope ? I->CurScope->getParent() : nullptr; in isOpenMPLocal()
1079 Scope *CurScope = getCurScope(); in isOpenMPLocal() local
1080 while (CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal()
1081 CurScope = CurScope->getParent(); in isOpenMPLocal()
1082 return CurScope != TopScope; in isOpenMPLocal()
1754 DSAStack->push(DKind, DirName, CurScope, Loc); in StartOpenMPDSABlock()
[all …]
H A DSemaStmt.cpp2906 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt()
3518 Scope *CurScope) { in ActOnReturnStmt() argument
3526 CurScope->addNRVOCandidate(VD); in ActOnReturnStmt()
3528 CurScope->setNoNRVO(); in ActOnReturnStmt()
3835 Scope *AtCatchParent = CurScope; in ActOnObjCAtThrowStmt()
4159 CurrentSEHFinally.push_back(CurScope); in ActOnStartSEHFinallyBlock()
4174 Scope *SEHTryParent = CurScope; in ActOnSEHLeaveStmt()
4278 if (CurScope) in ActOnCapturedRegionStart()
4279 PushDeclContext(CurScope, CD); in ActOnCapturedRegionStart()
4336 if (CurScope) in ActOnCapturedRegionStart()
[all …]
H A DSemaLookup.cpp3820 Scope *S = CurScope; in LookupOrCreateLabel()
3826 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel()
3834 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
H A DSemaExpr.cpp13522 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument
13535 PushBlockScope(CurScope, Block); in ActOnBlockStart()
13537 if (CurScope) in ActOnBlockStart()
13538 PushDeclContext(CurScope, Block); in ActOnBlockStart()
13551 Scope *CurScope) { in ActOnBlockArguments() argument
13557 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
13650 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
13667 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument
13680 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
H A DSema.cpp148 CurScope(nullptr), Ident_super(nullptr), Ident___float128(nullptr) {
H A DSemaTemplate.cpp4369 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParser.cpp59 Actions.CurScope = nullptr; in Parser()
363 Actions.CurScope = N; in EnterScope()
365 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
378 Actions.CurScope = OldScope->getParent(); in ExitScope()
390 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags()
391 if (CurScope) { in ParseScopeFlags()
392 OldFlags = CurScope->getFlags(); in ParseScopeFlags()
393 CurScope->setFlags(ScopeFlags); in ParseScopeFlags()
400 if (CurScope) in ~ParseScopeFlags()
401 CurScope->setFlags(OldFlags); in ~ParseScopeFlags()
[all …]
H A DParseStmt.cpp635 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, attrs); in ParseLabeledStatement()
H A DParseDecl.cpp1437 Actions.ActOnReenterTemplateScope(Actions.CurScope, D); in ParseLexedAttribute()
1445 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3861 Scope *CurScope);
3911 Scope *CurScope);
4552 Scope *CurScope);
4561 Scope *CurScope);
4639 Decl *ActOnNamespaceAliasDef(Scope *CurScope,
5620 CXXMethodDecl *CallOperator, Scope *CurScope);
5641 Scope *CurScope);
8769 ExprResult ActOnOpenMPIdExpression(Scope *CurScope,
10685 Scope *CurScope; variable
10728 Scope *getCurScope() const { return CurScope; } in getCurScope()
[all …]
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp651 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local
653 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry()
654 CurScope.clear(); in emitTableEntry()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h1002 Scope *CurScope; variable