[all-commits] [llvm/llvm-project] ec8fe7: [LTO] Use enum class for ImportFailureReason (NFC)...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Aug 21 16:53:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec8fe7ad81af6c211fb26c34824092e5bca08f5e
      https://github.com/llvm/llvm-project/commit/ec8fe7ad81af6c211fb26c34824092e5bca08f5e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-21 (Wed, 21 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h

  Log Message:
  -----------
  [LTO] Use enum class for ImportFailureReason (NFC) (#105564)

It turns out that all uses of the enum values here are already
qualified like FunctionImporter::ImportFailureReason::None, so we can
switch to enum class without touching the rest of the codebase.



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