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

Declarations

include/llvm/BinaryFormat/Dwarf.h
  495 unsigned getLanguage(StringRef LanguageString);

References

lib/AsmParser/LLParser.cpp
 4033   unsigned Lang = dwarf::getLanguage(Lex.getStrVal());
unittests/BinaryFormat/DwarfTest.cpp
   72   EXPECT_EQ(DW_LANG_C89, getLanguage("DW_LANG_C89"));
   73   EXPECT_EQ(DW_LANG_C_plus_plus_11, getLanguage("DW_LANG_C_plus_plus_11"));
   74   EXPECT_EQ(DW_LANG_OCaml, getLanguage("DW_LANG_OCaml"));
   75   EXPECT_EQ(DW_LANG_Mips_Assembler, getLanguage("DW_LANG_Mips_Assembler"));
   78   EXPECT_EQ(0u, getLanguage("DW_LANG_invalid"));
   79   EXPECT_EQ(0u, getLanguage("DW_TAG_array_type"));
   80   EXPECT_EQ(0u, getLanguage("something else"));
   83   EXPECT_EQ(0u, getLanguage("DW_LANG_lo_user"));
   84   EXPECT_EQ(0u, getLanguage("DW_LANG_hi_user"));