[PATCH] D66298: [clang-doc] Fix records in global namespace
Diego Astiazarán via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 15 08:22:02 PDT 2019
DiegoAstiazaran created this revision.
DiegoAstiazaran added reviewers: juliehockett, jakehehrlich.
DiegoAstiazaran added a project: clang-tools-extra.
When a Record is declared in the global namespace, clang-doc serializes it as a child of the global namespace, so the global namespace is now one if its parent namespaces. This namespace was not being included in the list of namespaces of the Info causing paths to be incorrect and the index rendered incorrectly.
Affected tests have been fixed.
https://reviews.llvm.org/D66298
Files:
clang-tools-extra/clang-doc/Serialize.cpp
clang-tools-extra/test/clang-doc/single-file-public.cpp
clang-tools-extra/unittests/clang-doc/SerializeTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66298.215406.patch
Type: text/x-patch
Size: 11540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190815/3680e431/attachment.bin>
More information about the cfe-commits
mailing list