Currently it rejects "// FOO_BAR_H" as an endif comment due to the extra space.
A user complained that this is too picky, which seems fair enough.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D124955
[clang-tidy] Make header-guard check a little looser on comment whitespace ClosedPublic Authored by sammccall on May 4 2022, 12:37 PM.
Details Summary Currently it rejects "// FOO_BAR_H" as an endif comment due to the extra space.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 5 2022, 6:14 AM Comment Actions
It's actually correct in the commit message, just phab renders it wrong :-( Closed by commit rG7cf97d62f409: [clang-tidy] Make header-guard check a little looser on comment whitespace (authored by sammccall). · Explain WhyMay 5 2022, 8:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 427108 clang-tools-extra/clang-tidy/utils/HeaderGuard.cpp
clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
|