[PATCH] D151398: [clang] Make `FileEntryRef::getDir()` return the as-requested `DirectoryEntryRef`

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 25 10:17:26 PDT 2023


jansvoboda11 added inline comments.


================
Comment at: clang/include/clang/Basic/FileEntry.h:124
+    /// Directory the file was found in.
     OptionalDirectoryEntryRef Dir;
 
----------------
rmaz wrote:
> If this is always set now, should it be a non optional `DirectoryEntryRef`?
Yes, thank you.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151398/new/

https://reviews.llvm.org/D151398



More information about the cfe-commits mailing list