llvm/llvm/unittests/TextAPI/TextStubHelpers.h

//===-- TextStubHelpers.cpp -------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===-----------------------------------------------------------------------===/

#include "llvm/Support/MemoryBuffer.h"
#include "llvm/TextAPI/InterfaceFile.h"
#include <algorithm>
#include <string>

#ifndef TEXT_STUB_HELPERS_H
#define TEXT_STUB_HELPERS_H

namespace llvm {
struct ExportedSymbol {};

ExportedSymbolSeq;
TargetToAttr;
TBDFile;
TBDReexportFile;

inline bool operator<(const ExportedSymbol &LHS, const ExportedSymbol &RHS) {}

inline bool operator==(const ExportedSymbol &LHS, const ExportedSymbol &RHS) {}

inline std::string stripWhitespace(std::string S) {}

// This will transform a single InterfaceFile then compare against the other
// InterfaceFile then transform the second InterfaceFile in the same way to
// regain equality.
inline bool
checkEqualityOnTransform(MachO::InterfaceFile &FileA,
                         MachO::InterfaceFile &FileB,
                         void (*Transform)(MachO::InterfaceFile *)) {}

} // namespace llvm
#endif