[PATCH] D75009: [Diagnostic] Improve discoverability of ftabstop for misleading indentation

Tyker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 22 02:47:54 PST 2020


Tyker created this revision.
Tyker added a reviewer: eli.friedman.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Tyker added a comment.

i tried to find a good message but i don't think i succeeded. any suggestions.


This adds an additional note after the misleading warning when the code has a mix of tab and space informing about -ftabstop when -ftabstop is used in the generation of the warning.


Repository:
  rC Clang

https://reviews.llvm.org/D75009

Files:
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/lib/Parse/ParseStmt.cpp
  clang/test/Parser/warn-misleading-indentation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75009.246067.patch
Type: text/x-patch
Size: 4255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200222/c7a85e3b/attachment.bin>


More information about the cfe-commits mailing list