[all-commits] [llvm/llvm-project] 55a17c: [clang-cl] Fix friend class warning on Windows (#2...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Mon Jun 8 17:22:47 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55a17cc57dd0aa3febe11fef55140a334f01e415
      https://github.com/llvm/llvm-project/commit/55a17cc57dd0aa3febe11fef55140a334f01e415
  Author: Reid Kleckner <rkleckner at nvidia.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/include/llvm/SandboxIR/Use.h

  Log Message:
  -----------
  [clang-cl] Fix friend class warning on Windows (#201720)

clang-cl warned on "friend class CallInst;" because MSVC may resolve
that to "friend llvm::CallInst" instead of the sbox IR mirrored
hierarchy. Drop the class tag and refer to forward declared names
instead.



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