reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
167 static DIFlags getFlag(StringRef Flag);
4136 Val = DINode::getFlag(Lex.getStrVal());
unittests/IR/DebugInfoTest.cpp18 EXPECT_EQ(DINode::FlagPublic, DINode::getFlag("DIFlagPublic")); 19 EXPECT_EQ(DINode::FlagProtected, DINode::getFlag("DIFlagProtected")); 20 EXPECT_EQ(DINode::FlagPrivate, DINode::getFlag("DIFlagPrivate")); 21 EXPECT_EQ(DINode::FlagVector, DINode::getFlag("DIFlagVector")); 23 DINode::getFlag("DIFlagRValueReference")); 26 EXPECT_EQ(0u, DINode::getFlag("DIFlagAccessibility")); 29 EXPECT_EQ(0u, DINode::getFlag("FlagVector")); 30 EXPECT_EQ(0u, DINode::getFlag("Vector")); 31 EXPECT_EQ(0u, DINode::getFlag("other things")); 32 EXPECT_EQ(0u, DINode::getFlag("DIFlagOther"));