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: unassignedb...@nondot.org
          Reporter: yaron.ke...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to