I have to revert this revision - it was breaking some objc stuff.
One of the failed tests looks like:
printf("%s", (i ? i : i)); // expected-warning{{values of type 'NSInteger'
should not be used as format arguments; add an explicit cast to 'long' instead}}
After the change the type of (?:) seems to be int / long here due to promotion
happened. Is this intended behavior? I'm not familliar objc that much..
http://reviews.llvm.org/D6217
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits