[all-commits] [llvm/llvm-project] bc840b: [Diagnostic] add a warning which warns about misle...

Ralender via All-commits all-commits at lists.llvm.org
Tue Dec 3 12:22:28 PST 2019


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

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseStmt.cpp
    M clang/test/Index/pragma-diag-reparse.c
    M clang/test/Misc/warning-wall.c
    A clang/test/Parser/warn-misleading-indentation.cpp
    M clang/test/Preprocessor/pragma_diagnostic_sections.cpp

  Log Message:
  -----------
  [Diagnostic] add a warning which warns about misleading indentation

Summary: Add a warning for misleading indentation similar to GCC's -Wmisleading-indentation

Reviewers: aaron.ballman, xbolva00

Reviewed By: aaron.ballman, xbolva00

Subscribers: tstellar, cfe-commits, arphaman, Ka-Ka, thakis

Tags: #clang

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




More information about the All-commits mailing list