This revision was automatically updated to reflect the committed changes. Closed by commit rL328588: [clang-doc] Removing -Wunused-variable warning (authored by juliehockett, committed by ). Herald added subscribers: llvm-commits, klimek.
Changed prior to commit: https://reviews.llvm.org/D44912?vs=139858&id=139860#toc Repository: rL LLVM https://reviews.llvm.org/D44912 Files: clang-tools-extra/trunk/clang-doc/BitcodeWriter.cpp Index: clang-tools-extra/trunk/clang-doc/BitcodeWriter.cpp =================================================================== --- clang-tools-extra/trunk/clang-doc/BitcodeWriter.cpp +++ clang-tools-extra/trunk/clang-doc/BitcodeWriter.cpp @@ -264,8 +264,8 @@ 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.
Index: clang-tools-extra/trunk/clang-doc/BitcodeWriter.cpp =================================================================== --- clang-tools-extra/trunk/clang-doc/BitcodeWriter.cpp +++ clang-tools-extra/trunk/clang-doc/BitcodeWriter.cpp @@ -264,8 +264,8 @@ 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.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits