Managing it with IntrusiveRefCntPtr caused the virtual destructor not to be called properly.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D16041
Change vfs::FileSystem to be managed with std::shared_ptr Needs ReviewPublic Authored by resistor on Jan 10 2016, 11:42 PM.
Revision Contents
Diff 44430 include/clang/Basic/FileManager.h
include/clang/Basic/VirtualFileSystem.h
include/clang/Driver/Driver.h
include/clang/Frontend/CompilerInstance.h
include/clang/Frontend/CompilerInvocation.h
include/clang/Tooling/Tooling.h
lib/Basic/FileManager.cpp
lib/Basic/VirtualFileSystem.cpp
lib/Driver/Driver.cpp
lib/Format/Format.cpp
lib/Frontend/ASTUnit.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/FrontendAction.cpp
lib/Index/SimpleFormatContext.h
lib/StaticAnalyzer/Frontend/ModelInjector.cpp
lib/Tooling/Core/Replacement.cpp
lib/Tooling/Tooling.cpp
tools/clang-format/ClangFormat.cpp
unittests/Basic/VirtualFileSystemTest.cpp
unittests/Driver/ToolChainTest.cpp
unittests/Lex/PPCallbacksTest.cpp
unittests/Tooling/RewriterTestContext.h
unittests/Tooling/ToolingTest.cpp
|