LLVM  14.0.0git
Classes | Namespaces | Functions
SupportHelpers.h File Reference
#include "llvm/ADT/Optional.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 <string>
Include dependency graph for SupportHelpers.h:
This graph shows which files directly or indirectly include this file:

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 >
 
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

 llvm
 This file implements support for optimizing divisions by a constant.
 
 llvm::detail
 
 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 llvm::Optional<T> with a value that conforms to an inner matcher. More...
 
SmallString< 128 > llvm::unittest::getInputFileDirectory (const char *Argv0)