[clang] [llvm] [PowerPC][AIX] Support #pragma comment copyright for AIX (PR #178184)

Tony Varghese via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 19 03:50:33 PST 2026


================
@@ -1356,8 +1356,14 @@ def err_pragma_comment_malformed : Error<
   "pragma comment requires parenthesized identifier and optional string">;
 def err_pragma_comment_unknown_kind : Error<"unknown kind of pragma comment">;
 // PS4 recognizes only #pragma comment(lib)
+def err_pragma_comment_copyright_aix
+    : Error<"pragma comment copyright is supported only on AIX target">;
----------------
tonykuttai wrote:

Dropped this as Sean suggested. We should be ignoring the pragma comment copyright on other targets by emitting a warning and not error out.

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


More information about the llvm-commits mailing list