You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -87,13 +87,13 @@ As a result of the `__assume(0)` statement, the compiler does not generate code
87
87
88
88
Because the compiler generates code based on `__assume`, that code might not run correctly if the expression inside the `__assume` statement is false at run time. If you are not sure that the expression will always be true at run time, you can use the `assert` function to protect the code.
Unfortunately, this use of `assert` prevents the compiler from performing the default-case optimization that was described earlier in this document. As an alternative, you can use a separate macro, as follows.
95
95
96
-
```
96
+
```C
97
97
#ifdef DEBUG
98
98
# define NODEFAULT ASSERT(0)
99
99
#else
@@ -108,5 +108,5 @@ Unfortunately, this use of `assert` prevents the compiler from performing the de
0 commit comments