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

Ehud Katz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 13:10:43 PST 2019


ekatz added a comment.

With this change (current trunk) you can write code as follows:

  extern "C++11" int x;

And it will pass compilation. No other compiler support it, nor it should, as there is no such thing as `extern "C++11"` nor `extern "C++14"`.


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