On 11 May 2013 15:26, Robert Wilhelm <[email protected]> wrote:
> This patch converts three methods to ArrayRef in Sema.
> No functionality change.
> Passes make test on x86_64-unknown-linux-gnu
- if (TypeMayContainAuto && NumDecls > 1) {
+ if (TypeMayContainAuto && !Group.empty()) {
Should be 'Group.size() > 1' no?
- Group++;
- NumDecls--;
+ Group.slice(1);
slice returns a new array ref, it doesn't modify the current one.
Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits