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

Tyker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 30 02:55:18 PST 2019


Tyker updated this revision to Diff 231583.
Tyker added a comment.

Improve the warning for else if


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

https://reviews.llvm.org/D70638

Files:
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Lex/Preprocessor.h
  clang/include/clang/Parse/Parser.h
  clang/lib/Parse/ParseStmt.cpp
  clang/test/Index/pragma-diag-reparse.c
  clang/test/Misc/warning-wall.c
  clang/test/Preprocessor/pragma_diagnostic_sections.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70638.231583.patch
Type: text/x-patch
Size: 9280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191130/7177eb11/attachment.bin>


More information about the cfe-commits mailing list