From 6ef788f8107c15c2fdc1158b2362de258af9f706 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 12 Nov 2018 18:35:21 +0100 Subject: 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. --- tests/headers.at | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/headers.at') 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 -- cgit v1.2.1