[PATCH] D70638: [Diagnostic] add a warning which warns about misleading indentation

Tyker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 09:51:35 PST 2019


Tyker marked 6 inline comments as done.
Tyker added a comment.

i did a few test on the linux kernel on prior version of this patchs and the mix of spaces and tabs caused some false positives. but i do believe there is still a bug here.
for the mix of space and tabs. gcc has a -ftabstop=//X// to specify how large tabs should be counted as.
clang has it as well i am going to check that it is taken in account.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70638





More information about the cfe-commits mailing list