clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic Class Reference

Helper to (de)serialize a Diagnostic since we don't have direct access to its data members. More...

#include "clang/Tooling/DiagnosticsYaml.h"

Collaboration diagram for llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic:
Collaboration graph
[legend]

Public Member Functions

 NormalizedDiagnostic (const IO &)
 
 NormalizedDiagnostic (const IO &, const clang::tooling::Diagnostic &D)
 
clang::tooling::Diagnostic denormalize (const IO &)
 

Public Attributes

std::string DiagnosticName
 
clang::tooling::DiagnosticMessage Message
 
llvm::StringMap< clang::tooling::ReplacementsFix
 
SmallVector< clang::tooling::DiagnosticMessage, 1 > Notes
 
clang::tooling::Diagnostic::Level DiagLevel
 
std::string BuildDirectory
 

Detailed Description

template<>
class llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic

Helper to (de)serialize a Diagnostic since we don't have direct access to its data members.

Definition at line 32 of file DiagnosticsYaml.h.

Constructor & Destructor Documentation

◆ NormalizedDiagnostic() [1/2]

llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::NormalizedDiagnostic ( const IO &  )
inline

Definition at line 34 of file DiagnosticsYaml.h.

◆ NormalizedDiagnostic() [2/2]

llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::NormalizedDiagnostic ( const IO &  ,
const clang::tooling::Diagnostic D 
)
inline

Definition at line 37 of file DiagnosticsYaml.h.

Member Function Documentation

◆ denormalize()

clang::tooling::Diagnostic llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::denormalize ( const IO &  )
inline

Definition at line 42 of file DiagnosticsYaml.h.

Member Data Documentation

◆ BuildDirectory

std::string llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::BuildDirectory

Definition at line 52 of file DiagnosticsYaml.h.

◆ DiagLevel

clang::tooling::Diagnostic::Level llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::DiagLevel

Definition at line 51 of file DiagnosticsYaml.h.

◆ DiagnosticName

std::string llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::DiagnosticName

Definition at line 47 of file DiagnosticsYaml.h.

◆ Fix

llvm::StringMap<clang::tooling::Replacements> llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::Fix

Definition at line 49 of file DiagnosticsYaml.h.

◆ Message

clang::tooling::DiagnosticMessage llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::Message

Definition at line 48 of file DiagnosticsYaml.h.

◆ Notes

SmallVector<clang::tooling::DiagnosticMessage, 1> llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::NormalizedDiagnostic::Notes

Definition at line 50 of file DiagnosticsYaml.h.


The documentation for this class was generated from the following file: