Author: Kirill Bobyrev Date: 2021-10-28T12:13:18+02:00 New Revision: 56a8aee1000149408facdaa1825b043c08cd35ad
URL: https://github.com/llvm/llvm-project/commit/56a8aee1000149408facdaa1825b043c08cd35ad DIFF: https://github.com/llvm/llvm-project/commit/56a8aee1000149408facdaa1825b043c08cd35ad.diff LOG: [clangd] NFC: Match function signature in the header and source file Added: Modified: clang-tools-extra/clangd/IncludeCleaner.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/IncludeCleaner.cpp b/clang-tools-extra/clangd/IncludeCleaner.cpp index b813c3f2c0417..6dfc5256feffd 100644 --- a/clang-tools-extra/clangd/IncludeCleaner.cpp +++ b/clang-tools-extra/clangd/IncludeCleaner.cpp @@ -223,10 +223,10 @@ findReferencedFiles(const llvm::DenseSet<SourceLocation> &Locs, } std::vector<const Inclusion *> -getUnused(const IncludeStructure &Structure, +getUnused(const IncludeStructure &Includes, const llvm::DenseSet<IncludeStructure::HeaderID> &ReferencedFiles) { std::vector<const Inclusion *> Unused; - for (const Inclusion &MFI : Structure.MainFileIncludes) { + for (const Inclusion &MFI : Includes.MainFileIncludes) { // FIXME: Skip includes that are not self-contained. if (!MFI.HeaderID) { elog("File {0} not found.", MFI.Written); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits