repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
tools
/
testing
/
selftests
/
rcutorture
/
formal
/
srcu-cbmc
/
src
/
assume.h
blob
570a49d9da7e2bbd6237bc80d3ee758f02aacb53
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef ASSUME_H
3
#define ASSUME_H
4
5
/* Provide an assumption macro that can be disabled for gcc. */
6
#ifdef RUN
7
#define assume(x) \
8
do { \
9
/* Evaluate x to suppress warnings. */
\
10
(void) (x); \
11
} while (0)
12
13
#else
14
#define assume(x) __CPROVER_assume(x)
15
#endif
16
17
#endif