Macros | Typedefs | Variables
InsightsUtility.h File Reference
#include "llvm/ADT/STLExtras.h"
#include <type_traits>
#include <utility>
Include dependency graph for InsightsUtility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RETURN_IF(cond)
 ! A helper inspired by https://github.com/Microsoft/wil/wiki/Error-handling-helpers More...
 
#define RETURN_FALSE_IF(cond)
 

Typedefs

using void_func_ref = llvm::function_ref< void()>
 

Variables

template<typename T , typename... Ts>
concept same_as_any_of = (std::same_as<T, Ts> or ...)
 

Macro Definition Documentation

◆ RETURN_FALSE_IF

#define RETURN_FALSE_IF (   cond)
Value:
if(cond) { \
return false; \
}

Definition at line 24 of file InsightsUtility.h.

◆ RETURN_IF

#define RETURN_IF (   cond)
Value:
if(cond) { \
return; \
}

! A helper inspired by https://github.com/Microsoft/wil/wiki/Error-handling-helpers

Definition at line 18 of file InsightsUtility.h.

Typedef Documentation

◆ void_func_ref

using void_func_ref = llvm::function_ref<void()>

Definition at line 30 of file InsightsUtility.h.

Variable Documentation

◆ same_as_any_of

template<typename T , typename... Ts>
concept same_as_any_of = (std::same_as<T, Ts> or ...)

Definition at line 34 of file InsightsUtility.h.