//===- InstallAPI/Visitor.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 // //===----------------------------------------------------------------------===// /// /// ASTVisitor Interface for InstallAPI frontend operations. /// //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_INSTALLAPI_VISITOR_H #define LLVM_CLANG_INSTALLAPI_VISITOR_H #include "clang/AST/Mangle.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/Basic/TargetInfo.h" #include "clang/Frontend/FrontendActions.h" #include "clang/InstallAPI/Context.h" #include "llvm/ADT/Twine.h" namespace clang { struct AvailabilityInfo; namespace installapi { /// ASTVisitor for collecting declarations that represent global symbols. class InstallAPIVisitor final : public ASTConsumer, public RecursiveASTVisitor<InstallAPIVisitor> { … }; } // namespace installapi } // namespace clang #endif // LLVM_CLANG_INSTALLAPI_VISITOR_H