[clang] [llvm] [PowerPC][AIX] Support #pragma comment copyright for AIX (PR #178184)
Sean Perry via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 12:07:03 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">;
----------------
perry-ca wrote:
We should change this so it isn't AIX specific. The common wording is "not supported for this target". When support for this pragma is expanded to other targets this wording won't be correct. The name of the error should be changed to drop "_aix" too. I suggest `err_pragma_comment_copyright_unsupported`.
https://github.com/llvm/llvm-project/pull/178184
More information about the cfe-commits
mailing list