[all-commits] [llvm/llvm-project] 0e0747: [CIR] Implement lowering for LinkageSpecDecl (#137...

Erich Keane via All-commits all-commits at lists.llvm.org
Mon Apr 28 15:23:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e07478a5ea7df42a7ec0536b0dfd591e421d844
      https://github.com/llvm/llvm-project/commit/0e07478a5ea7df42a7ec0536b0dfd591e421d844
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2025-04-28 (Mon, 28 Apr 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    A clang/test/CIR/CodeGen/linkage-spec.cpp

  Log Message:
  -----------
  [CIR] Implement lowering for LinkageSpecDecl (#137634)

Like the NamespaceDecl, this is just emitted as a decl-context, where
all its internal declarations get emitted for it. The incubator doesn't
seem to have any good tests for this, so I wrote what I could think of
as a half-decent test for this one, though the lowering doesn't manage
whether these should be mangled, so the test is mostly just for
spot-checking purposes.

I'm implementing this as it will make writing further tests for future
features a little easier.



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