[all-commits] [llvm/llvm-project] cc801b: [clang] [modules] Add err_main_in_named_module (#1...

Ashwin Kishin Banwari via All-commits all-commits at lists.llvm.org
Wed Jul 2 19:04:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc801b6570df1390283f4528f8a5941cfa9ec837
      https://github.com/llvm/llvm-project/commit/cc801b6570df1390283f4528f8a5941cfa9ec837
  Author: Ashwin Kishin Banwari <ashwinkbanwari at gmail.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Driver/autocomplete.c
    M clang/test/SemaCXX/modules.cppm

  Log Message:
  -----------
  [clang] [modules] Add err_main_in_named_module (#146635)

Revival of https://github.com/llvm/llvm-project/pull/146247 which got
reverted for broken test.

Now that https://github.com/llvm/llvm-project/pull/146461 is merged to
allow `extern "C++"` for main, we can merge this change.



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