[PATCH] D123197: Remove a few effectively-unused FileEntry APIs. NFC

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 11:27:56 PDT 2022


dexonsmith added inline comments.


================
Comment at: clang/include/clang/Basic/FileEntry.h:117
     /// gcc5.3.  Once that's no longer supported, change this back.
-    llvm::PointerUnion<FileEntry *, const void *> V;
+    llvm::PointerUnion<const FileEntry *, const void *> V;
 
----------------
These `const`-ness changes look independent and could land separately / ahead of time as NFC changes, independently of `isValid()` and whatever we end up with for FileEntryTest.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123197



More information about the cfe-commits mailing list