Closed llvmbot closed 9 years ago
Looks like a dupe of llvm/llvm-project#22824 .
This bug has been marked as a duplicate of bug llvm/llvm-project#22824
clang: /work/chromium/src/third_party/llvm/tools/clang/include/clang/Parse/Parser.h:283: clang::SourceLocation clang::Parser::ConsumeToken(): Assertion `!isTokenSpecial() && "Should consume special tokens with ConsumeToken"' failed.
0 clang 0x000000000141c848 llvm::sys::PrintStackTrace(_IO_FILE) + 40
1 clang 0x000000000141de0b
2 libc.so.6 0x00007fd35ee07d40
3 libc.so.6 0x00007fd35ee07cc9 gsignal + 57
4 libc.so.6 0x00007fd35ee0b0d8 abort + 328
5 libc.so.6 0x00007fd35ee00b86
6 libc.so.6 0x00007fd35ee00c32
7 clang 0x0000000001e19d4d
8 clang 0x0000000001e17504 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 19028
9 clang 0x0000000001e12be4 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 308
10 clang 0x0000000001e1072b clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr, true>, clang::prec::Level) + 1931
11 clang 0x0000000001e0ff96 clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) + 230
12 clang 0x0000000001e0fe99 clang::Parser::ParseExpression(clang::Parser::TypeCastState) + 9
13 clang 0x0000000001e2ade8 clang::Parser::ParseCXXCondition(clang::ActionResult<clang::Expr, true>&, clang::Decl&, clang::SourceLocation, bool) + 1064
14 clang 0x0000000001e55557 clang::Parser::ParseParenExprOrCondition(clang::ActionResult<clang::Expr, true>&, clang::Decl&, clang::SourceLocation, bool) + 231
15 clang 0x0000000001e50c6e clang::Parser::ParseIfStatement(clang::SourceLocation) + 158
16 clang 0x0000000001e4e720 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt, 32u>&, bool, clang::SourceLocation, clang::Parser::ParsedAttributesWithRange&) + 2944
17 clang 0x0000000001e4db0f clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt, 32u>&, bool, clang::SourceLocation) + 143
18 clang 0x0000000001e551ef clang::Parser::ParseCompoundStatementBody(bool) + 1839
19 clang 0x0000000001e55b03 clang::Parser::ParseFunctionStatementBody(clang::Decl, clang::Parser::ParseScope&) + 195
20 clang 0x0000000001dd7b7b clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList) + 1867
21 clang 0x0000000001de9973 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool, clang::SourceLocation, clang::Parser::ForRangeInit) + 2515
22 clang 0x0000000001dd71ac clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) + 796
23 clang 0x0000000001dd6b8c clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec, clang::AccessSpecifier) + 412
24 clang 0x0000000001dd5e42 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec) + 2930
25 clang 0x0000000001dfd6d9 clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator
Extended Description
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/reset_screen_handler-9f71b2.cpp clang: note: diagnostic msg: /tmp/reset_screen_handler-9f71b2.sh clang: note: diagnostic msg: