#ifndef LLVM_CLANG_TOOLING_DIAGNOSTICSYAML_H
#define LLVM_CLANG_TOOLING_DIAGNOSTICSYAML_H
#include "clang/Tooling/Core/Diagnostic.h"
#include "clang/Tooling/ReplacementsYaml.h"
#include "llvm/Support/YAMLTraits.h"
#include <string>
LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic)
LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::DiagnosticMessage)
LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::FileByteRange)
namespace llvm {
namespace yaml {
template <> struct MappingTraits<clang::tooling::FileByteRange> { … };
template <> struct MappingTraits<clang::tooling::DiagnosticMessage> { … };
template <> struct MappingTraits<clang::tooling::Diagnostic> { … };
template <> struct MappingTraits<clang::tooling::TranslationUnitDiagnostics> { … };
template <> struct ScalarEnumerationTraits<clang::tooling::Diagnostic::Level> { … };
}
}
#endif