//===-- APINotesWriter.h - API Notes Writer ---------------------*- 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 // //===----------------------------------------------------------------------===// // // This file defines the \c APINotesWriter class that writes out source // API notes data providing additional information about source code as // a separate input, such as the non-nil/nilable annotations for // method parameters. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_APINOTES_WRITER_H #define LLVM_CLANG_APINOTES_WRITER_H #include "clang/APINotes/Types.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/VersionTuple.h" #include "llvm/Support/raw_ostream.h" #include <memory> namespace clang { class FileEntry; namespace api_notes { /// A class that writes API notes data to a binary representation that can be /// read by the \c APINotesReader. class APINotesWriter { … }; } // namespace api_notes } // namespace clang #endif // LLVM_CLANG_APINOTES_WRITER_H