[llvm-commits] [PATCH] Fix formatting for FileCheck.rst

Sean Silva silvas at purdue.edu
Wed Nov 14 11:26:43 PST 2012


LGTM. Please commit.

While looking over the patch, I ran into

+like "``CHECK: [[XYZ:.\\*]]x[[XYZ]]``", the check line will read the previous

which looks like it is supposed to render with a `.*` regex, but
currently it comes out with a backslash inside there. I think both
backslashes need to be removed (could you sneak this into the current
patch?).

-- Sean Silva

On Wed, Nov 14, 2012 at 2:03 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> Hi Sean,
>
> Please take a look at this patch that changes formatting of code-like
> constructs in FileCheck.rst to use a monospaced font.  Currently these
> are formatted in bold and I don't think that looks correctly.  Some
> lines are re-wrapped to fit into 80 characters, but no content changes
> done.
>
> 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 llvm-commits mailing list