1 //===-- APINotesYAMLCompiler.h - API Notes YAML Format Reader ---*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_CLANG_APINOTES_APINOTESYAMLCOMPILER_H
10 #define LLVM_CLANG_APINOTES_APINOTESYAMLCOMPILER_H
11 
12 #include "llvm/ADT/StringRef.h"
13 #include "llvm/Support/raw_ostream.h"
14 
15 namespace clang {
16 namespace api_notes {
17 /// Parses the APINotes YAML content and writes the representation back to the
18 /// specified stream.  This provides a means of testing the YAML processing of
19 /// the APINotes format.
20 bool parseAndDumpAPINotes(llvm::StringRef YI, llvm::raw_ostream &OS);
21 } // namespace api_notes
22 } // namespace clang
23 
24 #endif
25