[all-commits] [llvm/llvm-project] fc8d61: [IR] Fix deprecated-enum-enum-conversion C++20 war...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Fri Jun 12 00:37:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc8d61811e16874575a73df5e919201c903513c9
      https://github.com/llvm/llvm-project/commit/fc8d61811e16874575a73df5e919201c903513c9
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M llvm/lib/IR/Value.cpp

  Log Message:
  -----------
  [IR] Fix deprecated-enum-enum-conversion C++20 warnings; NFC (#203277)

This addition of enum values resulted in many warnings of the form

    warning: arithmetic between different enumeration types
    'llvm::Value::ValueTy' and 'llvm::Instruction::TermOps' is
    deprecated



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