[PATCH] D142123: [clang-tidy] Add header guard style to suggest use of #pragma once
Kyle Edwards via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 26 14:47:58 PST 2023
KyleFromKitware updated this revision to Diff 492579.
KyleFromKitware retitled this revision from "[clang-tidy] Add check to suggest use of #pragma once" to "[clang-tidy] Add header guard style to suggest use of #pragma once".
KyleFromKitware added a comment.
Refactored to use HeaderGuardStyle.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142123/new/
https://reviews.llvm.org/D142123
Files:
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/PragmaOnceHeaderGuardStyle.cpp
clang-tools-extra/clang-tidy/readability/PragmaOnceHeaderGuardStyle.h
clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/modernize/use-pragma-once.rst
clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142123.492579.patch
Type: text/x-patch
Size: 11882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230126/7879eaea/attachment.bin>
More information about the cfe-commits
mailing list