[LLVMbugs] [Bug 16925] New: clang doesn't support Microsoft syntax for 'typename typedef'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 17 06:04:34 PDT 2013


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

            Bug ID: 16925
           Summary: clang doesn't support Microsoft syntax for 'typename
                    typedef'
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang disallows:
template <class T>
struct S {
  typedef T T_;
  typename typedef T_::D D;
};

struct U {
  typedef int D;
};

S<U> x;

This is needed to properly parse system headers.

-- 
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/20130817/4a49120b/attachment.html>


More information about the llvm-bugs mailing list