//===--- IncludeSpeller.cpp------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// #include "clang-include-cleaner/IncludeSpeller.h" #include "clang-include-cleaner/Types.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/Registry.h" #include <memory> #include <string> LLVM_INSTANTIATE_REGISTRY(…) namespace clang::include_cleaner { namespace { // Fallback strategy to default spelling via header search. class DefaultIncludeSpeller : public IncludeSpeller { … }; } // namespace std::string spellHeader(const IncludeSpeller::Input &Input) { … } } // namespace clang::include_cleaner