[llvm] [DebugInfo] Enable deprecation of iterator-insertion methods (PR #102608)
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 07:41:03 PDT 2024
================
@@ -2537,7 +2537,7 @@ class PHINode : public Instruction {
/// edges that this phi node will have (use 0 if you really have no idea).
static PHINode *Create(Type *Ty, unsigned NumReservedValues,
const Twine &NameStr = "",
- InsertPosition InsertBefore = nullptr) {
+ InsertPosition InsertBefore = (BasicBlock*)nullptr) {
----------------
jmorse wrote:
Apparently it isn't (now removed). Not sure what I was doing before, but I thought I was getting a bunch of deprecated warnings out of here, which I now can't replicate.
https://github.com/llvm/llvm-project/pull/102608
More information about the llvm-commits
mailing list