[PATCH] D65907: Introduce FileEntryRef and use it when handling includes to report correct dependencies when the FileManager is reused across invocations
Michael Spencer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 14 16:30:00 PDT 2019
Bigcheese added inline comments.
================
Comment at: clang/include/clang/Basic/FileManager.h:130
+
+ const DirectoryEntry *getDir() const { return Entry.getDir(); }
+
----------------
Isn't this incorrect in the case of symlinks?
================
Comment at: clang/include/clang/Basic/FileManager.h:249-251
+ /// This function is deprecated and will be removed at some point in the
+ /// future, new clients should use
+ /// \c getFileRef.
----------------
`LLVM_DEPRECATED()`? (or w/e the name is of our depreciation attribute macro).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65907/new/
https://reviews.llvm.org/D65907
More information about the cfe-commits
mailing list