================
@@ -4092,6 +4129,18 @@ bool CodeGenModule::MustBeEmitted(const ValueDecl
*Global) {
return getContext().DeclMustBeEmitted(Global);
}
+void CodeGenModule::EmitLoadTimeComment() {
+ // Emit copyright metadata for #pragma comment(copyright, ...).
+ // The LoadTimeComment is set during pragma processing and contains the
+ // copyright string that will be embedded in the .text section of the
+ // XCOFF object file and loaded into memory when the program runs.
+
----------------
hubert-reinterpretcast wrote:
IMO, everything that needs to be said is already said in the Doxygen-style
comment for this function in the header.
```suggestion
```
https://github.com/llvm/llvm-project/pull/178184
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits