[all-commits] [llvm/llvm-project] 0415cf: Fix unused variable warning. NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Nov 18 08:51:27 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0415cf470bfbf16a06938424c3cad30c12cc2284
      https://github.com/llvm/llvm-project/commit/0415cf470bfbf16a06938424c3cad30c12cc2284
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M clang/lib/AST/APValue.cpp

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

We're just performing a null pointer check, we don't need the actual variable.


  Commit: 480ad4afc215de922ef6aa2ea3befa8d563d00bd
      https://github.com/llvm/llvm-project/commit/480ad4afc215de922ef6aa2ea3befa8d563d00bd
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/MultiHazardRecognizer.h
    M llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h
    M llvm/lib/Target/SystemZ/SystemZHazardRecognizer.cpp
    M llvm/lib/Target/SystemZ/SystemZHazardRecognizer.h

  Log Message:
  -----------
  HazardRecognizer - Fix definition/declaration argument name mismatches. NFCI.

Consistently use SUnit *SU (or drop the argname entirely if not used like the other HazardRecognizer methods).

Silences cppcheck warnings.


Compare: https://github.com/llvm/llvm-project/compare/057e6bb5540b...480ad4afc215


More information about the All-commits mailing list