This patch adds support for loop unroll pragma syntax:
// Fully unroll loop.
#pragma unroll
for (...) { }
// Unroll loop N times.
#pragma unroll N
for (...) { }
// Unroll loop N times (same effect as without the parentheses around N).
#pragma unroll(N)
for (...) { }
These pragmas replace the "#pragma clang loop unroll" and "#pragma clang loop unroll_count" directives.
Mark
How about a comment above the method declaration that explains what those arguments are? I know the surrounding code doesn't do this, but with new code we can do better :)