[all-commits] [llvm/llvm-project] 2cbb96: X86Operand::print - fix SymName shadow variable wa...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Nov 2 11:48:26 PDT 2019


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

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86Operand.h

  Log Message:
  -----------
  X86Operand::print - fix SymName shadow variable warning. NFCI.


  Commit: f722071a9ed9443be9f4847221341fc1d2fb229e
      https://github.com/llvm/llvm-project/commit/f722071a9ed9443be9f4847221341fc1d2fb229e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2019-11-02 (Sat, 02 Nov 2019)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp

  Log Message:
  -----------
  X86_MC::createX86MCSubtargetInfo - X86_MC::ParseX86Triple never returns an empty string. NFCI.

PVS Studio was complaining that the expression '!ArchFS.empty()' is always true.


Compare: https://github.com/llvm/llvm-project/compare/f35740d6e954...f722071a9ed9


More information about the All-commits mailing list