[all-commits] [llvm/llvm-project] fae11a: [flang] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed Aug 23 09:20:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fae11ab208a7d9d43a95c300e64eee23d6735f5b
      https://github.com/llvm/llvm-project/commit/fae11ab208a7d9d43a95c300e64eee23d6735f5b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp

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

This patch fixes:

  flang/lib/Semantics/resolve-directives.cpp:899:29: error: moving a
  temporary object prevents copy elision [-Werror,-Wpessimizing-move]


  Commit: 4efd1e0d3a4b6000ed959c27a4f630a5b363499f
      https://github.com/llvm/llvm-project/commit/4efd1e0d3a4b6000ed959c27a4f630a5b363499f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M lld/tools/lld/lld.cpp

  Log Message:
  -----------
  [lld] Do not include StringSwitch.h (NFC)


Compare: https://github.com/llvm/llvm-project/compare/1c3f7f1748ae...4efd1e0d3a4b


More information about the All-commits mailing list