reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/DebugInfoMetadata.h
  167   static DIFlags getFlag(StringRef Flag);

References

lib/AsmParser/LLParser.cpp
 4136     Val = DINode::getFlag(Lex.getStrVal());
unittests/IR/DebugInfoTest.cpp
   18   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"));