[all-commits] [llvm/llvm-project] 7cf97d: [clang-tidy] Make header-guard check a little loos...
Sam McCall via All-commits
all-commits at lists.llvm.org
Thu May 5 08:42:52 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cf97d62f40990c2f86f75eb5a1d9cf2bd9de71e
https://github.com/llvm/llvm-project/commit/7cf97d62f40990c2f86f75eb5a1d9cf2bd9de71e
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2022-05-05 (Thu, 05 May 2022)
Changed paths:
M clang-tools-extra/clang-tidy/utils/HeaderGuard.cpp
M clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
Log Message:
-----------
[clang-tidy] Make header-guard check a little looser on comment whitespace
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.
Differential Revision: https://reviews.llvm.org/D124955
More information about the All-commits
mailing list