示例#1
0
TypeIndex TypeTableBuilder::writeKnownType(const UdtSourceLineRecord &Record) {
  TypeRecordBuilder Builder(Record.getKind());
  Builder.writeTypeIndex(Record.getUDT());
  Builder.writeTypeIndex(Record.getSourceFile());
  Builder.writeUInt32(Record.getLineNumber());
  return writeRecord(Builder);
}
示例#2
0
Error TypeDumpVisitor::visitKnownRecord(CVType &CVR,
                                        UdtSourceLineRecord &Line) {
  printTypeIndex("UDT", Line.getUDT());
  printItemIndex("SourceFile", Line.getSourceFile());
  W->printNumber("LineNumber", Line.getLineNumber());
  return Error::success();
}
示例#3
0
void CVTypeDumperImpl::visitUdtSourceLine(TypeLeafKind Leaf,
        UdtSourceLineRecord &Line) {
    printTypeIndex("UDT", Line.getUDT());
    printTypeIndex("SourceFile", Line.getSourceFile());
    W.printNumber("LineNumber", Line.getLineNumber());
}