LLVM 19.0.0git
Classes | Namespaces | Functions
SupportHelpers.h File Reference
#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>

Go to the source code of this file.

Classes

struct  llvm::detail::ErrorHolder
 
struct  llvm::detail::ExpectedHolder< T >
 
class  llvm::detail::ValueIsMatcher< InnerMatcher >
 
class  llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T, O >
 
class  llvm::unittest::TempDir
 A RAII object that creates a temporary directory upon initialization and removes it upon destruction. More...
 
class  llvm::unittest::TempLink
 A RAII object that creates a link upon initialization and removes it upon destruction. More...
 
class  llvm::unittest::TempFile
 A RAII object that creates a file upon initialization and removes it upon destruction. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::detail
 These are wrappers over isa* function that allow them to be used in generic algorithms such as llvm:all_of, llvm::none_of, etc.
 
namespace  llvm::unittest
 

Functions

void llvm::detail::PrintTo (const ErrorHolder &Err, std::ostream *Out)
 
template<typename T >
void llvm::detail::PrintTo (const ExpectedHolder< T > &Item, std::ostream *Out)
 
template<class InnerMatcher >
detail::ValueIsMatcher< InnerMatcher > llvm::ValueIs (const InnerMatcher &ValueMatcher)
 Matches an std::optional<T> with a value that conforms to an inner matcher.
 
SmallString< 128 > llvm::unittest::getInputFileDirectory (const char *Argv0)