[PATCH] D50926: [SourceManager] Extract 'findFileIDsForFile' from 'translateFile' to allow mapping from one file entry to multiple FileIDs

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 21 16:50:01 PDT 2018


arphaman added inline comments.


================
Comment at: lib/Basic/SourceManager.cpp:1705
 
   // If we haven't found what we want yet, try again, but this time stat()
   // each of the files in case the files have changed since we originally
----------------
ioeric wrote:
> Do we also need this in `findFileIDsForFile`?
I don't really need this for my use case.


Repository:
  rC Clang

https://reviews.llvm.org/D50926





More information about the cfe-commits mailing list