[LLVMbugs] [Bug 19782] New: Bug: wrong field type. Only base type reported

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun May 18 07:15:02 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19782

            Bug ID: 19782
           Summary: Bug: wrong field type. Only base type reported
           Product: clang
           Version: 3.4
          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

Hello,

I've meet next bug:

class A{
 char *x;
 int y[10];
};

Class fields "x" and "y" in libclang AST are present with only base type kind
(char or int), while "pointer" or "constarray" are omitted, while it present in
variable declarations. As well as:

template<class T>
class B{
  T* z;
};

field "z" of template type T is present like field of type kind Unexposed
(suppose template type), but should be nested in pointer type.

-- 
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/20140518/a7c36232/attachment.html>


More information about the llvm-bugs mailing list