Clang warns for unused static inline functions defined in a source file, including those defined in a macro in a header, when the macro is expanded in the source file.