[Development] qdoc help needed: it isn't seeing a function that is clearly there

Thiago Macieira thiago.macieira at intel.com
Mon Jul 25 21:27:35 CEST 2022


In https://codereview.qt-project.org/c/qt/qtbase/+/422690
Build: 
https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1658767511

/home/qt/work/qt/qtbase/src/corelib/kernel/qmetatype.cpp:3032: (qdoc) warning: 
clang couldn't find function when parsing \fn int qRegisterMetaType(QMetaType 
meta)

The function exists because it's unit-tested and compiled. Why can't qdoc see 
it? It's a hidden friend, but that's valid C++ and clang should see it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering





More information about the Development mailing list