I was debugging a problem and noticed that it would have been helpful to have the type of each FieldDecl when looking at the output from ClangASTSource::layoutRecordType
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
AFAICT the call to getType end up in ValueDecl:
QualType getType() const { return DeclType; }
and this is just returning a field.
clang-format: please reformat the code