diff options
Diffstat (limited to 'clang/unittests/StaticAnalyzer/StoreTest.cpp')
-rw-r--r-- | clang/unittests/StaticAnalyzer/StoreTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/StaticAnalyzer/StoreTest.cpp b/clang/unittests/StaticAnalyzer/StoreTest.cpp index 0cbe7d47938..c8b930bf324 100644 --- a/clang/unittests/StaticAnalyzer/StoreTest.cpp +++ b/clang/unittests/StaticAnalyzer/StoreTest.cpp @@ -96,8 +96,8 @@ public: }; TEST(Store, VariableBind) { - EXPECT_TRUE(tooling::runToolOnCode( - new VariableBindAction, "void foo() { int x0, y0, z0, x1, y1; }")); + EXPECT_TRUE(tooling::runToolOnCode(std::make_unique<VariableBindAction>(), + "void foo() { int x0, y0, z0, x1, y1; }")); } } // namespace |