clang 19.0.0git
Classes | Namespaces | Functions
APINotesYAMLCompiler.cpp File Reference
#include "clang/APINotes/APINotesYAMLCompiler.h"
#include "clang/APINotes/APINotesWriter.h"
#include "clang/APINotes/Types.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/Specifiers.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/VersionTuple.h"
#include "llvm/Support/YAMLTraits.h"
#include <optional>
#include <vector>

Go to the source code of this file.


struct  llvm::yaml::ScalarEnumerationTraits< APIAvailability >
struct  llvm::yaml::ScalarEnumerationTraits< MethodKind >
struct  llvm::yaml::ScalarEnumerationTraits< NullabilityKind >
struct  llvm::yaml::ScalarEnumerationTraits< RetainCountConventionKind >
struct  llvm::yaml::MappingTraits< Param >
struct  llvm::yaml::ScalarEnumerationTraits< FactoryAsInitKind >
struct  llvm::yaml::MappingTraits< Method >
struct  llvm::yaml::MappingTraits< Property >
struct  llvm::yaml::MappingTraits< Class >
struct  llvm::yaml::MappingTraits< Function >
struct  llvm::yaml::MappingTraits< GlobalVariable >
struct  llvm::yaml::MappingTraits< EnumConstant >
struct  llvm::yaml::ScalarEnumerationTraits< EnumConvenienceAliasKind >
struct  llvm::yaml::ScalarEnumerationTraits< EnumExtensibilityKind >
struct  llvm::yaml::MappingTraits< Tag >
struct  llvm::yaml::ScalarEnumerationTraits< SwiftNewTypeKind >
struct  llvm::yaml::MappingTraits< Typedef >
struct  llvm::yaml::MappingTraits< Namespace >
struct  llvm::yaml::MappingTraits< Versioned >
struct  llvm::yaml::MappingTraits< Module >


namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  llvm::yaml


static void llvm::yaml::mapTopLevelItems (IO &IO, TopLevelItems &TLI)
static bool compile (const Module &M, const FileEntry *SourceFile, llvm::raw_ostream &OS, llvm::SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt)
static void printDiagnostic (const llvm::SMDiagnostic &Diag, void *Context)
 Simple diagnostic handler that prints diagnostics to standard error.

Function Documentation

◆ compile()

static bool compile ( const Module M,
const FileEntry SourceFile,
llvm::raw_ostream &  OS,
llvm::SourceMgr::DiagHandlerTy  DiagHandler,
void *  DiagHandlerCtxt 

Definition at line 1091 of file APINotesYAMLCompiler.cpp.

References clang::C.

◆ printDiagnostic()

static void printDiagnostic ( const llvm::SMDiagnostic &  Diag,
void *  Context 

Simple diagnostic handler that prints diagnostics to standard error.

Definition at line 1100 of file APINotesYAMLCompiler.cpp.

References Diag().