Lines Matching defs:ID
115 std::error_code visitCategoryRecord(unsigned ID, StringRef Name) override;
116 std::error_code visitDiagFlagRecord(unsigned ID, StringRef Name) override;
120 std::error_code visitFilenameRecord(unsigned ID, unsigned Size,
137 void writeRecordWithAbbrev(unsigned ID, RecordData &Record);
139 void writeRecordWithBlob(unsigned ID, RecordData &Record, StringRef Blob);
322 /// \brief Emits a block ID in the BLOCKINFO block.
323 static void EmitBlockID(unsigned ID, const char *Name,
327 Record.push_back(ID);
342 /// \brief Emits a record ID in the BLOCKINFO block.
343 static void EmitRecordID(unsigned ID, const char *Name,
347 Record.push_back(ID);
429 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID.
477 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID.
485 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Category ID.
500 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID.
509 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped file ID.
663 // Emit the category string lazily and get the category ID.
666 // Emit the diagnostic flag string lazily and get the mapped ID.
871 std::error_code SDiagsMerger::visitFilenameRecord(unsigned ID, unsigned Size,
874 FileLookup[ID] = Writer.getEmitFile(Name.str().c_str());
878 std::error_code SDiagsMerger::visitCategoryRecord(unsigned ID, StringRef Name) {
879 CategoryLookup[ID] = Writer.getEmitCategory(ID);
883 std::error_code SDiagsMerger::visitDiagFlagRecord(unsigned ID, StringRef Name) {
884 DiagFlagLookup[ID] = Writer.getEmitDiagnosticFlag(Name);