[LLVMbugs] [Bug 21846] [fuzz] Assertion `!isAnnotation() && "getIdentifierInfo() on an annotation token!"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 27 18:29:57 PDT 2015


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

Davide Italiano <davide at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |davide at freebsd.org
         Resolution|---                         |FIXED

--- Comment #1 from Davide Italiano <davide at freebsd.org> ---
Fixed in clang head.

% ./clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm lex_crash.cpp
lex_crash.cpp:2:15: error: declaration of anonymous struct must be a definition
struct A::X < struct T
              ^
lex_crash.cpp:3:1: error: expected a type
^
lex_crash.cpp:2:11: error: explicit specialization of non-template struct 'X'
struct A::X < struct T
          ^
lex_crash.cpp:2:11: error: no struct named 'X' in 'A<T>'
struct A::X < struct T
       ~~~^
lex_crash.cpp:3:1: error: expected member name or ';' after declaration
specifiers
^
lex_crash.cpp:3:1: error: expected '}'
lex_crash.cpp:1:32: note: to match this '{'
template <typename T> struct A {
                               ^
lex_crash.cpp:2:23: error: expected ';' after struct
struct A::X < struct T
                      ^
                      ;
7 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/20150428/f029de91/attachment.html>


More information about the llvm-bugs mailing list