//===- ExtractAPI/APIIgnoresList.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 // //===----------------------------------------------------------------------===// /// /// \file This file defines APIIgnoresList which is a type that allows querying /// files containing symbols to ignore when extracting API information. /// //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_API_IGNORES_LIST_H #define LLVM_CLANG_API_IGNORES_LIST_H #include "clang/Basic/FileManager.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Error.h" #include "llvm/Support/raw_ostream.h" #include <memory> #include <system_error> namespace llvm { class MemoryBuffer; } // namespace llvm namespace clang { namespace extractapi { struct IgnoresFileNotFound : public llvm::ErrorInfo<IgnoresFileNotFound> { … }; /// A type that provides access to a new line separated list of symbol names to /// ignore when extracting API information. struct APIIgnoresList { … }; } // namespace extractapi } // namespace clang #endif // LLVM_CLANG_API_IGNORES_LIST_H