[all-commits] [llvm/llvm-project] ca8a41: [C++20] [Modules] Always emit the inline builtins

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue Jul 30 02:57:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca8a4111f796fe8533e0af95557875b15becff06
      https://github.com/llvm/llvm-project/commit/ca8a4111f796fe8533e0af95557875b15becff06
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/Modules/inline-builtins.cppm

  Log Message:
  -----------
  [C++20] [Modules] Always emit the inline builtins

See the attached test for the motivation example. If we're too greedy to
not emit the definition for inline builtins, we may meet a middle end
crash. And it should be good to emit inline builtins always.



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