summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
diff options
context:
space:
mode:
authorAhmed Charles <ahmedcharles@gmail.com>2014-03-09 09:24:40 +0000
committerAhmed Charles <ahmedcharles@gmail.com>2014-03-09 09:24:40 +0000
commit6a2dc5c3814916c57f23cbd0ca5375365a6f96c1 (patch)
tree385a19977c33443e7a1571834a41c02a93b03534 /clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
parentb5669026872bf648cad824fbe6820a7dfeebc9e5 (diff)
downloadbcm5719-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.cpp2
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.
OpenPOWER on IntegriCloud