[PATCH] D69935: [DeclCXX] Remove unknown external linkage specifications

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 11 12:49:06 PST 2019


dblaikie added a comment.

In D69935#1739235 <https://reviews.llvm.org/D69935#1739235>, @dblaikie wrote:

> In D69935#1738273 <https://reviews.llvm.org/D69935#1738273>, @uabelho wrote:
>
> > Don't you need to also remove
> >
> >   case LinkageSpecDecl::lang_cxx_11:
> >   case LinkageSpecDecl::lang_cxx_14:
> >   
> >
> > from VisitLinkageSpecDecl in clang-tools-extra/modularize/Modularize.cpp? (added in r372714 / e07376a320d to silence a clang warning).
> >  I can't see how that code would compile otherwise?
>
>
> +1 to this & then it seems fine (probably without a committed test, but I wouldn't mind a copy/paste of clang's behavior before/after this patch posted to this review to demonstrate what is being fixed)


Waiting on this bit.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69935/new/

https://reviews.llvm.org/D69935





More information about the cfe-commits mailing list