#include "clang/APINotes/APINotesYAMLCompiler.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/Support/WithColor.h"
static llvm::cl::list<std::string> APINotes(llvm::cl::Positional,
llvm::cl::desc("[<apinotes> ...]"),
llvm::cl::Required);
static llvm::cl::opt<std::string>
OutputFileName("o", llvm::cl::desc("output filename"),
llvm::cl::value_desc("filename"), llvm::cl::init("-"));
int main(int argc, const char **argv) { … }