mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
Turn off memory leaks in unit test
This commit is contained in:
@@ -75,6 +75,7 @@ export int aa = 43;
|
||||
std::shared_ptr<CompilerInvocation> Invocation =
|
||||
createInvocation(Args, CIOpts);
|
||||
EXPECT_TRUE(Invocation);
|
||||
Invocation->getFrontendOpts().DisableFree = false;
|
||||
|
||||
auto Buf = CIOpts.VFS->getBufferForFile("a.cppm");
|
||||
EXPECT_TRUE(Buf);
|
||||
@@ -113,6 +114,7 @@ export int aa = 43;
|
||||
std::shared_ptr<CompilerInvocation> Invocation =
|
||||
createInvocation(Args, CIOpts);
|
||||
EXPECT_TRUE(Invocation);
|
||||
Invocation->getFrontendOpts().DisableFree = false;
|
||||
|
||||
CompilerInstance Clang;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user