Lines Matching refs:CompileUnit
44 LVScopeCompileUnit *CompileUnit = static_cast<LVScopeCompileUnit *>(*Iter); in getFirstCompileUnit() local
45 EXPECT_NE(CompileUnit, nullptr); in getFirstCompileUnit()
46 return CompileUnit; in getFirstCompileUnit()
67 LVScopeCompileUnit *CompileUnit = getFirstCompileUnit(Root); in checkElementProperties() local
72 EXPECT_EQ(CompileUnit->getBaseAddress(), 0u); in checkElementProperties()
73 EXPECT_TRUE(CompileUnit->getProducer().starts_with("clang")); in checkElementProperties()
74 EXPECT_EQ(CompileUnit->getName(), "test.cpp"); in checkElementProperties()
76 EXPECT_EQ(CompileUnit->lineCount(), 0u); in checkElementProperties()
77 EXPECT_EQ(CompileUnit->scopeCount(), 1u); in checkElementProperties()
78 EXPECT_EQ(CompileUnit->symbolCount(), 0u); in checkElementProperties()
79 EXPECT_EQ(CompileUnit->typeCount(), 7u); in checkElementProperties()
80 EXPECT_EQ(CompileUnit->rangeCount(), 1u); in checkElementProperties()
82 const LVLocations *Ranges = CompileUnit->getRanges(); in checkElementProperties()
91 CompileUnit->getRanges(RangeList); in checkElementProperties()
111 const LVPublicNames &PublicNames = CompileUnit->getPublicNames(); in checkElementProperties()
130 LVScopeCompileUnit *CompileUnit = getFirstCompileUnit(Root); in checkElementSelection() local
133 LVElements MatchedElements = CompileUnit->getMatchedElements(); in checkElementSelection()
165 LVScopes MatchedScopes = CompileUnit->getMatchedScopes(); in checkElementSelection()