HomePhabricator

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

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

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, 11:32 AM
Differential Revision
D74746: [clang][doxygen] Fix -Wdocumentation warning for tag typedefs
Parents
rG967eeb109bed: [AIX] Pack BasicBlockBits
Branches
Unknown
Tags
Unknown