[all-commits] [llvm/llvm-project] 7370e4: Fix warnings

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Mar 24 09:52:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7370e45fb480672bea6483876090c33df5f66228
      https://github.com/llvm/llvm-project/commit/7370e45fb480672bea6483876090c33df5f66228
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/AddUsing.cpp
    M clang/lib/Driver/ToolChains/OHOS.cpp
    M llvm/lib/ProfileData/RawMemProfReader.cpp

  Log Message:
  -----------
  Fix warnings

This patch fixes:

  clang/lib/Driver/ToolChains/OHOS.cpp:410:18: warning: unused
  variable ‘A’ [-Wunused-variable]

  clang-tools-extra/clangd/refactor/tweaks/AddUsing.cpp:293:15:
  warning: unused variable ‘II’ [-Wunused-variable]

  llvm/lib/ProfileData/RawMemProfReader.cpp:364:68: warning: suggest
  parentheses around ‘&&’ within ‘||’ [-Wparentheses]




More information about the All-commits mailing list