]> granicus.if.org Git - clang/commit
Add hasTrailingReturn AST matcher
authorJulie Hockett <juliehockett@google.com>
Mon, 22 Jan 2018 22:45:23 +0000 (22:45 +0000)
committerJulie Hockett <juliehockett@google.com>
Mon, 22 Jan 2018 22:45:23 +0000 (22:45 +0000)
commit00c472cb9e3831ea5afaaa3786f41404dc5303f4
tree39718155a2ab6698f67a1b8732a96c5beea797c2
parent36e16a4009ab39f0dfd50a02fb602ea8107b225d
Add hasTrailingReturn AST matcher

Adds AST matcher for a FunctionDecl that has a trailing return type.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323158 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LibASTMatchersReference.html
include/clang/ASTMatchers/ASTMatchers.h
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp