diff --git a/llvm/include/llvm/ADT/APInt.h b/llvm/include/llvm/ADT/APInt.h index e68dc8bd14d96..9fa98ad4ddde1 100644 --- a/llvm/include/llvm/ADT/APInt.h +++ b/llvm/include/llvm/ADT/APInt.h @@ -151,9 +151,9 @@ class [[nodiscard]] APInt { /// deprecated because this constructor is prone to ambiguity with the /// APInt(unsigned, uint64_t, bool) constructor. /// - /// If this overload is ever deleted, care should be taken to prevent calls - /// from being incorrectly captured by the APInt(unsigned, uint64_t, bool) - /// constructor. + /// Once all uses of this constructor are migrated to other constructors, + /// consider marking this overload ""= delete" to prevent calls from being + /// incorrectly bound to the APInt(unsigned, uint64_t, bool) constructor. LLVM_ABI APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]); /// Construct an APInt from a string representation.