[PATCH] D109132: Fix missing argument introduced by D108788

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 1 23:02:58 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGbc0d16969adf: Fix missing argument introduced by D108788 (authored by aeubanks).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109132

Files:
  llvm/include/llvm/IR/Attributes.h


Index: llvm/include/llvm/IR/Attributes.h
===================================================================
--- llvm/include/llvm/IR/Attributes.h
+++ llvm/include/llvm/IR/Attributes.h
@@ -472,7 +472,7 @@
   LLVM_NODISCARD AttributeList
   addAttribute(LLVMContext &C, unsigned Index, StringRef Kind,
                StringRef Value = StringRef()) const {
-    return addAttributeAtIndex(C, Index, Kind);
+    return addAttributeAtIndex(C, Index, Kind, Value);
   }
 
   /// Add an attribute to the attribute set at the given index.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109132.370168.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/56f7a42c/attachment.bin>


More information about the llvm-commits mailing list