Skip to content

Commit 550e09d

Browse files
committed
[clangd][NFC] Delete dead code
1 parent 35886dc commit 550e09d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

clang-tools-extra/clangd/IncludeCleaner.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@ issueIncludeCleanerDiagnostics(ParsedAST &AST, llvm::StringRef Code,
6262
const ThreadsafeFS &TFS,
6363
HeaderFilter IgnoreHeader = {});
6464

65-
/// Affects whether standard library includes should be considered for
66-
/// removal. This is off by default for now due to implementation limitations:
67-
/// - macros are not tracked
68-
/// - symbol names without a unique associated header are not tracked
69-
/// - references to std-namespaced C types are not properly tracked:
70-
/// instead of std::size_t -> <cstddef> we see ::size_t -> <stddef.h>
71-
/// FIXME: remove this hack once the implementation is good enough.
72-
void setIncludeCleanerAnalyzesStdlib(bool B);
73-
7465
/// Converts the clangd include representation to include-cleaner
7566
/// include representation.
7667
include_cleaner::Includes convertIncludes(const ParsedAST &);

0 commit comments

Comments
 (0)