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
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D90888: Fr... Duncan P. N. Exon Smith via Phabricator via cfe-commits
    • [PATCH] D9088... Duncan P. N. Exon Smith via Phabricator via cfe-commits
    • [PATCH] D9088... Duncan P. N. Exon Smith via Phabricator via cfe-commits

Reply via email to