Bryce-MW created this revision.
Bryce-MW edited the summary of this revision.
Bryce-MW retitled this revision from "[CGCall] Annotate op new with
inaccessiblememonly if AssumeSaneOperatorNew is on" to "[CGCall] Annotate
operator new with inaccessiblememonly if AssumeSaneOperatorNew is on".
Bryce-
Bryce-MW updated this revision to Diff 403339.
Bryce-MW marked an inline comment as done.
Bryce-MW added a comment.
- Use proper attribute
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117600/new/
https://reviews.llvm.org/D117600
Files:
clang/in
Bryce-MW added inline comments.
Comment at: clang/lib/CodeGen/CGCall.cpp:2071
RetAttrs.addAttribute(llvm::Attribute::NoAlias);
+ FuncAttrs.addAttribute("inaccessiblememonly");
+}
nikic wrote:
> This should be `Attribute::InacccessibleM