is_alternating() -> !is_existential()
Part of #212. * spot/misc/common.hh (SPOT_DEPRECATED): Improve support current compilers and options flags. * spot/twa/twagraph.hh, spot/graph/graph.hh (is_alternating): Mark it as deprecated. (is_existential): New method. * bin/autfilt.cc, bin/ltlcross.cc, spot/parseaut/parseaut.yy, spot/twa/twa.cc, spot/twa/twagraph.cc, spot/twaalgos/alternation.cc, spot/twaalgos/are_isomorphic.cc, spot/twaalgos/canonicalize.cc, spot/twaalgos/couvreurnew.cc, spot/twaalgos/cycles.cc, spot/twaalgos/degen.cc, spot/twaalgos/determinize.cc, spot/twaalgos/dot.cc, spot/twaalgos/dtbasat.cc, spot/twaalgos/dtwasat.cc, spot/twaalgos/hoa.cc, spot/twaalgos/isunamb.cc, spot/twaalgos/isweakscc.cc, spot/twaalgos/mask.hh, spot/twaalgos/minimize.cc, spot/twaalgos/postproc.cc, spot/twaalgos/product.cc, spot/twaalgos/randomize.cc, spot/twaalgos/remfin.cc, spot/twaalgos/sbacc.cc, spot/twaalgos/sccfilter.cc, spot/twaalgos/sccinfo.cc, spot/twaalgos/simulation.cc, spot/twaalgos/strength.cc, tests/core/graph.cc, tests/core/ngraph.cc, tests/python/alternating.py: Adjust all uses. * NEWS: Mention the renaming.
This commit is contained in:
parent
7f7d078f2f
commit
fefb375d5f
36 changed files with 127 additions and 93 deletions
|
|
@ -32,17 +32,21 @@
|
|||
#endif
|
||||
|
||||
#ifdef __has_cpp_attribute
|
||||
# if __has_cpp_attribute(deprecated)
|
||||
# define SPOT_DEPRECATED [[deprecated]]
|
||||
# if __has_cpp_attribute(deprecated) && __cplusplus >= 201402L
|
||||
# define SPOT_DEPRECATED(msg) [[deprecated(msg)]]
|
||||
# elif __has_cpp_attribute(gnu::deprecated)
|
||||
# define SPOT_DEPRECATED(msg) [[gnu::deprecated(msg)]]
|
||||
# elif __has_cpp_attribute(clang::deprecated)
|
||||
# define SPOT_DEPRECATED(msg) [[clang::deprecated(msg)]]
|
||||
# endif
|
||||
#endif
|
||||
#ifndef SPOT_DEPRECATED
|
||||
# ifdef __GNUC__
|
||||
# define SPOT_DEPRECATED __attribute__ ((deprecated))
|
||||
# define SPOT_DEPRECATED(msg) __attribute__ ((deprecated))
|
||||
# elif defined(_MSC_VER)
|
||||
# define SPOT_DEPRECATED __declspec(deprecated)
|
||||
# define SPOT_DEPRECATED(msg) __declspec(deprecated)
|
||||
# else
|
||||
# define SPOT_DEPRECATED
|
||||
# define SPOT_DEPRECATED(msg)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue