[all-commits] [llvm/llvm-project] a8b461: [mlir] Apply ClangTidy BugProne fix

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Thu Apr 11 03:27:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8b461603b3fab3b229ea6552433cb359c30350c
      https://github.com/llvm/llvm-project/commit/a8b461603b3fab3b229ea6552433cb359c30350c
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  [mlir] Apply ClangTidy BugProne fix

forwarding reference passed to std::move(), which may unexpectedly cause
lvalues to be moved; use std::forward() instead.



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