SyscallIterator: support C++11 range-based for loops
Also remove the superfluous "to" field in PolicyCompiler::Range, and fix the next-syscall-number calculation so we can remove the loop in SyscallIterator::operator++() (nee SyscallIterator::Next()). BUG=414363 Review URL: https://codereview.chromium.org/659723002 Cr-Commit-Position: refs/heads/master@{#300633}
Showing
Please register or sign in to comment