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

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 11 08:48:37 PDT 2016


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

            Bug ID: 28502
           Summary: Assertion failed: QualifierLoc && "should be created
                    for dependent qualifiers"
           Product: clang
           Version: 3.8
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jtony at ca.ibm.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Steps to reproduce on linux:
-bash-4.2$ cat r.cpp
        typename U::template U<U>
bar ( typename U :: template U < U > u = typename U :: template U < operator U
> ( U ( ) ) )
        {
                return u;
        }
};

-bash-4.2$ myclang++ r.cpp  -std=c++11
clang: /home/jtony/build/3_8/llvm-dev.src/tools/clang/lib/AST/ExprCXX.cpp:453:
static clang::DependentScopeDeclRefExpr* clang::DependentScop
eDeclRefExpr::Create(const clang::ASTContext&, clang::NestedNameSpecifierLoc,
clang::SourceLocation, const clang::DeclarationNameInfo&, cons
t clang::TemplateArgumentListInfo*): Assertion `QualifierLoc && "should be
created for dependent qualifiers"' failed.
0  clang     0x000000001568c4e4 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 68
1  clang     0x000000001568c8d4

...
clang version 3.8.0 (tags/RELEASE_380/final)
Target: powerpc64le-unknown-linux-gnu
Thread model: posix


-bash-4.2$ type myclang
myclang is aliased to `/home/jtony/build/runnable/bin/clang'

-- 
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/20160711/d1efa6f1/attachment.html>


More information about the llvm-bugs mailing list