Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h66 std::vector<Block> BlockScope; variable
124 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()
300 BlockScope.emplace_back(OldCodeSize, BlockSizeWordIndex); in EnterSubblock()
301 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()
310 assert(!BlockScope.empty() && "Block scope imbalance!"); in ExitBlock()
311 const Block &B = BlockScope.back(); in ExitBlock()
328 BlockScope.pop_back(); in ExitBlock()
H A DBitstreamReader.h356 SmallVector<Block, 8> BlockScope; variable
501 if (BlockScope.empty()) return true; in ReadBlockEnd()
513 CurCodeSize = BlockScope.back().PrevCodeSize; in popBlockScope()
515 CurAbbrevs = std::move(BlockScope.back().PrevAbbrevs); in popBlockScope()
516 BlockScope.pop_back(); in popBlockScope()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DScope.cpp42 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
67 if (flags & BlockScope) BlockParent = this; in setFlags()
152 {BlockScope, "BlockScope"}, in dumpImpl()
H A DSema.cpp1922 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope() argument
1924 BlockScope, Block)); in PushBlockScope()
H A DSemaDecl.cpp14805 Scope *BlockScope = S; in ImplicitlyDefineFunction() local
14806 while (!BlockScope->isCompoundStmtScope() && BlockScope->getParent()) in ImplicitlyDefineFunction()
14807 BlockScope = BlockScope->getParent(); in ImplicitlyDefineFunction()
14809 Scope *ContextScope = BlockScope; in ImplicitlyDefineFunction()
14822 PushOnScopeChains(ExternCPrev, BlockScope, /*AddToContext*/false); in ImplicitlyDefineFunction()
14902 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(BlockScope, D)); in ImplicitlyDefineFunction()
H A DSemaExprCXX.cpp824 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScope.h71 BlockScope = 0x40, enumerator
231 bool isBlockScope() const { return Flags & BlockScope; } in isBlockScope()
435 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope()
H A DScopeInfo.h753 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() argument
755 TheScope(BlockScope) { in BlockScopeInfo()
H A DSema.h1816 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp136 BlockScope<Emitter> Scope(this); in visitCompoundStmt()
190 BlockScope<Emitter> IfScope(this); in visitIfStmt()
H A DByteCodeExprGen.h309 template <class Emitter> class BlockScope final : public LocalScope<Emitter> {
311 BlockScope(ByteCodeExprGen<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in BlockScope() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp23 BlockScope.push_back(Block(CurCodeSize)); in EnterSubBlock()
24 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubBlock()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExpr.cpp3456 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression() local
3534 BlockScope.Exit(); in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1458 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseDecl.cpp3127 Scope::BlockScope | in ParseDeclarationSpecifiers()