]> granicus.if.org Git - clang/commit
[libclang] Fix clang_Cursor_getNumArguments and clang_Cursor_getArgument for CXXConst...
authorIvan Donchevskii <ivan.donchevskii@qt.io>
Tue, 27 Nov 2018 12:02:39 +0000 (12:02 +0000)
committerIvan Donchevskii <ivan.donchevskii@qt.io>
Tue, 27 Nov 2018 12:02:39 +0000 (12:02 +0000)
commit58828cc308e0a6030d0418573376624d01baa7d3
tree5cebb4a6456d75f99576b4c4cce87121c0de16e7
parent114aaa3c46f021df3c13f83d773589adc3993afd
[libclang] Fix clang_Cursor_getNumArguments and clang_Cursor_getArgument for CXXConstructExpr

Constructors have the same methods for arguments as call expressions.
Let's provide a way to get their arguments the same way.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347654 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/print-type.cpp
tools/libclang/CXCursor.cpp