diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-11-15 20:51:46 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-11-15 20:51:46 +0000 |
commit | 35f5aab4d737857cd2f593473792395b312da2f3 (patch) | |
tree | d0fbfc65929c0b056febdc118c0c3ba7cf01b1d3 /clang/include/clang-c | |
parent | bf55f7ea59c110df5d62d1c9b3866d374f5a86d0 (diff) | |
download | bcm5719-llvm-35f5aab4d737857cd2f593473792395b312da2f3.tar.gz bcm5719-llvm-35f5aab4d737857cd2f593473792395b312da2f3.zip |
[libclang] Generalize clang_getNumTemplateArguments and clang_getTemplateArgumentAsType to other kind of specializations.
Patch by Emilio Cobos Álvarez!
https://reviews.llvm.org/D26663
llvm-svn: 287024
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r-- | clang/include/clang-c/Index.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 8197cf72a87..df6cc6baf78 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -3516,11 +3516,8 @@ enum CXRefQualifierKind { }; /** - * \brief Returns the number of template arguments for given class template - * specialization, or -1 if type \c T is not a class template specialization. - * - * Variadic argument packs count as only one argument, and can not be inspected - * further. + * \brief Returns the number of template arguments for given template + * specialization, or -1 if type \c T is not a template specialization. */ CINDEX_LINKAGE int clang_Type_getNumTemplateArguments(CXType T); |