[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
Fri Feb 3 08:04:37 PST 2023


KyleFromKitware updated this revision to Diff 494652.
KyleFromKitware added a comment.

Updated documentation.


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/readability/header-guard.rst
  clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142123.494652.patch
Type: text/x-patch
Size: 11743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230203/cbe44a0e/attachment-0001.bin>


More information about the cfe-commits mailing list