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

References

utils/TableGen/Attributes.cpp
   54   OS << "#ifdef GET_ATTR_KIND_FROM_NAME\n";
   55   OS << "#undef GET_ATTR_KIND_FROM_NAME\n";
   60   OS << "static Attribute::AttrKind getAttrKindFromName(StringRef AttrName) {\n";
   61   OS << "  return StringSwitch<Attribute::AttrKind>(AttrName)\n";
   64     OS << "    .Case(\"" << A->getValueAsString("AttrString");
   65     OS << "\", Attribute::" << A->getName() << ")\n";
   68   OS << "    .Default(Attribute::None);\n";
   69   OS << "}\n\n";
   71   OS << "#endif\n";