Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Bitcode/
H A DBitstreamWriter.h56 std::vector<Block> BlockScope; variable
90 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()
218 BlockScope.emplace_back(OldCodeSize, BlockSizeWordIndex); in EnterSubblock()
219 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()
230 assert(!BlockScope.empty() && "Block scope imbalance!"); in ExitBlock()
231 const Block &B = BlockScope.back(); in ExitBlock()
248 BlockScope.pop_back(); in ExitBlock()
H A DBitstreamReader.h328 SmallVector<Block, 8> BlockScope; variable
449 if (BlockScope.empty()) return true; in ReadBlockEnd()
461 CurCodeSize = BlockScope.back().PrevCodeSize; in popBlockScope()
463 CurAbbrevs = std::move(BlockScope.back().PrevAbbrevs); in popBlockScope()
464 BlockScope.pop_back(); in popBlockScope()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DScope.cpp43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
68 if (flags & BlockScope) BlockParent = this; in setFlags()
153 {BlockScope, "BlockScope"}, in dumpImpl()
H A DSema.cpp1392 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope() argument
1394 BlockScope, Block)); in PushBlockScope()
H A DSemaDecl.cpp13431 Scope *BlockScope = S; in ImplicitlyDefineFunction() local
13432 while (!BlockScope->isCompoundStmtScope() && BlockScope->getParent()) in ImplicitlyDefineFunction()
13433 BlockScope = BlockScope->getParent(); in ImplicitlyDefineFunction()
13435 Scope *ContextScope = BlockScope; in ImplicitlyDefineFunction()
13448 PushOnScopeChains(ExternCPrev, BlockScope, /*AddToContext*/false); in ImplicitlyDefineFunction()
13528 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(BlockScope, D)); in ImplicitlyDefineFunction()
H A DSemaExprCXX.cpp738 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DScope.h72 BlockScope = 0x40, enumerator
223 bool isBlockScope() const { return Flags & BlockScope; } in isBlockScope()
397 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope()
H A DScopeInfo.h723 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() argument
725 TheScope(BlockScope) { in BlockScopeInfo()
H A DSema.h1342 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitstreamReader.cpp25 BlockScope.push_back(Block(CurCodeSize)); in EnterSubBlock()
26 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubBlock()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseExpr.cpp2966 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression() local
3044 BlockScope.Exit(); in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1287 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseDecl.cpp3000 Scope::BlockScope | in ParseDeclarationSpecifiers()