mstorsjo added a comment.

This broke my builds. A configure test that tries to compile `int main (void) { 
for( int i = 0; i < 9; i++ ); return 0; }` (a single line source file), with 
`-Wall` enabled, now triggers failed asserts:

  clang-10: ../tools/clang/lib/Parse/ParseStmt.cpp:1236: static unsigned int 
{anonymous}::MisleadingIndentationChecker::getVisualIndentation(clang::SourceManager&,
 clang::SourceLocation): Assertion `FIDAndOffset.second > ColNo && "Column 
number smaller than file offset?"' failed.
  
  <cut>
  
  1.      oneline.c:1:49: current parser token 'return'
  2.      oneline.c:1:17: parsing function body 'main'
  3.      oneline.c:1:17: in compound statement ('{}')


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71037/new/

https://reviews.llvm.org/D71037



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to