After recent update of Clang I've started to get lots of warnings in my projects coming from Qt header files, looking like
warning: function 'qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>> >' has internal linkage but is used in an
inline method with external linkage [-Winternal-linkage-in-inline]
In all cases static inline function is used inside inline function. Is there any reason for warning?