dexonsmith added inline comments.
================
Comment at: clang/lib/Frontend/ASTUnit.cpp:1135-1141
// Ensure that Clang has a FileManager with the right VFS, which may have
// changed above in AddImplicitPreamble. If VFS is nullptr, rely on
// createFileManager to create one.
if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS)
Clang->setFileManager(&*FileMgr);
else
FileMgr = Clang->createFileManager(std::move(VFS));
----------------
Here's where the FileManager was already set up.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90888/new/
https://reviews.llvm.org/D90888
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits