[LLVMbugs] [Bug 19587] New: Bug or feature request: pointer to templated type in field declaration missing pointer type
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Apr 28 10:48:12 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19587
Bug ID: 19587
Summary: Bug or feature request: pointer to templated type in
field declaration missing pointer type
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: libclang
Assignee: unassignedclangbugs at nondot.org
Reporter: morskoyzmey at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
template<class T>
class A{
T* field;
};
Here (inside CXCursor_ClassTemplate cursor) we can parse 'CXCursor_FieldDecl'
cursor for 'field'.
It's type would be 'CXType_Unexposed'.
Its (CXType)type.data[0] has 'link' (some magic unique value) to template
parameter 'template<class T>', so actually I can get the name 'T' if remember
<key,name> pair in proper moment.
I expecting that 'CXCursor_FieldDecl' here should be of type 'CXType_Pointer'
and its pointee type something like 'CXType_TemplateType' (new feature) or
'CXType_Unexposed' at least.
Thanks to all contributors!
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140428/4ffce53b/attachment.html>
More information about the llvm-bugs
mailing list