================ @@ -70,6 +70,11 @@ class FileEntryRef { const FileEntry &getFileEntry() const { return *getBaseMapEntry().second->V.get<FileEntry *>(); } +#ifdef __MVS__ ---------------- abhina-sree wrote:
There are a lot of uses of the const function so we would hit a lot of errors if we got rid of this. I'm not sure if there is a way to reduce the conditional directives. Other platforms will see errors about unused functions if the conditional directives were removed https://github.com/llvm/llvm-project/pull/98652 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits