[clang-doc] Removing -Wunused-variable warning

Warning was appearing in release with debug info build, this removes it.

Differential Revision: https://reviews.llvm.org/D44912

llvm-svn: 328588
This commit is contained in:
Julie Hockett 2018-03-26 22:37:31 +00:00
parent 1af50bcf89
commit 9345d982d0
1 changed files with 2 additions and 2 deletions

View File

@ -264,8 +264,8 @@ void ClangDocBitcodeWriter::emitBlockID(BlockId BID) {
Record.push_back(BID);
Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record);
Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME,
ArrayRef<unsigned char>(BlockIdNameMap[BID].bytes_begin(),
BlockIdNameMap[BID].bytes_end()));
ArrayRef<unsigned char>(BlockIdName.bytes_begin(),
BlockIdName.bytes_end()));
}
/// \brief Emits a record name to the BLOCKINFO block.