[PATCH] D44912:  [clang-doc] Removing -Wunused-variable warning
    Julie Hockett via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 26 15:42:59 PDT 2018
    
    
  
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44912.139860.patch
Type: text/x-patch
Size: 774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180326/93294715/attachment.bin>
    
    
More information about the llvm-commits
mailing list