[all-commits] [llvm/llvm-project] 916615: [X86] Convert PICStyles::Style to scoped enum clas...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Nov 3 09:28:18 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 91661573fdeaf605d7c4e10dbb596be433353739
      https://github.com/llvm/llvm-project/commit/91661573fdeaf605d7c4e10dbb596be433353739
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2019-11-03 (Sun, 03 Nov 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86Subtarget.cpp
    M llvm/lib/Target/X86/X86Subtarget.h

  Log Message:
  -----------
  [X86] Convert PICStyles::Style to scoped enum class. NFCI.

Fixes MSVC static analyzer warnings about enum safety, this enum performs no integer math so it'd be better to fix its scope.




More information about the All-commits mailing list