clang 22.0.0git
DiagnosticBuilderWrappers.h
Go to the documentation of this file.
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
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,
47
48} // namespace MachO
49} // namespace llvm
50#endif // LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H
Defines the Diagnostic-related interfaces.
llvm::MachO::ArchitectureSet ArchitectureSet
Definition MachO.h:28
llvm::MachO::PackedVersion PackedVersion
Definition MachO.h:47
llvm::MachO::Architecture Architecture
Definition MachO.h:27
llvm::MachO::FileType FileType
Definition MachO.h:46
llvm::MachO::PlatformType PlatformType
Definition MachO.h:49
std::pair< std::string, ArchitectureSet > Entry
const DiagnosticBuilder & operator<<(const DiagnosticBuilder &DB, const Architecture &Arch)
Diagnostic wrappers for TextAPI types for error reporting.
Definition Dominators.h:30