LibreOffice Module o3tl (master) 1
Macros
unreachable.hxx File Reference
#include <sal/config.h>
#include <cassert>
#include <utility>
Include dependency graph for unreachable.hxx:

Go to the source code of this file.

Macros

#define O3TL_UNREACHABLE_detail   __builtin_unreachable()
 
#define O3TL_UNREACHABLE
 

Macro Definition Documentation

◆ O3TL_UNREACHABLE

#define O3TL_UNREACHABLE
Value:
do \
{ \
assert(false); \
O3TL_UNREACHABLE_detail; \
} while (false)

Definition at line 37 of file unreachable.hxx.

◆ O3TL_UNREACHABLE_detail

#define O3TL_UNREACHABLE_detail   __builtin_unreachable()

Definition at line 34 of file unreachable.hxx.