diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2024-04-04 09:56:15 +0200 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2024-04-04 10:01:13 +0200 |
commit | 550e09db1ad6e8f28546fa0c24b5582e57e210c4 (patch) | |
tree | 131270c2a0f5dd93e39a74f4531f66d96fe59b43 | |
parent | 35886dc63a2d024e20c10d2e1cb3f5fa5d9f72cc (diff) | |
download | llvm-550e09db1ad6e8f28546fa0c24b5582e57e210c4.zip llvm-550e09db1ad6e8f28546fa0c24b5582e57e210c4.tar.gz llvm-550e09db1ad6e8f28546fa0c24b5582e57e210c4.tar.bz2 |
[clangd][NFC] Delete dead code
-rw-r--r-- | clang-tools-extra/clangd/IncludeCleaner.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/clang-tools-extra/clangd/IncludeCleaner.h b/clang-tools-extra/clangd/IncludeCleaner.h index 387763d..624e211 100644 --- a/clang-tools-extra/clangd/IncludeCleaner.h +++ b/clang-tools-extra/clangd/IncludeCleaner.h @@ -62,15 +62,6 @@ issueIncludeCleanerDiagnostics(ParsedAST &AST, llvm::StringRef Code, const ThreadsafeFS &TFS, HeaderFilter IgnoreHeader = {}); -/// Affects whether standard library includes should be considered for -/// removal. This is off by default for now due to implementation limitations: -/// - macros are not tracked -/// - symbol names without a unique associated header are not tracked -/// - references to std-namespaced C types are not properly tracked: -/// instead of std::size_t -> <cstddef> we see ::size_t -> <stddef.h> -/// FIXME: remove this hack once the implementation is good enough. -void setIncludeCleanerAnalyzesStdlib(bool B); - /// Converts the clangd include representation to include-cleaner /// include representation. include_cleaner::Includes convertIncludes(const ParsedAST &); |