[all-commits] [llvm/llvm-project] e4d686: [flang] Fix -Wstring-conversion in PPCIntrinsicCal...

Jie Fu via All-commits all-commits at lists.llvm.org
Sun Jul 2 23:15:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4d6860d2de450f5e34f129d05cb0a67703cab73
      https://github.com/llvm/llvm-project/commit/e4d6860d2de450f5e34f129d05cb0a67703cab73
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M flang/lib/Optimizer/Builder/PPCIntrinsicCall.cpp

  Log Message:
  -----------
  [flang] Fix -Wstring-conversion in PPCIntrinsicCall.cpp (NFC)

/Users/jiefu/llvm-project/flang/lib/Optimizer/Builder/PPCIntrinsicCall.cpp:617:14: error: implicit conversion turns string literal into bool: 'const char[39]' to 'bool' [-Werror,-Wstring-conversion]
      assert("Invalid vector operation for generator");
      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the All-commits mailing list