[PATCH] D43778: [clang-tidy] Adding RestrictIncludes check to Fuchsia module
Julie Hockett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 7 14:28:52 PDT 2018
juliehockett updated this revision to Diff 145547.
juliehockett marked 9 inline comments as done.
juliehockett edited the summary of this revision.
juliehockett added a comment.
Sorry for the delay in updating this -- check now restricts includes to a whitelist, rather than a blacklist, and only applies to system headers, to more strictly control which are allowed.
Also updated warning text and addressed comments.
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/Inputs/fuchsia-restrict-includes/a.h
test/clang-tidy/Inputs/fuchsia-restrict-includes/b.h
test/clang-tidy/Inputs/fuchsia-restrict-includes/system/j.h
test/clang-tidy/Inputs/fuchsia-restrict-includes/system/r.h
test/clang-tidy/Inputs/fuchsia-restrict-includes/system/s.h
test/clang-tidy/Inputs/fuchsia-restrict-includes/system/t.h
test/clang-tidy/Inputs/fuchsia-restrict-includes/system/transitive.h
test/clang-tidy/fuchsia-restrict-includes.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43778.145547.patch
Type: text/x-patch
Size: 12330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180507/493ea913/attachment.bin>
More information about the cfe-commits
mailing list