DescriptionSyscallIterator: 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
Committed: https://crrev.com/2e58094a81b0291aa2b6f12c99cb2653c361d8a0
Cr-Commit-Position: refs/heads/master@{#300633}
Patch Set 1 #Patch Set 2 : Fix InvalidOnly and add test #Patch Set 3 : Sync and fix style #
Total comments: 6
Patch Set 4 : Change SyscallSet into a proper class #
Total comments: 2
Patch Set 5 : Add 'explicit' #
Messages
Total messages: 11 (2 generated)
|