//===--- IncludeFixer.h ------------------------------------------*- C++-*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_INCLUDEFIXER_H #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_INCLUDEFIXER_H #include "Diagnostics.h" #include "Headers.h" #include "index/Index.h" #include "index/Symbol.h" #include "clang/AST/Type.h" #include "clang/Basic/Diagnostic.h" #include "clang/Basic/SourceLocation.h" #include "clang/Sema/ExternalSemaSource.h" #include "clang/Tooling/Inclusions/HeaderIncludes.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include <memory> #include <optional> namespace clang { namespace clangd { /// Attempts to recover from error diagnostics by suggesting include insertion /// fixes. For example, member access into incomplete type can be fixes by /// include headers with the definition. class IncludeFixer { … }; } // namespace clangd } // namespace clang #endif // LLVM_CLANG_TOOLS_EXTRA_CLANGD_INCLUDEFIXER_H