[all-commits] [llvm/llvm-project] ac9204: MCExpr: Remove VK_None

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jun 27 22:37:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac9204de7d4f9010506474b532654fa4bd15edfc
      https://github.com/llvm/llvm-project/commit/ac9204de7d4f9010506474b532654fa4bd15edfc
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/CodeGen/AsmPrinter/WinException.cpp

  Log Message:
  -----------
  MCExpr: Remove VK_None

`enum VariantKind` is deprecated. Targets are encouraged to use their
own relocation specifier constants. MCSymbolRefExpr::create callers with
a VK_None argument should switch to the overload with a VariantKind
parameter.



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