QDoc: Add a generator for the documented Clang versions


The QDoc manual lists the supported Clang versions for each Qt
release. When the supported versions change, the table must be
updated by hand. Provide a CMake script that regenerates the row for
the current Qt release from the QDOC_SUPPORTED_CLANG_VERSIONS
variable, replacing the row in place or inserting it if it does not
exist yet, and a pre-commit hook that runs the generator when
QDocConfiguration.cmake or .cmake.conf is modified and stages the
updated table.

Task-number: QTBUG-148698
Change-Id: I92d73a309264a16d948e6b0135b61f649471f9f1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit4dea866b56cd7f077c36dbad15bc61698baa2427
parent1175adbf51ba48b61dc01a1877d949a7a81604b5
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 28 Sep 2026 13:58:12 +0000