On Thu, Feb 21, 2013 at 5:10 AM, Dmitri Gribenko <[email protected]>wrote:
> On Thu, Feb 21, 2013 at 11:15 AM, Manuel Klimek <[email protected]> wrote: > > On Wed, Feb 20, 2013 at 11:53 AM, Dmitri Gribenko <[email protected]> > > wrote: > >> > >> On Wed, Feb 20, 2013 at 12:15 PM, Manuel Klimek <[email protected]> > wrote: > >> > + EXPECT_EQ("f(\"some \"\n" > >> > + " \"text\",\n" > >> > + " other);", > >> > + format("f(\"some text\", other);", > >> > getLLVMStyleWithColumns(10))); > >> > +} > >> > >> I think we could accidentally get a digraph or a trigraph after > >> merging string literals. > > > > I'm not sure what you're saying - we don't merge string literals - we > just > > split them. > > Oh, then it is the opposite -- we could split a trigraph. But they > are rarely used, so we could probably ignore them (or not?) > Can trigraphs contain spaces? (we only split at spaces currently) > > Dmitri > > -- > main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if > (j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/ >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
