Hi,

the attached patch changes

  test.cc:4:11: error: unexpected ':' in nested name specifier
    return A:a;
            ^
            ::
  1 error generated.

to

  test.cc:4:11: error: unexpected ':' in nested name specifier, did
you mean '::'?
    return A:a;
            ^
            ::
  1 error generated.


True, there's a fixit for the '::' already, but it always takes me a
second to see that. One coworker asked for the same change. Is this
change ok? (The diagnostic is only used in one place, and always shows
the '::' fixit.)

Nico

Attachment: clang-colon.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to