[PATCH] D51949: [WIP][clang-tidy] initial ideas to isolate variable declarations

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 27 13:33:01 PDT 2018


JonasToth updated this revision to Diff 167389.
JonasToth added a comment.

- bail out in transformation if there are PP directives in the source range of the DeclStmt


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51949

Files:
  clang-tidy/readability/CMakeLists.txt
  clang-tidy/readability/IsolateDeclCheck.cpp
  clang-tidy/readability/IsolateDeclCheck.h
  clang-tidy/readability/ReadabilityTidyModule.cpp
  clang-tidy/utils/LexerUtils.cpp
  clang-tidy/utils/LexerUtils.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/readability-isolate-decl.rst
  test/clang-tidy/readability-isolate-decl-cxx17.cpp
  test/clang-tidy/readability-isolate-decl-fixing.cpp
  test/clang-tidy/readability-isolate-decl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51949.167389.patch
Type: text/x-patch
Size: 39368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180927/7568dae4/attachment-0001.bin>


More information about the cfe-commits mailing list