clang 22.0.0git
APINotesYAMLCompiler.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::api_notes

Functions

bool clang::api_notes::parseAndDumpAPINotes (llvm::StringRef YI, llvm::raw_ostream &OS)
 Parses the APINotes YAML content and writes the representation back to the specified stream.
bool clang::api_notes::compileAPINotes (llvm::StringRef YAMLInput, const FileEntry *SourceFile, llvm::raw_ostream &OS, llvm::SourceMgr::DiagHandlerTy DiagHandler=nullptr, void *DiagHandlerCtxt=nullptr)
 Converts API notes from YAML format to binary format.