Home
last modified time | relevance | path

Searched refs:BlockScope (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp33 BlockScope = RHS.BlockScope; in operator =()
34 for (size_t S = 0, e = BlockScope.size(); S != e; ++S) { in operator =()
35 std::vector<BitCodeAbbrev*> &Abbrevs = BlockScope[S].PrevAbbrevs; in operator =()
48 for (size_t S = 0, e = BlockScope.size(); S != e; ++S) { in freeState()
49 std::vector<BitCodeAbbrev*> &Abbrevs = BlockScope[S].PrevAbbrevs; in freeState()
53 BlockScope.clear(); in freeState()
60 BlockScope.push_back(Block(CurCodeSize)); in EnterSubBlock()
61 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubBlock()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h53 std::vector<Block> BlockScope; variable
101 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()
228 BlockScope.push_back(Block(OldCodeSize, BlockSizeWordIndex)); in EnterSubblock()
229 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()
243 assert(!BlockScope.empty() && "Block scope imbalance!"); in ExitBlock()
250 const Block &B = BlockScope.back(); in ExitBlock()
266 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in ExitBlock()
267 BlockScope.pop_back(); in ExitBlock()
DBitstreamReader.h200 SmallVector<Block, 8> BlockScope; variable
498 if (BlockScope.empty()) return true; in ReadBlockEnd()
511 CurCodeSize = BlockScope.back().PrevCodeSize; in popBlockScope()
518 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in popBlockScope()
519 BlockScope.pop_back(); in popBlockScope()
/external/clang/include/clang/Sema/
DScope.h61 BlockScope = 0x40, enumerator
170 bool isBlockScope() const { return Flags & BlockScope; } in isBlockScope()
293 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope()
DScopeInfo.h481 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() argument
483 TheScope(BlockScope) in BlockScopeInfo()
DSema.h905 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
/external/clang/lib/Sema/
DScope.cpp51 if (flags & BlockScope) BlockParent = this; in Init()
DSema.cpp1006 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope() argument
1008 BlockScope, Block)); in PushBlockScope()
DSemaExprCXX.cpp521 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/external/clang/lib/Parse/
DParseExpr.cpp2399 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression() local
2479 BlockScope.Exit(); in ParseBlockLiteralExpression()
DParseExprCXX.cpp933 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
DParseDecl.cpp2245 Scope::BlockScope | in ParseDeclarationSpecifiers()