1//===- DiagnosticBuilderWrappers.h -----------------------------*- 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/// Diagnostic wrappers for TextAPI types for error reporting.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H
14#define LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H
15
16#include "clang/Basic/Diagnostic.h"
17#include "clang/InstallAPI/DylibVerifier.h"
18#include "llvm/TextAPI/Architecture.h"
19#include "llvm/TextAPI/ArchitectureSet.h"
20#include "llvm/TextAPI/InterfaceFile.h"
21#include "llvm/TextAPI/Platform.h"
22
23namespace llvm {
24namespace MachO {
25
26const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,
27 const PlatformType &Platform);
28
29const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,
30 const PlatformVersionSet &Platforms);
31
32const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,
33 const Architecture &Arch);
34
35const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,
36 const ArchitectureSet &ArchSet);
37
38const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,
39 const FileType &Type);
40
41const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,
42 const PackedVersion &Version);
43
44const clang::DiagnosticBuilder &
45operator<<(const clang::DiagnosticBuilder &DB,
46 const clang::installapi::LibAttrs::Entry &LibAttr);
47
48} // namespace MachO
49} // namespace llvm
50#endif // LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H
51

Provided by KDAB

Privacy Policy
Improve your Profiling and Debugging skills
Find out more

source code of clang/lib/InstallAPI/DiagnosticBuilderWrappers.h