[llvm-bugs] [Bug 32750] New: Clang crashes Assertion failed: !isNull() && "Cannot retrieve a NULL type pointer"

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 22 14:29:16 PDT 2017


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

            Bug ID: 32750
           Summary: Clang crashes Assertion failed: !isNull() && "Cannot
                    retrieve a NULL type pointer"
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: llvm-bugs at lists.llvm.org

Clang (and visual studio with Visual Assist using libclang) crash when trying
to parse the following code.

It gives the following assert before crashing:
Assertion failed: !isNull() && "Cannot retrieve a NULL type pointer"


t.cpp
---
template<typename T> struct A {};
template<typename T> struct B : A<A<T> > { A<T>::C::D d; };
---
"clang-cl.exe" -fms-compatibility-version=19  t.cpp

-- 
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/20170422/8fa24b97/attachment.html>


More information about the llvm-bugs mailing list