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:
parent
ce1cf5507f
commit
4c94e14f86
3 changed files with 5 additions and 3 deletions
|
|
@ -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.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue