[PATCH] D84860: [LangRef] Add uniqueptr attribute.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 09:21:04 PDT 2020


arsenm added a comment.

I think this sounds suspiciously like byref



================
Comment at: llvm/include/llvm/IR/Attributes.td:160
 
+def UniquePtr: EnumAttr<"uniqueptr">;
+
----------------
Missing comment


================
Comment at: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:742
+  case Attribute::UniquePtr:
+    return bitc::ATTR_KIND_UNIQUEPTR;
+
----------------
Missing bitcode and asm parser tests


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84860/new/

https://reviews.llvm.org/D84860



More information about the llvm-commits mailing list