This is an archive of the discontinued LLVM Phabricator instance.

[Documentation] improved documentation of diagnostic messages by explaining thier syntax and test of clang by telling which subobject is uninitialized
Needs ReviewPublic

Authored by simideveloper on Mar 24 2023, 4:13 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None

Diff Detail

Event Timeline

simideveloper created this revision.Mar 24 2023, 4:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 4:13 AM
simideveloper requested review of this revision.Mar 24 2023, 4:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 4:13 AM

You are combining documentation of the syntax for defining diagnostics, and changes to the content of certain diagnostics. The LLVM project wants to see one topic per patch, so these things need to be done separately.

Also, the documentation probably does not want to live in one of the many .td files that define diagnostics. It wants to go somewhere generic, and I'm not sure what a good place would be.

There is existing documentation of the diagnostics system here, which you could extend if something is still unclear or incomplete:

Oh sorry, I was unaware of the existing documentation.
thank you for your time, sir.