Skip to content

Commit 4cced9b

Browse files
compnerdbob-wilson
authored andcommitted
Frontend: replicate clang SVN r285660
The block info block does not require an explicit abbreviation width as the local abbreviations are internal to the block. Remove the parameter similar to the clang change.
1 parent f10ae47 commit 4cced9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Frontend/SerializedDiagnosticConsumer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static void addRangeLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) {
341341
}
342342

343343
void SerializedDiagnosticConsumer::emitBlockInfoBlock() {
344-
State->Stream.EnterBlockInfoBlock(3);
344+
State->Stream.EnterBlockInfoBlock();
345345

346346
using namespace llvm;
347347
llvm::BitstreamWriter &Stream = State->Stream;

0 commit comments

Comments
 (0)