syedzohaibshah wrote:

@evelez7, moved the flatten logic into extractTextComments and it now takes 
const CommentInfo &I and picks the destination key from I.Name, no bool.

@ilovepi, bool is gone, insertComment is back to the original 3-arg signature, 
DestArray is hoisted as a reference, and existing keys get appended (not 
overwritten). I also checked HTML/MD/YAML, the nesting was JSON-only since MD 
streams text, YAML uses MappingTraits, and HTML/MD-Mustache read the JSON.

Rebased onto the current main. PTAL.

https://github.com/llvm/llvm-project/pull/188739
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to