clang 20.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
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
22namespace llvm {
23namespace MachO {
24
26 const PlatformType &Platform);
27
29 const PlatformVersionSet &Platforms);
30
32 const Architecture &Arch);
33
35 const ArchitectureSet &ArchSet);
36
38 const FileType &Type);
39
41 const PackedVersion &Version);
42
45 const StringMapEntry<ArchitectureSet> &LibAttr);
46
47} // namespace MachO
48} // namespace llvm
49#endif // LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H
MatchType Type
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
A little helper class used to produce diagnostics.
Definition: Diagnostic.h:1271
const DiagnosticBuilder & operator<<(const DiagnosticBuilder &DB, const Architecture &Arch)
Diagnostic wrappers for TextAPI types for error reporting.
Definition: Dominators.h:30