llvm-project/clang/unittests/Lex
Jan Svoboda d79ad2f1db [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective()
This patch changes type of the `File` parameter in `PPCallbacks::InclusionDirective()` from `const FileEntry *` to `Optional<FileEntryRef>`.

With the API change in place, this patch then removes some uses of the deprecated `FileEntry::getName()` (e.g. in `DependencyGraph.cpp` and `ModuleDependencyCollector.cpp`).

Reviewed By: dexonsmith, bnbarham

Differential Revision: https://reviews.llvm.org/D123574
2022-04-14 10:46:12 +02:00
..
CMakeLists.txt [Preprocessor] Reduce the memory overhead of `#define` directives (Recommit) 2022-02-14 09:27:44 -08:00
DependencyDirectivesSourceMinimizerTest.cpp [clang][lex][minimizer] Avoid treating path separators as comments 2022-02-15 09:49:19 +01:00
HeaderMapTest.cpp [clang] NFC: split HeaderMapTest to have re-usable header map implementation for testing 2021-05-31 01:57:36 -07:00
HeaderMapTestUtils.h [clang] NFC: split HeaderMapTest to have re-usable header map implementation for testing 2021-05-31 01:57:36 -07:00
HeaderSearchTest.cpp [HeaderSearch] Track framework name in LookupFile 2022-02-04 13:32:39 -05:00
LexerTest.cpp [clang][Lexer] Fix tests after ff77071a4d 2022-02-07 14:06:32 +01:00
PPCallbacksTest.cpp [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() 2022-04-14 10:46:12 +02:00
PPConditionalDirectiveRecordTest.cpp
PPMemoryAllocationsTest.cpp [Preprocessor] Reduce the memory overhead of `#define` directives (Recommit) 2022-02-14 09:27:44 -08:00