[PATCH] D109132: Fix missing argument introduced by D108788

Senran Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 1 22:51:23 PDT 2021


zsrkmyn created this revision.
zsrkmyn added reviewers: aeubanks, rnk, MaskRay.
Herald added subscribers: dexonsmith, jdoerfert.
zsrkmyn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

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.370166.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/840e6970/attachment-0001.bin>


More information about the llvm-commits mailing list