parseaut: replace std::map by robin_hood::unordered_flat_map

This improves the parsing performance a bit more.

* spot/parseaut/parsedecl.hh, spot/parseaut/parseaut.yy: Here.
* tests/sanity/style.test: Handle parsedecl.hh as a private header.
This commit is contained in:
Alexandre Duret-Lutz 2021-09-15 16:47:52 +02:00
parent ce1cf5507f
commit 4c94e14f86
3 changed files with 5 additions and 3 deletions

View file

@ -313,7 +313,7 @@ for dir in "$TOP/spot" "$TOP/bin" "$TOP/tests"; do
# (in the latter case they do not have to specify the priv/
# directory, so they will not match this regex).
case $file in
*/priv/*|*/bin/*);;
*/priv/*|*/bin/*|*/parsedecl.hh);;
*)
$GREP '#.*include.*priv/' $tmp &&
diag 'Do not include private headers in public headers.'