Allow `memory` suffix for internal elementary type parsing.

This commit is contained in:
chriseth
2018-04-05 16:06:04 +02:00
committed by Alex Beregszaszi
parent 95b0589f77
commit 5b1c0506fa
4 changed files with 16 additions and 3 deletions
+1
View File
@@ -150,6 +150,7 @@ public:
/// @name Factory functions
/// Factory functions that convert an AST @ref TypeName to a Type.
static TypePointer fromElementaryTypeName(ElementaryTypeNameToken const& _type);
/// Converts a given elementary type name with optional suffix " memory" to a type pointer.
static TypePointer fromElementaryTypeName(std::string const& _name);
/// @}