15#ifndef LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_SOURCETRANSFORMATION_SARIFTRANSFORMATIONREPORTFORMAT_H
16#define LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_SOURCETRANSFORMATION_SARIFTRANSFORMATIONREPORTFORMAT_H
20#include "llvm/ADT/StringRef.h"
21#include "llvm/Support/Error.h"
46 llvm::StringRef Path);
Defines clang::SarifDocumentWriter, clang::SarifRule, clang::SarifResult.
Defines the clang::SourceLocation class and associated facilities.
Represents a byte-granular source range.
This class handles loading and caching of source files into memory.
llvm::Error writeSARIFTransformationReport(const ReportDocument &Doc, llvm::StringRef Path)
Writes Doc to Path as a SARIF JSON document.
The JSON file list parser is used to communicate input to InstallAPI.
SarifResultLevel
The level of severity associated with a SarifResult.
std::string TransformationName
const clang::SourceManager & SM
std::vector< ReportResult > Results
clang::CharSourceRange Range
clang::SarifResultLevel Level