r175613 - Implements breaking of string literals if they stick out.

Dmitri Gribenko gribozavr at gmail.com
Wed Feb 20 11:53:54 PST 2013


On Wed, Feb 20, 2013 at 12:15 PM, Manuel Klimek <klimek at google.com> 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.

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 <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list