cppcheck-cfg.rng: Allow return values to be started with '::'.

This commit is contained in:
orbitcowboy 2022-02-03 15:24:30 +01:00
parent 0cec93cab7
commit 76b6203e0d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@
<optional>
<attribute name="type">
<data type="string">
<param name="pattern">([a-zA-Z_][a-zA-Z_0-9:]*[ ])*([a-zA-Z_][a-zA-Z_0-9]*::)*([a-zA-Z_][a-zA-Z_0-9]*([ ]?[*&amp; ])*)+</param>
<param name="pattern">(::)?([a-zA-Z_:][a-zA-Z_0-9:]*[ ])*([a-zA-Z_][a-zA-Z_0-9]*::)*([a-zA-Z_][a-zA-Z_0-9]*([ ]?[*&amp; ])*)+</param>
</data>
</attribute>
</optional>