diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-09-02 18:13:54 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-09-02 18:13:54 +0000 |
commit | 15913f46b2ecdbe0dc20dad09f5c07a6c9f21ac7 (patch) | |
tree | a24e6f6b233a8e50d3e54c767d232fcb821293c7 /llvm/lib/Transforms | |
parent | e565d049abc6923b40db4fe7245bfa6dc15308d3 (diff) | |
download | bcm5719-llvm-15913f46b2ecdbe0dc20dad09f5c07a6c9f21ac7.tar.gz bcm5719-llvm-15913f46b2ecdbe0dc20dad09f5c07a6c9f21ac7.zip |
unique_ptrify the result of SpecialCaseList::create
llvm-svn: 216925
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp index 6c838d1339e..f79b2039528 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. |