aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-02-13 01:19:24 +0000
committerGreg Clayton <gclayton@apple.com>2015-02-13 01:19:24 +0000
commitd6346e6f3ef8d46d91b582b089a6aabe91369624 (patch)
tree11698c0b2512423e1719cc3bae00bf956bca5626 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf14b9c7cc16f24357f2c7db95e84015f79be8b38 (diff)
downloadllvm-d6346e6f3ef8d46d91b582b089a6aabe91369624.zip
llvm-d6346e6f3ef8d46d91b582b089a6aabe91369624.tar.gz
llvm-d6346e6f3ef8d46d91b582b089a6aabe91369624.tar.bz2
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions