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

Ehud Katz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 9 08:57:54 PST 2019


ekatz added a comment.

No problem.
For the source code:

  extern "C++11" int x;

In clang 9.0 the compilation fails with the message:

  <source>:1:8: error: unknown linkage language
  extern "C++11" int x;
         ^~~~~~~
  1 error generated.

while on the trunk it just pass without any error.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69935





More information about the cfe-commits mailing list