[PATCH] D142123: [clang-tidy] Add check to suggest use of #pragma once
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 19 08:49:40 PST 2023
aaron.ballman added a comment.
Can you explain a bit about why you want to promote use of `#pragma once`? It's not been standardized specifically because of how many known issues it causes, so it strikes me as odd to claim it's a modernization of a code base to use it. To me, I'd almost rather have the opposite behavior -- convert use of `#pragma once` into working header guards.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142123/new/
https://reviews.llvm.org/D142123
More information about the cfe-commits
mailing list