llvm-project/clang-tools-extra/clang-tidy/altera
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
..
AlteraTidyModule.cpp new altera ID dependent backward branch check 2021-05-06 17:01:39 -04:00
CMakeLists.txt new altera ID dependent backward branch check 2021-05-06 17:01:39 -04:00
IdDependentBackwardBranchCheck.cpp new altera ID dependent backward branch check 2021-05-06 17:01:39 -04:00
IdDependentBackwardBranchCheck.h new altera ID dependent backward branch check 2021-05-06 17:01:39 -04:00
KernelNameRestrictionCheck.cpp [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() 2022-04-14 10:46:12 +02:00
KernelNameRestrictionCheck.h Add a new altera kernel name restriction check to clang-tidy. 2020-11-09 09:26:50 -05:00
SingleWorkItemBarrierCheck.cpp new altera single work item barrier check 2020-12-18 07:52:20 -05:00
SingleWorkItemBarrierCheck.h new altera single work item barrier check 2020-12-18 07:52:20 -05:00
StructPackAlignCheck.cpp [clang-tidy] Fix crashing altera-struct-pack-align on invalid RecordDecls 2021-11-29 09:56:43 +01:00
StructPackAlignCheck.h
UnrollLoopsCheck.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
UnrollLoopsCheck.h new altera unroll loops check 2021-03-22 13:09:53 -04:00