[PATCH] D117600: [CGCall] Annotate operator new with inaccessiblememonly if AssumeSaneOperatorNew is on

2022-01-26 Thread Bryce Wilson via Phabricator via cfe-commits
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

[PATCH] D117600: [CGCall] Annotate operator new with inaccessiblememonly if AssumeSaneOperatorNew is on

2022-01-26 Thread Bryce Wilson via Phabricator via cfe-commits
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

[PATCH] D117600: [CGCall] Annotate operator new with inaccessiblememonly if AssumeSaneOperatorNew is on

2022-01-18 Thread Bryce Wilson via Phabricator via cfe-commits
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-