mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
C++: use noexcept and constexpr
There are probably more opportunities for them. So far, I observed no performance improvements. * data/c++.m4, data/lalr1.cc, data/stack.hh: here.
This commit is contained in:
@@ -316,6 +316,7 @@ AT_CHECK([[$PERL -n -0777 -e '
|
||||
|YYPUSH_MORE(?:_DEFINED)?
|
||||
|YYUSE
|
||||
|YY_ATTRIBUTE(?:_PURE|_UNUSED)?
|
||||
|YY_CONSTEXPR
|
||||
|YY_COPY
|
||||
|YY_CPLUSPLUS
|
||||
|YY_IGNORE_MAYBE_UNINITIALIZED_(?:BEGIN|END)
|
||||
@@ -323,6 +324,7 @@ AT_CHECK([[$PERL -n -0777 -e '
|
||||
|YY_MOVE
|
||||
|YY_MOVE_OR_COPY
|
||||
|YY_MOVE_REF
|
||||
|YY_NOEXCEPT
|
||||
|YY_NULLPTR
|
||||
|YY_RVREF
|
||||
|YY_\w+_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user