[all-commits] [llvm/llvm-project] b47dac: [flang][OpenMP] Remove pessimizing move introduced...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Mar 7 06:39:02 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b47dac609bbd7697db5287f628b431dac661dc23
      https://github.com/llvm/llvm-project/commit/b47dac609bbd7697db5287f628b431dac661dc23
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M flang/lib/Parser/parse-tree.cpp

  Log Message:
  -----------
  [flang][OpenMP] Remove pessimizing move introduced in 90f45a15ab

This unbreaks the builders that diagnose this situation:

  error: moving a temporary object prevents copy elision [-Werror,-Wpess
imizing-move]
    341 |   static OmpClauseList empty{std::move(decltype(OmpClauseList:
:v){})};
        |                              ^



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