[PATCH] D43778: [clang-tidy] Adding RestrictIncludes check to Fuchsia module

Julie Hockett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 26 12:44:28 PST 2018


juliehockett created this revision.
juliehockett added reviewers: aaron.ballman, hokein, ilya-biryukov.
juliehockett added a project: clang-tools-extra.
Herald added subscribers: xazax.hun, mgorny.

Adding a check to restrict specific includes. Given a list of includes that should not be used, the check issues a fixit to remove any include on that list from the source file.


https://reviews.llvm.org/D43778

Files:
  clang-tidy/fuchsia/CMakeLists.txt
  clang-tidy/fuchsia/FuchsiaTidyModule.cpp
  clang-tidy/fuchsia/RestrictIncludesCheck.cpp
  clang-tidy/fuchsia/RestrictIncludesCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/fuchsia-restrict-includes.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/fuchsia-restrict-includes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43778.135950.patch
Type: text/x-patch
Size: 9847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180226/32f5224a/attachment.bin>


More information about the cfe-commits mailing list