[all-commits] [llvm/llvm-project] e2ae39: [CIR] Add empty handlers for Using and UsingShadow...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Thu Jun 5 16:05:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2ae39d0dfb072642c9943eb1ed7fe2a100d9ad0
      https://github.com/llvm/llvm-project/commit/e2ae39d0dfb072642c9943eb1ed7fe2a100d9ad0
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/test/CIR/CodeGen/namespace.cpp

  Log Message:
  -----------
  [CIR] Add empty handlers for Using and UsingShadow decls (#143032)

This adds emitTopLevelDecl "handlers" for Using and UsingShadow. These
don't actually need any handling, but they need to be present in the
switch to avoid hitting the default handler, which issues a diagnostic
about the decl kind not being implemented.

There are several other decl kinds that don't need any handling. Those
will be added when I have test cases for them.



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