[all-commits] [llvm/llvm-project] b4b904: [Diagnostic] Fixed add ftabstop to -Wmisleading-in...

Ralender via All-commits all-commits at lists.llvm.org
Fri Jan 3 08:22:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b4b904e19bb356724b2c6aea0199ce05c6f15cdb
      https://github.com/llvm/llvm-project/commit/b4b904e19bb356724b2c6aea0199ce05c6f15cdb
  Author: Tyker <tyker1 at outlook.com>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

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

  Log Message:
  -----------
  [Diagnostic] Fixed 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: mstorsjo, cfe-commits, jyknight, riccibruno, rsmith, nathanchance

Tags: #clang

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




More information about the All-commits mailing list