QDoc: Split concept references into discrete spans
A constrained function's synopsis represents its requires
clause as a single opaque text run in the intermediate
representation. Anything that wants to treat a concept
name as a distinct element — to hyperlink it, to style
it, to mark it up — has to re-parse the run from scratch.
That puts an avoidable duplication of work into every
consumer that needs concept-aware rendering.
Splitting the requires clause into a sequence of discrete
elements gives template consumers a structured
representation of the references it contains, removing the
need to re-parse the text. Existing templates keep the
same visible output until they opt into rendering the new
link spans.
Task-number: QTBUG-145046
Pick-to: 6.12
Change-Id: I595c08a586a9927592c8ef9375bc4dd40715598f
Reviewed-by: Topi Reinio <topi.reinio@qt.io>