diff options
| author | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-13 16:20:38 +0000 |
|---|---|---|
| committer | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-13 16:20:38 +0000 |
| commit | 13c70b6d4bc0103ee0eca170d44bdb183328a5b5 (patch) | |
| tree | 7cf82b2fcb802d76e3e5acfc83709e7b8299166c /lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp | |
| parent | 445a939db82713007c9b532144a405f05a587c52 (diff) | |
| download | bcm5719-llvm-13c70b6d4bc0103ee0eca170d44bdb183328a5b5.tar.gz bcm5719-llvm-13c70b6d4bc0103ee0eca170d44bdb183328a5b5.zip | |
Replace OwningPtr with std::unique_ptr.
This results in some simplifications to the code where an OwningPtr had to
be used with the previous api and then ownership moved to a unique_ptr for
the rest of lld.
llvm-svn: 203809
Diffstat (limited to 'lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp index 0a01d41aa95..fe3cffdafe4 100644 --- a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp +++ b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp @@ -20,7 +20,6 @@ #include "lld/Core/Reference.h" #include "llvm/ADT/ArrayRef.h" -#include "llvm/ADT/OwningPtr.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/Debug.h" @@ -31,6 +30,7 @@ #include "llvm/Support/raw_ostream.h" #include "llvm/Support/system_error.h" +#include <memory> #include <string> using llvm::yaml::MappingTraits; |

