[all-commits] [llvm/llvm-project] ea5abf: Fix "use of uninitialized variable" static analyze...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jan 6 08:37:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea5abf14530634d05b9d1dc6d5d7d5f7934f0ea3
      https://github.com/llvm/llvm-project/commit/ea5abf14530634d05b9d1dc6d5d7d5f7934f0ea3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/LiveDebugVariables.cpp

  Log Message:
  -----------
  Fix "use of uninitialized variable" static analyzer warning. NFCI.


  Commit: 5bcc747393be963620d152e1637b0d2ca79bd3c2
      https://github.com/llvm/llvm-project/commit/5bcc747393be963620d152e1637b0d2ca79bd3c2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp

  Log Message:
  -----------
  Fix "use of uninitialized variable" static analyzer warnings. NFCI.

Add "unreachable" default cases like we do for the other switch()s in X86MCInstLower::Lower


  Commit: ea2c159f966be363d5c19df8d116d471604f7db5
      https://github.com/llvm/llvm-project/commit/ea2c159f966be363d5c19df8d116d471604f7db5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp

  Log Message:
  -----------
  [AMDGPU] Fix "use of uninitialized variable" static analyzer warning. NFCI.

Add "unreachable" default case to AMDGPUTargetStreamer::getArchNameFromElfMach


Compare: https://github.com/llvm/llvm-project/compare/34817e04feeb...ea2c159f966b


More information about the All-commits mailing list