aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-09-02 18:13:54 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-09-02 18:13:54 +0000
commit15913f46b2ecdbe0dc20dad09f5c07a6c9f21ac7 (patch)
treea24e6f6b233a8e50d3e54c767d232fcb821293c7 /llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
parente565d049abc6923b40db4fe7245bfa6dc15308d3 (diff)
downloadllvm-15913f46b2ecdbe0dc20dad09f5c07a6c9f21ac7.zip
llvm-15913f46b2ecdbe0dc20dad09f5c07a6c9f21ac7.tar.gz
llvm-15913f46b2ecdbe0dc20dad09f5c07a6c9f21ac7.tar.bz2
unique_ptrify the result of SpecialCaseList::create
llvm-svn: 216925
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
index 6c838d1..f79b203 100644
--- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
@@ -139,7 +139,7 @@ class DFSanABIList {
std::unique_ptr<SpecialCaseList> SCL;
public:
- DFSanABIList(SpecialCaseList *SCL) : SCL(SCL) {}
+ DFSanABIList(std::unique_ptr<SpecialCaseList> SCL) : SCL(std::move(SCL)) {}
/// Returns whether either this function or its source file are listed in the
/// given category.