[all-commits] [llvm/llvm-project] 335668: [C++20][Modules] Do not allow non-inline external ...
Iain Sandoe via All-commits
all-commits at lists.llvm.org
Sun Jan 8 04:20:20 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 335668b116439d13c7555616e126acdc608ce59e
https://github.com/llvm/llvm-project/commit/335668b116439d13c7555616e126acdc608ce59e
Author: Iain Sandoe <iain at sandoe.co.uk>
Date: 2023-01-08 (Sun, 08 Jan 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaDecl.cpp
A clang/test/CXX/module/module.import/p6.cpp
M clang/test/CodeGenCXX/module-initializer-header.cppm
Log Message:
-----------
[C++20][Modules] Do not allow non-inline external definitions in header units.
[module.import/6] last sentence:
A header unit shall not contain a definition of a non-inline function or
variable whose name has external linkage.
Differential Revision: https://reviews.llvm.org/D140261
More information about the All-commits
mailing list