[clang] [clang-format]: Treat #pragma once as include guard for IndentPPDirectives (PR #135443)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 28 04:37:15 PST 2025


HazardyKnusperkeks wrote:

But it should be reasonable. Why combine `#pragma once` and an `#ifndef` include guard? That's the worst of both worlds.

https://github.com/llvm/llvm-project/pull/135443


More information about the cfe-commits mailing list