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

Ralender via All-commits all-commits at lists.llvm.org
Mon Nov 25 11:52:47 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b86188b50bf6e537fe98b326f258fbd23108b83
      https://github.com/llvm/llvm-project/commit/7b86188b50bf6e537fe98b326f258fbd23108b83
  Author: Tyker <tyker1 at outlook.com>
  Date:   2019-11-25 (Mon, 25 Nov 2019)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    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
    M clang/test/Preprocessor/pragma_diagnostic_sections.cpp
    A clang/test/SemaCXX/warn-misleading-indentation.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: arphaman, Ka-Ka, thakis

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




More information about the All-commits mailing list