| 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 | |
| 23 | namespace llvm { |
| 24 | namespace MachO { |
| 25 | |
| 26 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
| 27 | const PlatformType &Platform); |
| 28 | |
| 29 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
| 30 | const PlatformVersionSet &Platforms); |
| 31 | |
| 32 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
| 33 | const Architecture &Arch); |
| 34 | |
| 35 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
| 36 | const ArchitectureSet &ArchSet); |
| 37 | |
| 38 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
| 39 | const FileType &Type); |
| 40 | |
| 41 | const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB, |
| 42 | const PackedVersion &Version); |
| 43 | |
| 44 | const clang::DiagnosticBuilder & |
| 45 | operator<<(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 |