Skip to content

Spurious warnings for methods in Objective-C categories #10101

Closed
@jlstrecker

Description

@jlstrecker

Describe the bug
Doxygen emits warnings ("A define (method) cannot be made a member of class") for methods in Objective-C categories.

Expected behavior
A warning should not be reported here, since the code and documentation are valid.

To Reproduce
Unzip objc_method_test.zip and run doxygen.

objc_method_test/bad.h:0: warning: A define (doStuff) cannot be made a member of TestClass

Version
Doxygen 1.9.7, macOS, Homebrew

The bug did not happen in Doxygen 1.9.6 or earlier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions