[all-commits] [llvm/llvm-project] d2639f: [NFC] [C++20] [Modules] Add test for #pragma once

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Sun Mar 19 20:40:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2639ffff2673c39885400c45c317afd4e2c9f8d
      https://github.com/llvm/llvm-project/commit/d2639ffff2673c39885400c45c317afd4e2c9f8d
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    A clang/test/Modules/pr38554.cppm
    A clang/test/Modules/pr58532.cppm

  Log Message:
  -----------
  [NFC] [C++20] [Modules] Add test for #pragma once

Close https://github.com/llvm/llvm-project/issues/38554
Close https://github.com/llvm/llvm-project/issues/58532

It looks like we can workaround the '#pragma once' problem automatically
after we force the lazily loading for named modules. Add a test to show
this.




More information about the All-commits mailing list