llvm-project/clang-tools-extra/clang-tidy/llvmlibc
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 [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
CalleeNamespaceCheck.cpp [clang-tidy] getOutermostNamespace - remove redundant nullptr check 2022-02-12 10:49:54 +00:00
CalleeNamespaceCheck.h [clang-tidy] Add check callee-namespace. 2020-04-28 17:22:23 -07:00
ImplementationInNamespaceCheck.cpp Remove redundant return and continue statements (NFC) 2021-12-24 23:17:54 -08:00
ImplementationInNamespaceCheck.h [clang-tidy] Add check llvmlibc-implementation-in-namespace. 2020-04-06 10:49:49 -07:00
LLVMLibcTidyModule.cpp [clang-tidy] Add check callee-namespace. 2020-04-28 17:22:23 -07:00
RestrictSystemLibcHeadersCheck.cpp [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() 2022-04-14 10:46:12 +02:00
RestrictSystemLibcHeadersCheck.h