[all-commits] [llvm/llvm-project] daf3c9: [CIR] Upstream support for typedef and type aliase...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri Apr 18 12:53:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daf3c985f75bae2f4f01594be2fbc02f953e7b06
      https://github.com/llvm/llvm-project/commit/daf3c985f75bae2f4f01594be2fbc02f953e7b06
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-04-18 (Fri, 18 Apr 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/test/CIR/CodeGen/basic.c
    M clang/test/CIR/CodeGen/basic.cpp
    A clang/test/CIR/CodeGen/typedef.c

  Log Message:
  -----------
  [CIR] Upstream support for typedef and type aliases (#136335)

Nothing is actually needed in ClangIR to support typedef and type
aliases, but the Decl kinds need to be explicitly ignored in the
emitDecl handlers to avoid hitting the default NYI errors. This change
does that and adds tests.



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