[PATCH] D33677: getContainedType for C and OCaml API
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 08:05:12 PDT 2017
deadalnix added a comment.
There is also facilities to do it for pointers and alike, and I assume you need to check what kind of type you are iterating on, because you have no way to know if the index is valid or not when you don't, so I'm not sure what is the use case here. The C++ code seems to use that to do an iterator interface, but there are no iterators in C.
https://reviews.llvm.org/D33677
More information about the llvm-commits
mailing list