clang: lib/APINotes/APINotesYAMLCompiler.cpp File Reference (original) (raw)

Go to the source code of this file.

Classes
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::MappingTraits< Field >
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 >
Namespaces
namespace llvm
Diagnostic wrappers for TextAPI types for error reporting.
namespace llvm::yaml
Functions
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 ) static

printDiagnostic()

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