[LLVMbugs] [Bug 23186] New: Type correction leads to null dereference

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 9 22:23:36 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23186

            Bug ID: 23186
           Summary: Type correction leads to null dereference
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
decltype(ned);
template <typename>
struct S {
  enum { V };
  void f() {
    switch (0)
    case V:
      ;
  }
};

compile with:
clang -cc1 -std=c++11 t.cpp

this leads us to getting the size of a dependent type:
BuiltinType 0x74851a0 '<dependent type>' dependent

-- 
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/20150410/51b243cd/attachment.html>


More information about the llvm-bugs mailing list