Path: blob/main/contrib/llvm-project/clang/lib/InstallAPI/DiagnosticBuilderWrappers.h
35233 views
//===- DiagnosticBuilderWrappers.h -----------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8/// Diagnostic wrappers for TextAPI types for error reporting.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H13#define LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H1415#include "clang/Basic/Diagnostic.h"16#include "llvm/TextAPI/Architecture.h"17#include "llvm/TextAPI/ArchitectureSet.h"18#include "llvm/TextAPI/InterfaceFile.h"19#include "llvm/TextAPI/Platform.h"2021namespace llvm {22namespace MachO {2324const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,25const PlatformType &Platform);2627const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,28const PlatformVersionSet &Platforms);2930const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,31const Architecture &Arch);3233const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,34const ArchitectureSet &ArchSet);3536const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,37const FileType &Type);3839const clang::DiagnosticBuilder &operator<<(const clang::DiagnosticBuilder &DB,40const PackedVersion &Version);4142const clang::DiagnosticBuilder &43operator<<(const clang::DiagnosticBuilder &DB,44const StringMapEntry<ArchitectureSet> &LibAttr);4546} // namespace MachO47} // namespace llvm48#endif // LLVM_CLANG_INSTALLAPI_DIAGNOSTICBUILDER_WRAPPER_H495051