[all-commits] [llvm/llvm-project] b47b35: [Diagnostic] Add ftabstop to -Wmisleading-indentation

Ralender via All-commits all-commits at lists.llvm.org
Mon Dec 30 00:26:11 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b47b35ff51b355a446483777155290541ab64fae
      https://github.com/llvm/llvm-project/commit/b47b35ff51b355a446483777155290541ab64fae
  Author: Tyker <tyker1 at outlook.com>
  Date:   2019-12-30 (Mon, 30 Dec 2019)

  Changed paths:
    M clang/lib/Parse/ParseStmt.cpp
    M clang/test/Parser/warn-misleading-indentation.cpp

  Log Message:
  -----------
  [Diagnostic] Add ftabstop to -Wmisleading-indentation

Summary:
this allow much better support of codebases like the linux kernel that mix tabs and spaces.

-ftabstop=//Width// allow specifying how large tabs are considered to be.

Reviewers: xbolva00, aaron.ballman, rsmith

Reviewed By: aaron.ballman

Subscribers: jyknight, riccibruno, rsmith, nathanchance

Differential Revision: https://reviews.llvm.org/D71037




More information about the All-commits mailing list