]> granicus.if.org Git - clang/commitdiff
[C++11] Add #include's for OwningPtr.
authorAhmed Charles <ahmedcharles@gmail.com>
Mon, 3 Mar 2014 07:11:21 +0000 (07:11 +0000)
committerAhmed Charles <ahmedcharles@gmail.com>
Mon, 3 Mar 2014 07:11:21 +0000 (07:11 +0000)
Allows removing #include's in LLVM while switching to std::unique_ptr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202677 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/VTableBuilder.h
include/clang/ASTMatchers/Dynamic/VariantValue.h
lib/CodeGen/BackendUtil.cpp

index b1acad3200b2e517e630e7795b1a405df97ac6d0..c51b884b83c6b351e05fc41a93631a096038c832 100644 (file)
@@ -20,6 +20,7 @@
 #include "clang/AST/RecordLayout.h"
 #include "clang/Basic/ABI.h"
 #include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/SetVector.h"
 #include <utility>
 
index b0aab363ce78ff15ce5e69618f6e45480c171b74..2c80ff6b3e11256a2704dad77f898be5bd7199e3 100644 (file)
@@ -21,6 +21,7 @@
 #include "clang/ASTMatchers/ASTMatchersInternal.h"
 #include "llvm/ADT/IntrusiveRefCntPtr.h"
 #include "llvm/ADT/Optional.h"
+#include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/Twine.h"
 #include "llvm/Support/type_traits.h"
 #include <vector>
index 6b819aa9b42f6906ee39eba2efb80fbad6a69e22..809333aaa15d692856f2e61b727a2ddcb9e69f24 100644 (file)
@@ -14,6 +14,7 @@
 #include "clang/Frontend/CodeGenOptions.h"
 #include "clang/Frontend/FrontendDiagnostic.h"
 #include "clang/Frontend/Utils.h"
+#include "llvm/ADT/OwningPtr.h"
 #include "llvm/Bitcode/BitcodeWriterPass.h"
 #include "llvm/CodeGen/RegAllocRegistry.h"
 #include "llvm/CodeGen/SchedulerRegistry.h"