[PATCH] D156063: [Clang] Reject programs declaring namespace std to be inline

PoYao Chang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 23 11:01:57 PDT 2023


rZhBoYao added a comment.

https://eel.is/c++draft/namespace.std#7 is in the library clause.
Couldn't find a better place to put the test other than clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/p7.cpp which is for https://eel.is/c++draft/namespace.def.general#4.sentence-2.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156063



More information about the cfe-commits mailing list