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

References

lib/TableGen/TGParser.cpp
  438   if (Record *Prev = Records.getDef(Rec->getNameInitAsString())) {
  439     if (!Rec->isAnonymous()) {
  440       PrintError(Rec->getLoc(),
  441                  "def already exists: " + Rec->getNameInitAsString());
  445     Rec->setName(Records.getNewAnonymousName());
  448   Rec->resolveReferences();
  449   checkConcrete(*Rec);
  451   if (!isa<StringInit>(Rec->getNameInit())) {
  452     PrintError(Rec->getLoc(), Twine("record name '") +
  453                                   Rec->getNameInit()->getAsString() +
  459   assert(Rec->getTemplateArgs().empty() && "How'd this get template args?");
  462     DefInit *I = Rec->getDefInit();
  464       PrintError(Rec->getLoc(), Twine("adding record of incompatible type '") +
  473   Records.addDef(std::move(Rec));