[LLVMbugs] [Bug 9452] New: Missing PackExpansionType inside CXXBaseSpecifier

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 10 13:48:59 PST 2011


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

           Summary: Missing PackExpansionType inside CXXBaseSpecifier
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: abramobagnara at tin.it
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


The following testcase shows that PackExpansionType are not properly added to
CXXBaseSpecifier.

Currently a plain TemplateTypeParmType is stored (without to be wrapped in
PackExpansionType).

$ cat p.cc

template <typename... T>
struct s : public T... {
  s<T...> v;
};
abramo at igor:~$ clang -cc1 -ast-dump -std=c++0x p.cc
typedef char *__builtin_va_list;
template <typename ... T> struct s : public T {
    struct s;
    s<T...> v;
};

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list