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