[all-commits] [llvm/llvm-project] e28375: [AsmParser] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed Jul 13 01:53:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e28375d3f2fabb655b74d6a6d2fa98c76678cf87
      https://github.com/llvm/llvm-project/commit/e28375d3f2fabb655b74d6a6d2fa98c76678cf87
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-07-13 (Wed, 13 Jul 2022)

  Changed paths:
    M llvm/lib/AsmParser/LLParser.cpp

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

This patch fixes:

  llvm/lib/AsmParser/LLParser.cpp:466:34: error: moving a temporary
  object prevents copy elision [-Werror,-Wpessimizing-move]




More information about the All-commits mailing list