diff options
author | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-09 09:24:40 +0000 |
---|---|---|
committer | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-09 09:24:40 +0000 |
commit | 6a2dc5c3814916c57f23cbd0ca5375365a6f96c1 (patch) | |
tree | 385a19977c33443e7a1571834a41c02a93b03534 /clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp | |
parent | b5669026872bf648cad824fbe6820a7dfeebc9e5 (diff) | |
download | bcm5719-llvm-6a2dc5c3814916c57f23cbd0ca5375365a6f96c1.tar.gz bcm5719-llvm-6a2dc5c3814916c57f23cbd0ca5375365a6f96c1.zip |
[C++11] Replace OwningPtr with std::unique_ptr.
This removes all references to OwningPtr, which should be fairly
undisruptive to out-of-tree projects since they are unlikely to use
clang-tools-extra as a library instead of a set of tools.
llvm-svn: 203382
Diffstat (limited to 'clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp')
-rw-r--r-- | clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp b/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp index 94b3d866f92..f01c7492da1 100644 --- a/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp +++ b/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp @@ -105,7 +105,7 @@ private: StringRef Include; VirtualFileHelper VFHelper; tooling::Replacements &Replaces; - OwningPtr<IncludeDirectives> FileIncludes; + std::unique_ptr<IncludeDirectives> FileIncludes; std::string FileToModify; // if non-null, add the include directives in this file instead of the main // file. |