[PATCH] D53882: [clang-tidy] Adding Zircon checker for std namespace
Julie Hockett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 30 12:30:06 PDT 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.
Adds a checker to warn against using the std namespace, as Zircon's kernel lib++ policy does not allow it. Written documentation of the policy is not yet published, I will add the link when it is.
https://reviews.llvm.org/D53882
Files:
clang-tools-extra/clang-tidy/zircon/CMakeLists.txt
clang-tools-extra/clang-tidy/zircon/NoStdNamespaceCheck.cpp
clang-tools-extra/clang-tidy/zircon/NoStdNamespaceCheck.h
clang-tools-extra/clang-tidy/zircon/ZirconTidyModule.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/zircon-no-std-namespace.rst
clang-tools-extra/test/clang-tidy/zircon-no-std-namespace.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53882.171762.patch
Type: text/x-patch
Size: 10153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181030/84753d38/attachment.bin>
More information about the cfe-commits
mailing list