Lines Matching refs:DebugNode
19 EXPECT_EQ(DebugNode::FlagPublic, DebugNode::getFlag("DIFlagPublic")); in TEST()
20 EXPECT_EQ(DebugNode::FlagProtected, DebugNode::getFlag("DIFlagProtected")); in TEST()
21 EXPECT_EQ(DebugNode::FlagPrivate, DebugNode::getFlag("DIFlagPrivate")); in TEST()
22 EXPECT_EQ(DebugNode::FlagVector, DebugNode::getFlag("DIFlagVector")); in TEST()
23 EXPECT_EQ(DebugNode::FlagRValueReference, in TEST()
24 DebugNode::getFlag("DIFlagRValueReference")); in TEST()
27 EXPECT_EQ(0u, DebugNode::getFlag("DIFlagAccessibility")); in TEST()
30 EXPECT_EQ(0u, DebugNode::getFlag("FlagVector")); in TEST()
31 EXPECT_EQ(0u, DebugNode::getFlag("Vector")); in TEST()
32 EXPECT_EQ(0u, DebugNode::getFlag("other things")); in TEST()
33 EXPECT_EQ(0u, DebugNode::getFlag("DIFlagOther")); in TEST()
39 DebugNode::getFlagString(DebugNode::FlagPublic)); in TEST()
41 DebugNode::getFlagString(DebugNode::FlagProtected)); in TEST()
43 DebugNode::getFlagString(DebugNode::FlagPrivate)); in TEST()
45 DebugNode::getFlagString(DebugNode::FlagVector)); in TEST()
47 DebugNode::getFlagString(DebugNode::FlagRValueReference)); in TEST()
51 DebugNode::getFlagString(DebugNode::FlagAccessibility)); in TEST()
54 EXPECT_EQ(StringRef(), DebugNode::getFlagString(DebugNode::FlagPublic | in TEST()
55 DebugNode::FlagVector)); in TEST()
56 EXPECT_EQ(StringRef(), DebugNode::getFlagString(DebugNode::FlagFwdDecl | in TEST()
57 DebugNode::FlagArtificial)); in TEST()
58 EXPECT_EQ(StringRef(), DebugNode::getFlagString(0xffff)); in TEST()
66 EXPECT_EQ(REMAINDER, DebugNode::splitFlags(FLAGS, V)); \ in TEST()
69 CHECK_SPLIT(DebugNode::FlagPublic, {DebugNode::FlagPublic}, 0u); in TEST()
70 CHECK_SPLIT(DebugNode::FlagProtected, {DebugNode::FlagProtected}, 0u); in TEST()
71 CHECK_SPLIT(DebugNode::FlagPrivate, {DebugNode::FlagPrivate}, 0u); in TEST()
72 CHECK_SPLIT(DebugNode::FlagVector, {DebugNode::FlagVector}, 0u); in TEST()
73 CHECK_SPLIT(DebugNode::FlagRValueReference, {DebugNode::FlagRValueReference}, in TEST()
75 unsigned Flags[] = {DebugNode::FlagFwdDecl, DebugNode::FlagVector}; in TEST()
76 CHECK_SPLIT(DebugNode::FlagFwdDecl | DebugNode::FlagVector, Flags, 0u); in TEST()
78 CHECK_SPLIT(0x100000u | DebugNode::FlagVector, {DebugNode::FlagVector}, in TEST()