[lld] r280014 - COFF: disambiguate make_unique (NFC)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 14:33:01 PDT 2016


Author: compnerd
Date: Mon Aug 29 16:33:01 2016
New Revision: 280014

URL: http://llvm.org/viewvc/llvm-project?rev=280014&view=rev
Log:
COFF: disambiguate make_unique (NFC)

This disambiguates `llvm::make_unqiue` and `std::make_unique` for the Windows
buildbots.

Modified:
    lld/trunk/COFF/Writer.cpp

Modified: lld/trunk/COFF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Writer.cpp?rev=280014&r1=280013&r2=280014&view=diff
==============================================================================
--- lld/trunk/COFF/Writer.cpp (original)
+++ lld/trunk/COFF/Writer.cpp Mon Aug 29 16:33:01 2016
@@ -355,11 +355,11 @@ void Writer::createMiscChunks() {
 
   // Create Debug Information Chunks
   if (Config->Debug) {
-    DebugDirectory = make_unique<DebugDirectoryChunk>(DebugRecords);
+    DebugDirectory = llvm::make_unique<DebugDirectoryChunk>(DebugRecords);
 
     // TODO(compnerd) create a coffgrp entry if DebugType::CV is not enabled
     if (Config->DebugTypes & static_cast<unsigned>(coff::DebugType::CV))
-      DebugRecords.push_back(make_unique<CVDebugRecordChunk>());
+      DebugRecords.push_back(llvm::make_unique<CVDebugRecordChunk>());
 
     RData->addChunk(DebugDirectory.get());
     for (const std::unique_ptr<Chunk> &C : DebugRecords)




More information about the llvm-commits mailing list