• Home
  • Raw
  • Download

Lines Matching refs:DINode

35   EXPECT_EQ(DINode::FlagPublic, DINode::getFlag("DIFlagPublic"));  in TEST()
36 EXPECT_EQ(DINode::FlagProtected, DINode::getFlag("DIFlagProtected")); in TEST()
37 EXPECT_EQ(DINode::FlagPrivate, DINode::getFlag("DIFlagPrivate")); in TEST()
38 EXPECT_EQ(DINode::FlagVector, DINode::getFlag("DIFlagVector")); in TEST()
39 EXPECT_EQ(DINode::FlagRValueReference, in TEST()
40 DINode::getFlag("DIFlagRValueReference")); in TEST()
43 EXPECT_EQ(0u, DINode::getFlag("DIFlagAccessibility")); in TEST()
46 EXPECT_EQ(0u, DINode::getFlag("FlagVector")); in TEST()
47 EXPECT_EQ(0u, DINode::getFlag("Vector")); in TEST()
48 EXPECT_EQ(0u, DINode::getFlag("other things")); in TEST()
49 EXPECT_EQ(0u, DINode::getFlag("DIFlagOther")); in TEST()
55 DINode::getFlagString(DINode::FlagPublic)); in TEST()
57 DINode::getFlagString(DINode::FlagProtected)); in TEST()
59 DINode::getFlagString(DINode::FlagPrivate)); in TEST()
61 DINode::getFlagString(DINode::FlagVector)); in TEST()
63 DINode::getFlagString(DINode::FlagRValueReference)); in TEST()
67 DINode::getFlagString(DINode::FlagAccessibility)); in TEST()
71 DINode::getFlagString(DINode::FlagPublic | DINode::FlagVector)); in TEST()
72 EXPECT_EQ(StringRef(), DINode::getFlagString(DINode::FlagFwdDecl | in TEST()
73 DINode::FlagArtificial)); in TEST()
75 DINode::getFlagString(static_cast<DINode::DIFlags>(0xffff))); in TEST()
82 SmallVector<DINode::DIFlags, 8> V; \ in TEST()
83 EXPECT_EQ(REMAINDER, DINode::splitFlags(FLAGS, V)); \ in TEST()
86 CHECK_SPLIT(DINode::FlagPublic, {DINode::FlagPublic}, DINode::FlagZero); in TEST()
87 CHECK_SPLIT(DINode::FlagProtected, {DINode::FlagProtected}, DINode::FlagZero); in TEST()
88 CHECK_SPLIT(DINode::FlagPrivate, {DINode::FlagPrivate}, DINode::FlagZero); in TEST()
89 CHECK_SPLIT(DINode::FlagVector, {DINode::FlagVector}, DINode::FlagZero); in TEST()
90 CHECK_SPLIT(DINode::FlagRValueReference, {DINode::FlagRValueReference}, in TEST()
91 DINode::FlagZero); in TEST()
92 DINode::DIFlags Flags[] = {DINode::FlagFwdDecl, DINode::FlagVector}; in TEST()
93 CHECK_SPLIT(DINode::FlagFwdDecl | DINode::FlagVector, Flags, in TEST()
94 DINode::FlagZero); in TEST()
95 CHECK_SPLIT(DINode::FlagZero, {}, DINode::FlagZero); in TEST()