[PATCH] D117600: [CGCall] Annotate operator new with inaccessiblememonly if AssumeSaneOperatorNew is on
Nikita Popov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 24 00:48:55 PST 2022
nikic added inline comments.
================
Comment at: clang/lib/CodeGen/CGCall.cpp:2071
RetAttrs.addAttribute(llvm::Attribute::NoAlias);
+ FuncAttrs.addAttribute("inaccessiblememonly");
+ }
----------------
This should be `Attribute::InacccessibleMemOnly`. It's not a string attribute.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117600/new/
https://reviews.llvm.org/D117600
More information about the cfe-commits
mailing list