QDoc: Cover namespaced concepts in the C++20 fixture
The concept fixture documents only concepts declared at global scope, so
nothing confirms that a concept living inside a namespace is recorded
and rendered under its fully-qualified name. A namespaced concept
documented alongside a constrained free function also exercises relation
resolution on a declaration shape that once crashed the generator,
guarding against regression.
The fixture gains a namespaced concept together with a free function
constrained by it, extending coverage to the qualified-name case that
synopsis autolinking builds on.
Task-number: QTBUG-145046
Pick-to: 6.12
Change-Id: I985fe568a0aadbfe5c9d67808d409692591d0f56
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
| commit | d474642a178d0e38a232ffb1e29aa0e0daed49ee |
| parent | 9d22844754d6aa9cc356fe35ace99a14db2987b2 |
| author | Paul Wicking <paul.wicking@qt.io> |
| committer | Paul Wicking <paul.wicking@qt.io> |
| commit time | Fri, 5 Jun 2026 06:03:38 +0000 |
- M src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cpp20_concepts/expected/docbook/cpp20concepts-cpp20concepts-proxy.xml
- A src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cpp20_concepts/expected/docbook/traits-sortable.xml
- M src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cpp20_concepts/expected/html/cpp20concepts-cpp20concepts-proxy.html
- M src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cpp20_concepts/expected/html/cpp20concepts.index
- A src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cpp20_concepts/expected/html/traits-sortable.html
- A src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cpp20_concepts/expected/webxml/traits-sortable.webxml
- M src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/cpp20_concepts/src/concepts.h