4 ms·
My experience is that LLVM uses of iterator is very coherent with what to expect from C++, and I never had any issue on this aspect. Iterator invalidation is pe
by Joky 10y ago
My experience is that LLVM uses of iterator is very coherent with what to expect from C++, and I never had any issue on this aspect.
Iterator invalidation is pervasive in the STL containers, and as a C++ programmer you are supposed to know what type of container you're iterating on (in LLVM iterating over a basic block is a linked-list, iterator are not invalidated for instance).