blob: 533ee991919265ec56f975e29e28af4942813d8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//==- SarifDiagnostics.h - SARIF Diagnostics for Paths -------------*- C++ -*-//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CLANG_LIB_STATICANALYZER_CORE_SARIFDIAGNOSTICS_H
#define LLVM_CLANG_LIB_STATICANALYZER_CORE_SARIFDIAGNOSTICS_H
#include "clang/Lex/Preprocessor.h"
#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
#include <string>
namespace clang::ento {
void createSarifDiagnosticConsumerImpl(PathDiagnosticConsumerOptions DiagOpts,
PathDiagnosticConsumers &C,
const std::string &Output,
const Preprocessor &PP);
} // namespace clang::ento
#endif
|