[all-commits] [llvm/llvm-project] 9c9820: [clang][Modules] Reject export declarations in imp...

Victor Chernyakin via All-commits all-commits at lists.llvm.org
Thu Mar 26 21:59:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c98207e16ad9135abd732caf55cdbf215717210
      https://github.com/llvm/llvm-project/commit/9c98207e16ad9135abd732caf55cdbf215717210
  Author: Victor Chernyakin <chernyakin.victor.j at outlook.com>
  Date:   2026-03-26 (Thu, 26 Mar 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Sema.h
    M clang/test/CXX/module/module.interface/p1.cpp

  Log Message:
  -----------
  [clang][Modules] Reject export declarations in implementation partitions (#188698)

[module.interface]/1 says:

> An export-declaration shall [...] appear in the purview of
   a module interface unit.

But clang currently fails to enforce this rule in implementation
partitions.

Partially addresses #107602.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list