xoofx / CppAst.NET

CppAst is a .NET library providing a C/C++ parser for header files powered by Clang/libclang with access to the full AST, comments and macros
BSD 2-Clause "Simplified" License
501 stars 66 forks source link

CppParameter doesn't expose default value #3

Closed EgorBo closed 5 years ago

EgorBo commented 5 years ago

A small feature request:

#define DEFAULTMAXDEPTH 1024
bool allocateCapacity(size_t len, size_t maxdepth = DEFAULTMAXDEPTH);

Currently it's not possible to extract that default value for maxdepth = 1024

xoofx commented 5 years ago

Oh right, actually working on it

xoofx commented 5 years ago

Should be fixed via ba670ef Available shortly in 0.2.0