[llvm-bugs] [Bug 31859] New: Assertion failed: QualifierLoc && "should be created for dependent qualifiers"

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 3 09:56:48 PST 2017


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

            Bug ID: 31859
           Summary: Assertion failed: QualifierLoc && "should be created
                    for dependent qualifiers"
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: yaron.keren at gmail.com
                CC: llvm-bugs at lists.llvm.org, rnk at google.com
    Classification: Unclassified

Assertion failed: QualifierLoc && "should be created for dependent qualifiers",
file C:\llvm\tools\clang\lib\AST\ExprCXX.cpp, line 396

clang version 5.0.0 (trunk 293997)
clang -fsyntax-only -std=c++11 file.cpp

where file.cpp is:

template <class> struct vec_traits;
template <class O> struct vec_traits<vec_traits<O>> {
  static void write_element();
};
template <class A> void foo() { vec_traits<A>::template write_element(); }
void test() { foo<int>(); }

-- 
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/20170203/e60892c6/attachment.html>


More information about the llvm-bugs mailing list