Fix parsing of default value

It is now always unexposed, but works better.
This commit is contained in:
Jonathan Müller 2017-03-30 13:11:21 +02:00
commit 9a0ac36715
12 changed files with 99 additions and 100 deletions

View file

@ -58,6 +58,10 @@ namespace cppast
comment_context comments;
};
// parse default value of variable, function parameter...
std::unique_ptr<cpp_expression> parse_default_value(const parse_context& context,
const CXCursor& cur, const char* name);
std::unique_ptr<cpp_type> parse_type(const parse_context& context, const CXCursor& cur,
const CXType& type);