================
@@ -382,8 +382,16 @@ void CIRGenModule::constructAttributeList(
       addAttributesFromFunctionProtoType(
           getBuilder(), attrs, func->getType()->getAs<FunctionProtoType>());
 
-      // TODO(cir): When doing 'return attrs' we need to cover the 'NoAlias' 
for
-      // global allocation functions here.
+      // A sane operator new returns a non-aliasing pointer. Classic applies
----------------
erichkeane wrote:

Where does this comment come from?  Its in a bizarre voice/not particularly 
descriptive?

https://github.com/llvm/llvm-project/pull/221818
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to