Lines Matching defs:BlockScope
190 auto *BlockScope = Children[0];
191 EXPECT_EQ(LS.findLexicalScope(InBlockLoc.get()), BlockScope);
192 EXPECT_EQ(BlockScope->getDesc(), InBlockLoc->getScope());
193 EXPECT_FALSE(BlockScope->isAbstractScope());
195 EXPECT_TRUE(FuncScope->dominates(BlockScope));
196 EXPECT_FALSE(BlockScope->dominates(FuncScope));
198 EXPECT_EQ(BlockScope->getParent(), FuncScope);
224 auto *BlockScope = Children[0];
225 auto &BlockChildren = BlockScope->getChildren();
235 EXPECT_EQ(BlockScope->getParent(), FuncScope);
236 EXPECT_EQ(InlinedScope->getParent(), BlockScope);
277 LexicalScope *BlockScope = LS.findLexicalScope(InBlockLoc.get());
278 ASSERT_NE(BlockScope, nullptr);
282 auto &Ranges = BlockScope->getRanges();
311 LexicalScope *BlockScope = LS.findLexicalScope(InBlockLoc.get());
314 ASSERT_NE(BlockScope, nullptr);
325 auto &BlockRanges = BlockScope->getRanges();
349 LexicalScope *BlockScope = LS.findLexicalScope(InBlockLoc.get());
352 ASSERT_NE(BlockScope, nullptr);
355 EXPECT_TRUE(FuncScope->dominates(BlockScope));
357 EXPECT_FALSE(BlockScope->dominates(FuncScope));
358 EXPECT_FALSE(BlockScope->dominates(OtherBlockScope));
360 EXPECT_FALSE(OtherBlockScope->dominates(BlockScope));
391 LexicalScope *BlockScope = LS.findLexicalScope(InBlockLoc.get());
394 ASSERT_NE(BlockScope, nullptr);
448 LexicalScope *BlockScope = LS.findLexicalScope(InBlockLoc.get());
450 ASSERT_NE(BlockScope, nullptr);