//===--- HeaderIncludes.h - Insert/Delete #includes for C++ code--*- 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_TOOLING_INCLUSIONS_HEADERINCLUDES_H #define LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H #include "clang/Basic/SourceManager.h" #include "clang/Tooling/Core/Replacement.h" #include "clang/Tooling/Inclusions/IncludeStyle.h" #include "llvm/Support/Path.h" #include "llvm/Support/Regex.h" #include <list> #include <optional> #include <unordered_map> namespace clang { namespace tooling { /// This class manages priorities of C++ #include categories and calculates /// priorities for headers. /// FIXME(ioeric): move this class into implementation file when clang-format's /// include sorting functions are also moved here. class IncludeCategoryManager { … }; enum class IncludeDirective { … }; /// Generates replacements for inserting or deleting #include directives in a /// file. class HeaderIncludes { … }; } // namespace tooling } // namespace clang #endif // LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H