WPILibC++
2027.0.0-alpha-4
Loading...
Searching...
No Matches
unreachable.hpp
Go to the documentation of this file.
1
// Copyright (c) Sleipnir contributors
2
3
#pragma once
4
5
namespace
slp
{
6
7
[[noreturn]]
8
inline
void
unreachable
() {
9
#if defined(_MSC_VER) && !defined(__clang__)
10
__assume(
false
);
11
#else
12
__builtin_unreachable();
13
#endif
14
}
15
16
}
// namespace slp
slp
Definition
expression_graph.hpp:11
slp::unreachable
void unreachable()
Definition
unreachable.hpp:8
thirdparty
sleipnir
include
sleipnir
util
unreachable.hpp
Generated on
for WPILibC++ by
1.15.0