Skip to content
Commit d6346e6f authored by Greg Clayton's avatar Greg Clayton
Browse files

Add a ModuleList::ForEach(...) which takes the module list mutex calls the...

Add a ModuleList::ForEach(...) which takes the module list mutex calls the std::function argument with each module. If you return true in the callback, iteration will continue, if you return false, iteration will stop and the lock will be released.

<rdar://problem/19213054>

llvm-svn: 229008
parent f14b9c7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment