mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-02 15:41:36 +02:00
CppParser: Support for return values in global ns
If a return value of a virtual member function is specified to be in the global namespace using leading double colons (e.g. virtual ::MyClass*) the parser is now handling the virtual keyword correctly. Prior the function was not declared as virtual and the return value was named as virtual::MyClass* which led to completely missleading results.
This commit is contained in:
parent
507d13ede7
commit
20b201dd7d
@ -133,6 +133,7 @@ inline void Parser::append(std::string& decl, const std::string& token)
|
||||
|| token == "static"
|
||||
|| token == "mutable"
|
||||
|| token == "inline"
|
||||
|| token == "virtual"
|
||||
|| token == "volatile"
|
||||
|| token == "register"
|
||||
|| token == "thread_local")
|
||||
|
Loading…
x
Reference in New Issue
Block a user