Polly 22.0.0git
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)

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)
Value:
die_impl(__FILE__, __LINE__, msg)
static void die_impl(const char *file, int line, const char *message)

Definition at line 18 of file isl_test_cpp17.cc.

Referenced by check_invalid(), and test_user().

Function Documentation

◆ check_invalid()

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

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

Definition at line 11 of file isl_test_cpp17.cc.

◆ main()

◆ test_user()

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().