diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2018-11-12 18:35:21 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2018-12-01 12:54:42 +0100 |
commit | 6ef788f8107c15c2fdc1158b2362de258af9f706 (patch) | |
tree | 09a54d174d879f8f65a8c0c21b2564a34911f4e2 /tests | |
parent | cc422ce677f7b4b639f17e7b1f9fef44c549d7fa (diff) | |
download | bison-6ef788f8107c15c2fdc1158b2362de258af9f706.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/headers.at | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/headers.at b/tests/headers.at index 39285ed9..50fab0cc 100644 --- a/tests/headers.at +++ b/tests/headers.at @@ -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 |