This commit breaks down diagnostic string literals so that the attribute
name and enumurator names can be shared with the stringify utility
function and the "expected ", " to be one of ", and ", " can be shared
between different enum-related diagnostic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I feel like I'm missing some context here, can you show some form of before/after? or is this intended to be an NFC cleanup?
Comment Actions
It is NFC, the point is that by splitting the string we get multiple individual char* in the binary that can be better deduped by the linked (an attribute name used in many different diagnostics for example)