[llvm-dev] StringRef Iterator Variable Display

hameeza ahmed via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 23 12:40:43 PDT 2019


Hello,
I want to display the variable names in stringref iterator. But it is not
displayed using following code.


for (set<StringRef>::iterator sit = L.begin(); sit != L.end(); sit++) {
errs() << *sit << " ";
}

How to do this?
Please help..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190424/d9f34186/attachment.html>


More information about the llvm-dev mailing list