[PATCH] D71037: [Diagnostic] Add ftabstop to -Wmisleading-indentation

Tyker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 3 07:35:06 PST 2020


Tyker updated this revision to Diff 236058.
Tyker added a comment.

This update should fixes the issue.
the assert was incorrect. because file offsets are 0-based where as column numbers are 1-based.


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

https://reviews.llvm.org/D71037

Files:
  clang/lib/Parse/ParseStmt.cpp
  clang/test/Parser/warn-misleading-indentation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71037.236058.patch
Type: text/x-patch
Size: 4817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200103/f6a02602/attachment.bin>


More information about the cfe-commits mailing list