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

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Sat May 9 09:54:40 PDT 2026


================
@@ -1499,6 +1502,8 @@ class CodeGenModule : public CodeGenTypeCache {
   /// Appends a dependent lib to the appropriate metadata value.
   void AddDependentLib(StringRef Lib);
 
+  /// Process Pragma Comment Copyright.
+  void ProcessPragmaCommentCopyright(StringRef Comment, bool isFromASTFile);
----------------
hubert-reinterpretcast wrote:

- This does not need to be a public member.
- Nit:
```suggestion
  /// Process #pragma comment(copyright, ...).
  void ProcessPragmaCommentCopyright(StringRef Comment, bool isFromASTFile);
```

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


More information about the cfe-commits mailing list