QDoc: Cover \concept extraction and rendering with a fixture


The cpp20_concepts validation fixture has so far exercised requires-clause
stringification on dummy traits, not real C++20 concepts. Without a real
concept declaration in the fixture, the new \concept topic command, the
Clang AST extraction across all three constraint forms, and the
reverse-indexed Used by section have no end-to-end test — each lands as
a green isolated change but their composition is unverified.

The fixture now includes a real Integral concept, an authored \concept
block that produces its reference page, and three documented items
constrained on Integral through the three constraint forms QDoc supports:
a class template using the direct concept-on-template-parameter syntax,
a function template using a template-head requires clause, and a function
taking an Integral auto parameter. The regenerated expected output
confirms the concept page renders with all three under Used by in the
legacy HTML format, and that constrained items' signatures carry their
constraints through to the proxy page that hosts module-related free
functions.

The DocBook and WebXML expected files record the generators' current
concept-page behavior as a baseline; this change does not add new DocBook
or WebXML concept support.

Task-number: QTBUG-145046
Pick-to: 6.12
Change-Id: I4ab99e8b0c38c793a836dfc3423a1493b896dd14
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit9d22844754d6aa9cc356fe35ace99a14db2987b2
parent353743bee86ab44ba481293b023a4e8ff9d9358d
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeFri, 5 Jun 2026 06:03:35 +0000