commit | 254f8116bfb37343c6db8853e70efddfb45239fb | [log] [tgz] |
---|---|---|
author | Jan Svoboda <jan_svoboda@apple.com> | Thu May 25 14:47:57 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue May 30 13:58:42 2023 -0700 |
tree | 348b211697e9a557cce22f6d6a217cd101e2e185 | |
parent | 0541d6c4006ac89975d257da5ec771bb653578b9 [diff] |
[clang][lex] NFCI: Use DirectoryEntryRef in Preprocessor::MainFileDir This patch changes the type of `Preprocessor::MainFileDir` from `const DirectoryEntry *` to `Optional<DirectoryEntryRef>` in order to remove some calls to the deprecated `DirectoryEntry::getName()`. Depends on D127658. Reviewed By: bnbarham Differential Revision: https://reviews.llvm.org/D127660 GitOrigin-RevId: e19f352beee72d8fc30d9a5366eadd2372719fa3