#ifndef LLVM_TESTING_SUPPORT_SUPPORTHELPERS_H
#define LLVM_TESTING_SUPPORT_SUPPORTHELPERS_H
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_os_ostream.h"
#include "gmock/gmock-matchers.h"
#include "gtest/gtest-printers.h"
#include <optional>
#include <string>
namespace llvm {
namespace detail {
struct ErrorHolder { … };
template <typename T> struct ExpectedHolder : public ErrorHolder { … };
inline void PrintTo(const ErrorHolder &Err, std::ostream *Out) { … }
template <typename T>
void PrintTo(const ExpectedHolder<T> &Item, std::ostream *Out) { … }
template <class InnerMatcher> class ValueIsMatcher { … };
}
template <class InnerMatcher>
detail::ValueIsMatcher<InnerMatcher> ValueIs(const InnerMatcher &ValueMatcher) { … }
namespace unittest {
SmallString<128> getInputFileDirectory(const char *Argv0);
class TempDir { … };
class TempLink { … };
class TempFile { … };
}
}
#endif