[llvm-bugs] [Bug 21866] [fuzz] Assertion `Pos != Map->end() && "no lookup entry for decl"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 21 14:12:14 PST 2019


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |rnk at google.com
             Status|NEW                         |RESOLVED

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Does not crash anymore:

$ clang --target=x86_64-linux -c -std=c++11 no-lookup-entry.cpp
no-lookup-entry.cpp:4:46: error: template specialization or definition requires
a template parameter list corresponding to the nested type 'S<A>'
template<typename A> template<( struct S<A>::T {};
                                             ^
no-lookup-entry.cpp:4:46: error: 'T' cannot be defined in a parameter type
no-lookup-entry.cpp:4:50: error: expected ')'
template<typename A> template<( struct S<A>::T {};
                                                 ^
no-lookup-entry.cpp:4:31: note: to match this '('
template<typename A> template<( struct S<A>::T {};
                              ^
no-lookup-entry.cpp:4:50: error: expected template parameter
template<typename A> template<( struct S<A>::T {};
                                                 ^
no-lookup-entry.cpp:4:50: error: expected ',' or '>' in template-parameter-list
no-lookup-entry.cpp:4:50: warning: declaration does not declare anything
[-Wmissing-declarations]
no-lookup-entry.cpp:5:18: error: expected '}'
static void g() {
                 ^
no-lookup-entry.cpp:5:17: note: to match this '{'
static void g() {
                ^
1 warning and 6 errors generated.

-- 
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/20190221/79d0bf62/attachment.html>


More information about the llvm-bugs mailing list