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

/external/llvm/include/llvm/ADT/
H A DScopedHashTable.h154 ScopeTy *CurScope; member in class:llvm::ScopedHashTable
162 ScopedHashTable() : CurScope(0) {}
163 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {}
165 assert(CurScope == 0 && TopLevelMap.empty() && "Scope imbalance!");
188 insertIntoScope(CurScope, Key, Val);
202 ScopeTy *getCurScope() { return CurScope; }
203 const ScopeTy *getCurScope() const { return CurScope; }
223 PrevScope = HT.CurScope;
224 HT.CurScope = this;
230 assert(HT.CurScope
[all...]
/external/clang/lib/Sema/
H A DSemaLambda.cpp217 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) { argument
224 if (CurScope && Param->getIdentifier()) {
225 CheckShadow(CurScope, Param);
227 PushOnScopeChains(Param, CurScope);
521 Scope *CurScope) {
525 if (Scope *TmplScope = CurScope->getTemplateParamParent())
561 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope);
594 ProcessDeclAttributes(CurScope, Method, ParamInfo);
597 PushDeclContext(CurScope, Method);
674 PushOnScopeChains(NewFD, CurScope, fals
519 ActOnStartOfLambdaDefinition(LambdaIntroducer &Intro, Declarator &ParamInfo, Scope *CurScope) argument
779 ActOnLambdaError(SourceLocation StartLoc, Scope *CurScope, bool IsInstantiation) argument
915 ActOnLambdaExpr(SourceLocation StartLoc, Stmt *Body, Scope *CurScope, bool IsInstantiation) argument
[all...]
H A DSemaOpenMP.cpp49 ExprResult Sema::ActOnOpenMPIdExpression(Scope *CurScope, argument
53 LookupParsedName(Lookup, CurScope, &ScopeSpec, true);
61 TypoCorrection Corrected = CorrectTypo(Id, LookupOrdinaryName, CurScope,
119 if (!isDeclInScope(ND, getCurLexicalContext(), CurScope)) {
H A DSemaStmt.cpp390 Stmt *SubStmt, Scope *CurScope) {
2295 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { argument
2296 Scope *S = CurScope->getContinueParent();
2306 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { argument
2307 Scope *S = CurScope->getBreakParent();
2908 Scope *CurScope) {
2915 Scope *AtCatchParent = CurScope;
3183 void Sema::ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, argument
3190 PushCapturedRegionScope(CurScope, CD, RD, Kind);
3192 if (CurScope)
389 ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, Stmt *SubStmt, Scope *CurScope) argument
2907 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument
[all...]
H A DSemaExprMember.cpp91 Scope *CurScope,
238 switch (ClassifyImplicitMemberAccess(*this, CurScope, R)) {
90 ClassifyImplicitMemberAccess(Sema &SemaRef, Scope *CurScope, const LookupResult &R) argument
H A DSema.cpp93 AnalysisWarnings(*this), CurScope(0), Ident_super(0), Ident___float128(0)
H A DSemaLookup.cpp3260 Scope *S = CurScope;
3266 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration);
3274 Scope *S = CurScope->getFnParent();
H A DSemaExpr.cpp9985 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { argument
9998 PushBlockScope(CurScope, Block);
10000 if (CurScope)
10001 PushDeclContext(CurScope, Block);
10013 Scope *CurScope) {
10018 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope);
10115 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo);
10133 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { argument
10146 Stmt *Body, Scope *CurScope) {
10012 ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, Scope *CurScope) argument
10145 ActOnBlockStmtExpr(SourceLocation CaretLoc, Stmt *Body, Scope *CurScope) argument
H A DSemaTemplate.cpp2940 LookupParsedName(Result, CurScope, &SS);
/external/clang/lib/Parse/
H A DParser.cpp59 Actions.CurScope = 0;
369 Actions.CurScope = N;
371 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags);
385 Actions.CurScope = OldScope->getParent();
397 : CurScope(ManageFlags ? Self->getCurScope() : 0) {
398 if (CurScope) {
399 OldFlags = CurScope->getFlags();
400 CurScope->setFlags(ScopeFlags);
407 if (CurScope)
408 CurScope
[all...]
H A DParseStmt.cpp495 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs);
H A DParseDecl.cpp1075 Actions.ActOnReenterTemplateScope(Actions.CurScope, D);
1081 Actions.ActOnReenterFunctionContext(Actions.CurScope, D);
/external/clang/include/clang/Sema/
H A DSema.h2814 Stmt *SubStmt, Scope *CurScope);
2883 StmtResult ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope);
2884 StmtResult ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope);
2886 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope,
2939 Scope *CurScope);
3512 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope);
3517 Scope *CurScope);
3521 void ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope);
3526 Scope *CurScope);
3565 Decl *ActOnUsingDirective(Scope *CurScope,
7758 Scope *CurScope; member in class:clang::Sema
[all...]
/external/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp657 FixupList &CurScope = TableInfo.FixupStack.back(); local
659 resolveTableFixups(Table, CurScope, Table.size());
660 CurScope.clear();
/external/clang/include/clang/Parse/
H A DParser.h711 Scope *CurScope; member in class:clang::Parser::ParseScopeFlags

Completed in 356 milliseconds