Support volatile keyword correctly

This commit is contained in:
Dustin Spicuzza
2021-08-16 16:04:20 -04:00
parent a25bb077d7
commit 6435b47744
2 changed files with 24 additions and 1 deletions

View File

@@ -1815,7 +1815,7 @@ class CxxParser:
return dtype
# Applies to variables and return values
_type_kwd_both = {"const", "constexpr", "extern", "inline", "static", "volatile"}
_type_kwd_both = {"const", "constexpr", "extern", "inline", "static"}
# Only found on methods
_type_kwd_meth = {"explicit", "virtual"}