]> granicus.if.org Git - clang/commit
[libclang] Visit attributes for function and class templates
authorJonathan Coe <jbcoe@me.com>
Mon, 16 Oct 2017 23:43:02 +0000 (23:43 +0000)
committerJonathan Coe <jbcoe@me.com>
Mon, 16 Oct 2017 23:43:02 +0000 (23:43 +0000)
commit11e6fda273d7519bacf13475a98ecba6c41968b1
tree8f1a2e87ee8240814c130acf831aeea60c7725c5
parent551dc900ed276189569f3d814a3a5c540bab2fc6
[libclang] Visit attributes for function and class templates

Summary: Previously, `VisitAttributes` was not called for function and class templates and thus their attributes were not accessible using libclang.

Reviewers: bkramer, arphaman, rsmith, jbcoe

Reviewed By: jbcoe

Subscribers: cfe-commits

Tags: #clang

Patch by jklaehn (Johann Klähn)

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315958 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/tests/cindex/test_cursor.py
test/Index/annotate-attribute.cpp
tools/libclang/CIndex.cpp