[all-commits] [llvm/llvm-project] 7bc170: [C++20] [Modules] [Serialization] Don't record '#p...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Jan 15 01:01:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bc170a261ae0daaddcc1abeacf7e9e0f1f66d02
      https://github.com/llvm/llvm-project/commit/7bc170a261ae0daaddcc1abeacf7e9e0f1f66d02
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Modules/pr77995.cppm

  Log Message:
  -----------
  [C++20] [Modules] [Serialization] Don't record '#pragma once' information in named modules

Close https://github.com/llvm/llvm-project/issues/77995

The cause of the issue is that straight forward that we recorded the
'#pragma once' information in named modules, which is an overlook.

I tried to not record the header's information completely within named
modules. But the tests look not happy with some diagnosing problems,
which needs to be looked in details.




More information about the All-commits mailing list