[all-commits] [llvm/llvm-project] 297d96: Fix uninitialized variable warning. NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Nov 3 03:35:21 PST 2019


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

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

  Log Message:
  -----------
  Fix uninitialized variable warning. NFCI.


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h

  Log Message:
  -----------
  Ensure VPlanPrinter::Depth is initialized to fix static analyzer warning. NFCI.


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

  Changed paths:
    M llvm/include/llvm/Support/LineIterator.h

  Log Message:
  -----------
  Fix line_iterator uninitialized variable warnings. NFCI.

Allows us to auto define the default constructor as well.


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

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineScheduler.h
    M llvm/include/llvm/CodeGen/TargetSchedule.h

  Log Message:
  -----------
  Fix uninitialized variable warnings. NFCI.


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

  Changed paths:
    M llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h

  Log Message:
  -----------
  SymbolRecord - fix more uninitialized variable warnings. NFCI.


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

  Changed paths:
    M clang/lib/Lex/ModuleMap.cpp

  Log Message:
  -----------
  ModuleMap::findHeader - fix null dereference warning. NFCI.

We were checking M for a null value after we'd already dereferenced it multiple times.


Compare: https://github.com/llvm/llvm-project/compare/4e9778e346f2...0b4c2ee3810c


More information about the All-commits mailing list