Issue 87152
Summary 'class std::set<llvm::BasicBlock*>' has no member named 'completed'
Labels new issue
Assignees
Reporter Victor725
    An error enconted when I compiling an llvm pass.
In this pass, I go over all blocks in a function with api provided by DepthFirstIterator.h.
The error code in the pass as follows:
```
std::set<BasicBlock*> visitedSet;
for (auto i = df_ext_begin<BasicBlock*,std::set<BasicBlock*>>(&F.getEntryBlock(), visitedSet),
                e = df_ext_end<BasicBlock*,std::set<BasicBlock*>>(&F.getEntryBlock(), visitedSet);
                
                i != e; i++);
```
the error is:
![image](https://github.com/llvm/llvm-project/assets/55656122/ae12e2fb-e17e-4d94-b627-4a46deedd153)
It says that class set has no member named "completed". Is this a matter of my version of c++?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to