Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/include/llvm/ADT/
DScopedHashTable.h154 ScopeTy *CurScope; variable
162 ScopedHashTable() : CurScope(0) {} in ScopedHashTable()
163 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {} in ScopedHashTable()
165 assert(CurScope == 0 && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable()
188 insertIntoScope(CurScope, Key, Val); in insert()
202 ScopeTy *getCurScope() { return CurScope; } in getCurScope()
203 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope()
223 PrevScope = HT.CurScope; in ScopedHashTableScope()
224 HT.CurScope = this; in ScopedHashTableScope()
230 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaOpenMP.cpp64 Scope *CurScope; member
67 Scope *CurScope) in SharingMapTy()
69 DirectiveName(Name), CurScope(CurScope) { } in SharingMapTy()
73 CurScope(0) { } in SharingMapTy()
89 Scope *CurScope) { in push() argument
90 Stack.push_back(SharingMapTy(DKind, DirName, CurScope)); in push()
129 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope()
235 Scope *CurScope = getCurScope(); in isOpenMPLocal() local
236 while (CurScope && !CurScope->isDeclScope(D)) in isOpenMPLocal()
237 CurScope = CurScope->getParent(); in isOpenMPLocal()
[all …]
DSemaLambda.cpp390 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument
397 if (CurScope && Param->getIdentifier()) { in addLambdaParameters()
398 CheckShadow(CurScope, Param); in addLambdaParameters()
400 PushOnScopeChains(Param, CurScope); in addLambdaParameters()
747 Declarator &ParamInfo, Scope *CurScope) { in ActOnStartOfLambdaDefinition() argument
756 if (Scope *TmplScope = CurScope->getTemplateParamParent()) { in ActOnStartOfLambdaDefinition()
808 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
838 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
841 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition()
925 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition()
[all …]
DSemaStmt.cpp387 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument
2335 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { in ActOnContinueStmt() argument
2336 Scope *S = CurScope->getContinueParent(); in ActOnContinueStmt()
2346 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument
2347 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt()
2975 Scope *CurScope) { in ActOnObjCAtThrowStmt() argument
2982 Scope *AtCatchParent = CurScope; in ActOnObjCAtThrowStmt()
3247 void Sema::ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, in ActOnCapturedRegionStart() argument
3254 PushCapturedRegionScope(CurScope, CD, RD, Kind); in ActOnCapturedRegionStart()
3256 if (CurScope) in ActOnCapturedRegionStart()
[all …]
DSemaExprMember.cpp92 Scope *CurScope, in ClassifyImplicitMemberAccess() argument
239 switch (ClassifyImplicitMemberAccess(*this, CurScope, R)) { in BuildPossibleImplicitMemberExpr()
DSemaLookup.cpp3363 Scope *S = CurScope; in LookupOrCreateLabel()
3369 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel()
3377 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
DSema.cpp94 VarDataSharingAttributesStack(0), CurScope(0), in Sema()
DSemaExpr.cpp10178 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument
10191 PushBlockScope(CurScope, Block); in ActOnBlockStart()
10193 if (CurScope) in ActOnBlockStart()
10194 PushDeclContext(CurScope, Block); in ActOnBlockStart()
10206 Scope *CurScope) { in ActOnBlockArguments() argument
10211 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
10308 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
10326 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument
10339 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
DSemaTemplate.cpp2983 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/
DParser.cpp59 Actions.CurScope = 0; in Parser()
382 Actions.CurScope = N; in EnterScope()
384 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
398 Actions.CurScope = OldScope->getParent(); in ExitScope()
410 : CurScope(ManageFlags ? Self->getCurScope() : 0) { in ParseScopeFlags()
411 if (CurScope) { in ParseScopeFlags()
412 OldFlags = CurScope->getFlags(); in ParseScopeFlags()
413 CurScope->setFlags(ScopeFlags); in ParseScopeFlags()
420 if (CurScope) in ~ParseScopeFlags()
421 CurScope->setFlags(OldFlags); in ~ParseScopeFlags()
[all …]
DParseStmt.cpp561 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
DParseDecl.cpp1065 Actions.ActOnReenterTemplateScope(Actions.CurScope, D); in ParseLexedAttribute()
1071 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Sema/
DSema.h2886 Stmt *SubStmt, Scope *CurScope);
2955 StmtResult ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope);
2956 StmtResult ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope);
2958 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope,
3011 Scope *CurScope);
3592 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope);
3597 Scope *CurScope);
3601 void ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope);
3606 Scope *CurScope);
3652 Decl *ActOnUsingDirective(Scope *CurScope,
[all …]
/freebsd-9-stable/contrib/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp657 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local
659 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry()
660 CurScope.clear(); in emitTableEntry()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Parse/
DParser.h720 Scope *CurScope; variable