commit | 49f6f5489483beaffc7ce48dfc000af4e65b9216 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Aug 31 22:12:17 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Aug 31 22:12:17 2010 +0000 |
tree | 709462c6777ed8daf7fce87b5642174d7a1465b5 | |
parent | 6c2ab1d578c6cc1f3ddcc948532cd625f1092ef2 [diff] |
Add a new libclang function clang_getTemplateCursorKind(), which determines the kind of declaration that would be generated if the given template were instantiated. This allows a client to distinguish among class/struct/union templates and function/member function/static member function templates. Also, teach clang_CXXMethod_isStatic() about function templates. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112655 91177308-0d34-0410-b5e6-96231b3b80d8