[cfe-commits] Patch: Add fix-it for digraph errors involving &quot; <::&quot;

Richard Smith richard at metafoo.co.uk
Thu Apr 14 14:54:05 PDT 2011

Hi Richard,

On Tue, April 5, 2011 22:56, Richard Trieu wrote:
> Taking into account Richard Smith's comments, I have made changes to the
> patch:
> 1) Check for whitespace and newlines between '<:' and ':'
> 2) Add test case for #1
> 3) Update SourceLocation for '::'

Apologies for the delay! I committed your patch in r129540, with a slight
tweak to also catch cases where one of the tokens comes from a macro:

  #define LC <:
  static_cast LC:a>(...)

Thanks for the patch!

More information about the cfe-commits mailing list