For consistency with other attributes, fix alloc_size's diagnostics to
report the attribute's argument index for a function parameter index
rather than the actual function parameter index specified in the
source.
Details
Details
- Reviewers
aaron.ballman
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The dependency goes the other way. Did I get it wrong?
test/Sema/alloc-size.c | ||
---|---|---|
3 | clang-format-diff.py suggested that. Should I drop that? |
Comment Actions
Ugh, no, I misunderstood what Phab was trying to tell me. This makes considerably more sense. :-)
Comment Actions
Sure. Thanks for committing.
By the way the commit log you added isn't quite right. The issue isn't base 0 versus base 1. The issue is attribute argument index versus attribute argument value. See the test case for an example.
I'm not suggesting we somehow change the commit log. I just want to be sure you see what I actually did here.
Comment Actions
No problem. :-)
I'll get to your comments in the other patches hopefully soon. Thanks again.
This looks like a whitespace-only change?