Displaying 1 result from an estimated 1 matches for "rel10".
Did you mean:
rel1
2020 Nov 11
1
Question about LLVM Rel10 llvm/IR/AsmWriter.cpp
Hi,
See fuller extract below.
I am curious about the for loop.
for (unsigned i = 1, e = CA->getNumElements(); i != e; ++i) {
What happens when CA->getNumElements() is zero ? Infinite loop????
Wouldn't the following be better. i.e. safer:
for (unsigned i = 1; i < CA->getNumElements(); i++) {
Kind Regards
James
At about line 1429:
Type *ETy =