thorsten-klein wrote: I have added option `AllowPragmaOnce` so that the check does not warn if `#pragma once` is used. I hope it is
> Replace #pragma once with guard. Would it be acceptable to handle this in a follow-up PR? I’m unsure how to get the `Loc` correctly, since most of the work is done in the base class `utils::HeaderGuardCheck`. https://github.com/llvm/llvm-project/pull/177315 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
