[all-commits] [llvm/llvm-project] 0d5ad5: Remarks - fix shadow variable warnings. NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Nov 9 05:05:57 PST 2019


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

  Changed paths:
    M llvm/lib/Remarks/BitstreamRemarkParser.cpp
    M llvm/lib/Remarks/RemarkFormat.cpp

  Log Message:
  -----------
  Remarks - fix shadow variable warnings. NFCI.

Avoid conflict with llvm::remarks::Magic global variable.


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/R600ISelLowering.cpp

  Log Message:
  -----------
  Fix shadow variable warning by reducing scope of CC/InverseCC CondCodes. NFCI.


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/R600ISelLowering.cpp

  Log Message:
  -----------
  Remove superfluous break after return. NFC.


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

  Changed paths:
    M llvm/lib/Support/Statistic.cpp

  Log Message:
  -----------
  Statistic - Fix shadow variable warning. NFCI.

Rename option 'Stats' to 'EnableStats' and prevent clash with StatisticInfo::Stats member


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/R600ISelLowering.cpp

  Log Message:
  -----------
  Remove duplicate MemVT to fix shadow variable warning. NFCI.


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

  Changed paths:
    M llvm/include/llvm/Bitstream/BitstreamReader.h
    M llvm/include/llvm/Remarks/Remark.h
    M llvm/lib/Remarks/BitstreamRemarkParser.cpp
    M llvm/lib/Remarks/BitstreamRemarkParser.h

  Log Message:
  -----------
  Remarks - fix static analyzer warnings. NFCI.
 - Fix uninitialized variable warnings.
 - Reuse BitstreamEntry iterator to avoid Wshadow warning.
 - Match declaration + definition arg names in BitstreamRemarkParser::processCommonMeta
 - Make BitstreamRemarkParser(StringRef) constructor explicit


Compare: https://github.com/llvm/llvm-project/compare/092577e31722...56a725ae5e1d


More information about the All-commits mailing list