[buddy]
Tag functions with attributes pure, const, or noreturn. * src/bdd.h (__purefn, __constfn, __noreturnfn): Define new macros. * src/bdd.h, src/bddio.c, src/bvec.h, src/imatrix.h: Use them to tag many functions as suggested by -Wsuggest-attribute=pure, -Wsuggest-attribute=const, -Wsuggest-attribute=noreturn.
This commit is contained in:
parent
61d9e721a0
commit
5fdfe28689
5 changed files with 50 additions and 28 deletions
|
|
@ -1,3 +1,13 @@
|
|||
2011-04-04 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Tag functions with attributes pure, const, or noreturn.
|
||||
|
||||
* src/bdd.h (__purefn, __constfn, __noreturnfn): Define
|
||||
new macros.
|
||||
* src/bdd.h, src/bddio.c, src/bvec.h, src/imatrix.h: Use them
|
||||
to tag many functions as suggested by -Wsuggest-attribute=pure,
|
||||
-Wsuggest-attribute=const, -Wsuggest-attribute=noreturn.
|
||||
|
||||
2011-04-04 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Remove more sanity checks when NDEBUG is set.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue