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 "llvm/TextAPI/Architecture.h" |
18 | #include "llvm/TextAPI/ArchitectureSet.h" |
19 | #include "llvm/TextAPI/InterfaceFile.h" |
20 | #include "llvm/TextAPI/Platform.h" |
21 | |
22 | namespace llvm { |
23 | namespace MachO { |
24 | |
25 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
26 | const PlatformType &Platform); |
27 | |
28 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
29 | const PlatformVersionSet &Platforms); |
30 | |
31 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
32 | const Architecture &Arch); |
33 | |
34 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
35 | const ArchitectureSet &ArchSet); |
36 | |
37 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
38 | const FileType &Type); |
39 | |
40 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
41 | const PackedVersion &Version); |
42 | |
43 | const clang::DiagnosticBuilder & |
44 | operator<<(const clang::DiagnosticBuilder &DB, |
45 | const StringMapEntry<ArchitectureSet> &LibAttr); |
46 | |
47 | } // namespace MachO |
48 | } // namespace llvm |
49 | #endif // LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H |
50 |