Adds support for default arguments in the internal representation and reads these values from the source. Implements writing these values to YAML but does not implement this for the HTML or markdown outputs.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks for the patch. This is mostly LGTM modulo a few nits.
My one question is regarding documentation. Do you think this needs to be described in the clang-tools-extra/doc/clang-doc.rst? And are there any changes in workflow or tool usage that we should document? I assume not, since this just changes the YAML format. Is that correct?
clang-tools-extra/clang-doc/Serialize.cpp | ||
---|---|---|
300 | nit: can we avoid introducing unrelated formatting changes, here and elsewhere in the patch? | |
324–329 | can we combine these conditions somehow, given that they do the same thing? Maybe this? WDYT? if(!FieldInfo) FieldInfo = &I.Params.emplace_back(P->getOriginalType().getAsString(), ... | |
452 | nit: same here | |
460 | nit: ditto |
nit: can we avoid introducing unrelated formatting changes, here and elsewhere in the patch?