| 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:

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