PRISMS-PF Manual
Loading...
Searching...
No Matches
assert.h File Reference
#include <prismspf/config.h>
#include <libassert/assert.hpp>
Include dependency graph for assert.h:

Go to the source code of this file.

Macros

#define DEBUG_ASSERT   (void);
 
#define ASSERT   (void);
 
#define ASSUME   (void);
 
#define PANIC   (void);
 
#define UNREACHABLE(void)
 

Macro Definition Documentation

◆ ASSERT

#define ASSERT   (void);

◆ ASSUME

#define ASSUME   (void);

◆ DEBUG_ASSERT

#define DEBUG_ASSERT   (void);

There's one reason for this file. The libassert/assert.hpp header may not show up in LSPs without having built the project. This is due to how ExternalProject works and I don't see a good reason around it. LSPs should still be able to autocomplete and include the prismspf/utilities/assert.h header.

We include header macro guards for the LSP too

◆ PANIC

#define PANIC   (void);

◆ UNREACHABLE

#define UNREACHABLE ( void)
Value:
;