[all-commits] [llvm/llvm-project] ca0904: [Interpreter] Fix warnings

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Apr 20 11:11:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca090452d64e229b539a66379a3be891c4e8f3d8
      https://github.com/llvm/llvm-project/commit/ca090452d64e229b539a66379a3be891c4e8f3d8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-20 (Sat, 20 Apr 2024)

  Changed paths:
    M clang/lib/Interpreter/IncrementalParser.cpp

  Log Message:
  -----------
  [Interpreter] Fix warnings

This patch fixes:

  clang/lib/Interpreter/IncrementalParser.cpp:214:29: error: moving a
  temporary object prevents copy elision [-Werror,-Wpessimizing-move]

  clang/lib/Interpreter/IncrementalParser.cpp:232:22: error: moving a
  temporary object prevents copy elision [-Werror,-Wpessimizing-move]



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list