[Sema][Comments] Support @param with c++ 'using' keyword
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 24 Aug 2016 21:11:43 +0000 (21:11 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 24 Aug 2016 21:11:43 +0000 (21:11 +0000)
commitb09db225aaadcaa1fad202d416c75b1d60ad6aa8
tree404e67b6a69cf96843d9ffe894006c3d8ff2301b
parent6d03d84fac57c1ff6ce29acfe028b19a3e639ff7
[Sema][Comments] Support @param with c++ 'using' keyword

Give appropriate warnings with -Wdocumentation for @param comments
that refer to function aliases defined with 'using'. Very similar
to typedef's behavior. This does not add support for
TypeAliasTemplateDecl yet.

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

rdar://problem/27300695

llvm-svn: 279662
clang/lib/AST/Comment.cpp
clang/test/Sema/warn-documentation.cpp