[clang] [Clang] Add #pragma clang deprecated_header (PR #168041)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 17 07:42:50 PST 2025


================
@@ -0,0 +1,6 @@
+#ifndef DEPRECATED_HEADER_MSG_H
+#define DEPRECATED_HEADER_MSG_H
+
+#pragma clang deprecated_header("This is a shitty header")
----------------
AaronBallman wrote:

That's not acceptable for us to commit.

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


More information about the cfe-commits mailing list