[llvm-bugs] [Bug 47073] In the for-range statement, erase() should not be used to remove the elements which the loop iterates over.(Potential defects)(llvm-project/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:line 59 and line 771)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 14 03:10:22 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47073

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
MachineValueTypeSet is really just a bitarray - the erase/insert methods are
just clearing/setting bits, not altering the set layout or performing any
allocations

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200914/33d1eeb6/attachment.html>


More information about the llvm-bugs mailing list