[all-commits] [llvm/llvm-project] a867cb: [clang] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Oct 15 12:48:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a867cb849ad0ef2e56c63ce091b74aa0497beef8
      https://github.com/llvm/llvm-project/commit/a867cb849ad0ef2e56c63ce091b74aa0497beef8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-10-15 (Sat, 15 Oct 2022)

  Changed paths:
    M clang/lib/Basic/SourceManager.cpp

  Log Message:
  -----------
  [clang] Fix a warning

This patch fixes:

  clang/lib/Basic/SourceManager.cpp:2131:72: warning: suggest
  parentheses around ‘&&’ within ‘||’ [-Wparentheses]




More information about the All-commits mailing list