[all-commits] [llvm/llvm-project] fe78a9: [NFC] [clangd] [C++20 Modules] Add a warning if cl...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue Aug 26 19:36:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe78a9a75d726e253b45923f5d4000e0c17e15da
      https://github.com/llvm/llvm-project/commit/fe78a9a75d726e253b45923f5d4000e0c17e15da
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M clang-tools-extra/clangd/ScanningProjectModules.cpp

  Log Message:
  -----------
  [NFC] [clangd] [C++20 Modules] Add a warning if clangd detected multiple
source declares the same module

Now clangd assumes no duplicated module declared by different source
file in a sinlge project. But in practice, it may not be the case.

Although we can't fix it now, emitting a warning is helpful for users to
understand what's going on.



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