[PATCH] Provide fixit if unscoped enumeration is used in nested name specifier. This fixes PR16951.

Serge Pavlov sepavloff at gmail.com
Fri Jan 16 12:42:13 PST 2015


Updated patch.

Instead of providing removal fixit, issue extension warning.


http://reviews.llvm.org/D6389

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/Sema/SemaCXXScopeSpec.cpp
  test/SemaCXX/member-pointer.cpp
  test/SemaCXX/nested-name-spec.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6389.18311.patch
Type: text/x-patch
Size: 6093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150116/a4a500f0/attachment.bin>


More information about the cfe-commits mailing list