HomePhabricator

[clang][doxygen] Fix false -Wdocumentation warning for tag typedefs
d8f5a008d213Unpublished

Authored by jkorous on Feb 17 2020, 2:55 PM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[clang][doxygen] Fix false -Wdocumentation warning for tag typedefs

For tag typedefs like this one:

/*!
@class Foo
*/
typedef class { } Foo;

clang -Wdocumentation gives:

warning: '@class' command should not be used in a comment attached to a
non-struct declaration [-Wdocumentation]

... while doxygen seems fine with it.

Differential Revision: https://reviews.llvm.org/D74746

Details

Committed
jkorousFeb 20 2020, 4:21 PM
Differential Revision
D74746: [clang][doxygen] Fix -Wdocumentation warning for tag typedefs
Parents
rG05c7dfe260a7: Merge pull request #806 from vedantk/cherry
Branches
Unknown
Tags
Unknown