Polly 20.0.0git
Macros | Functions
isl_test_cpp17.cc File Reference
#include <stdlib.h>
#include <exception>
#include <sstream>
#include <isl/options.h>
#include <isl/cpp.h>
#include "isl_test_cpp17-generic.cc"

Go to the source code of this file.

Macros

#define die(msg)   die_impl(__FILE__, __LINE__, msg)
 

Functions

static void die_impl (const char *file, int line, const char *message)
 
static void check_invalid (const std::function< void(void)> &fn)
 
static void test_user (isl::ctx ctx)
 
int main ()
 

Macro Definition Documentation

◆ die

#define die (   msg)    die_impl(__FILE__, __LINE__, msg)

Definition at line 18 of file isl_test_cpp17.cc.

Function Documentation

◆ check_invalid()

static void check_invalid ( const std::function< void(void)> &  fn)
static

Definition at line 24 of file isl_test_cpp17.cc.

References die, and fn.

Referenced by test_user().

◆ die_impl()

static void die_impl ( const char *  file,
int  line,
const char *  message 
)
static

Definition at line 11 of file isl_test_cpp17.cc.

◆ main()

int main ( )

◆ test_user()

static void test_user ( isl::ctx  ctx)
static

Definition at line 42 of file isl_test_cpp17.cc.

References check_invalid(), die, id, and isl::id::user().

Referenced by ISL_S(), and main().