diff --git a/llvm/include/llvm/IR/Constants.h b/llvm/include/llvm/IR/Constants.h index 5625b3f5d8ec..122dda24a1d7 100644 --- a/llvm/include/llvm/IR/Constants.h +++ b/llvm/include/llvm/IR/Constants.h @@ -1032,7 +1032,7 @@ public: /// Getelementptr form. Value* is only accepted for convenience; /// all elements must be Constant's. /// - /// \param OnlyIfReduced see \a getWithOperands() docs. + /// \param OnlyIfReducedTy see \a getWithOperands() docs. static Constant *getGetElementPtr(Constant *C, ArrayRef IdxList, bool InBounds = false, Type *OnlyIfReducedTy = nullptr) {