[lld] r202679 - [C++11] Add #include's for OwningPtr.
Ahmed Charles
ahmedcharles at gmail.com
Sun Mar 2 23:20:05 PST 2014
Author: ace2001ac
Date: Mon Mar 3 01:20:05 2014
New Revision: 202679
URL: http://llvm.org/viewvc/llvm-project?rev=202679&view=rev
Log:
[C++11] Add #include's for OwningPtr.
Allows removing #include's in LLVM while switching to std::unique_ptr.
Modified:
lld/trunk/include/lld/Driver/CoreInputGraph.h
lld/trunk/lib/Core/InputGraph.cpp
lld/trunk/lib/Driver/WinLinkDriver.cpp
lld/trunk/lib/Passes/RoundTripNativePass.cpp
lld/trunk/lib/Passes/RoundTripYAMLPass.cpp
lld/trunk/lib/ReaderWriter/FileArchive.cpp
Modified: lld/trunk/include/lld/Driver/CoreInputGraph.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Driver/CoreInputGraph.h?rev=202679&r1=202678&r2=202679&view=diff
==============================================================================
--- lld/trunk/include/lld/Driver/CoreInputGraph.h (original)
+++ lld/trunk/include/lld/Driver/CoreInputGraph.h Mon Mar 3 01:20:05 2014
@@ -20,6 +20,7 @@
#include "lld/Core/InputGraph.h"
#include "lld/ReaderWriter/Reader.h"
#include "lld/ReaderWriter/CoreLinkingContext.h"
+#include "llvm/ADT/OwningPtr.h"
#include <map>
Modified: lld/trunk/lib/Core/InputGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/InputGraph.cpp?rev=202679&r1=202678&r2=202679&view=diff
==============================================================================
--- lld/trunk/lib/Core/InputGraph.cpp (original)
+++ lld/trunk/lib/Core/InputGraph.cpp Mon Mar 3 01:20:05 2014
@@ -10,6 +10,7 @@
#include "lld/Core/InputGraph.h"
#include "lld/Core/Resolver.h"
+#include "llvm/ADT/OwningPtr.h"
using namespace lld;
Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=202679&r1=202678&r2=202679&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Mon Mar 3 01:20:05 2014
@@ -25,6 +25,7 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/Optional.h"
+#include "llvm/ADT/OwningPtr.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Option/Arg.h"
Modified: lld/trunk/lib/Passes/RoundTripNativePass.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Passes/RoundTripNativePass.cpp?rev=202679&r1=202678&r2=202679&view=diff
==============================================================================
--- lld/trunk/lib/Passes/RoundTripNativePass.cpp (original)
+++ lld/trunk/lib/Passes/RoundTripNativePass.cpp Mon Mar 3 01:20:05 2014
@@ -14,6 +14,7 @@
#include "lld/ReaderWriter/Simple.h"
#include "lld/ReaderWriter/Writer.h"
+#include "llvm/ADT/OwningPtr.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Path.h"
Modified: lld/trunk/lib/Passes/RoundTripYAMLPass.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Passes/RoundTripYAMLPass.cpp?rev=202679&r1=202678&r2=202679&view=diff
==============================================================================
--- lld/trunk/lib/Passes/RoundTripYAMLPass.cpp (original)
+++ lld/trunk/lib/Passes/RoundTripYAMLPass.cpp Mon Mar 3 01:20:05 2014
@@ -13,6 +13,7 @@
#include "lld/ReaderWriter/Simple.h"
#include "lld/ReaderWriter/Writer.h"
+#include "llvm/ADT/OwningPtr.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Path.h"
Modified: lld/trunk/lib/ReaderWriter/FileArchive.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/FileArchive.cpp?rev=202679&r1=202678&r2=202679&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/FileArchive.cpp (original)
+++ lld/trunk/lib/ReaderWriter/FileArchive.cpp Mon Mar 3 01:20:05 2014
@@ -11,6 +11,7 @@
#include "lld/Core/LLVM.h"
#include "llvm/ADT/Hashing.h"
+#include "llvm/ADT/OwningPtr.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Object/Archive.h"
#include "llvm/Object/ObjectFile.h"
More information about the llvm-commits
mailing list