From 15913f46b2ecdbe0dc20dad09f5c07a6c9f21ac7 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 2 Sep 2014 18:13:54 +0000 Subject: unique_ptrify the result of SpecialCaseList::create llvm-svn: 216925 --- llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp') 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 SCL; public: - DFSanABIList(SpecialCaseList *SCL) : SCL(SCL) {} + DFSanABIList(std::unique_ptr SCL) : SCL(std::move(SCL)) {} /// Returns whether either this function or its source file are listed in the /// given category. -- cgit v1.1