[llvm-bugs] [Bug 26623] New: Assertion failed: CachedTokens[CachedLexPos-1].getLastLoc() == Tok.getAnnotationEndLoc() && "The annotation should be until the most recent cached token

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 15 06:44:26 PST 2016


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

            Bug ID: 26623
           Summary: Assertion failed:
                    CachedTokens[CachedLexPos-1].getLastLoc() ==
                    Tok.getAnnotationEndLoc() && "The annotation should be
                    until the most recent cached token
           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
    Classification: Unclassified

clang -fsyntax-only 
of the file


a ( ::( ctx


results in:

exclusive.cpp:1:7: error: unexpected parenthesis after '::'
a ( ::( ctx
      ^
Assertion failed: CachedTokens[CachedLexPos-1].getLastLoc() ==
Tok.getAnnotationEndLoc() && "The annotation should be until the most recent
cached token", file C:\llvm\tools\clang\lib\Lex\PPCaching.cpp, line 101

clang is trunk 260888.
This was reproduced on Windows x64 and Ubuntu Linux x64.

-- 
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/20160215/15417f96/attachment.html>


More information about the llvm-bugs mailing list