[all-commits] [llvm/llvm-project] 7aa77c: [flang] Fix a warning
kazutakahirata via All-commits
all-commits at lists.llvm.org
Fri Jul 22 17:56:25 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7aa77c5a6712a81116d232f789a1fdf36252cad0
https://github.com/llvm/llvm-project/commit/7aa77c5a6712a81116d232f789a1fdf36252cad0
Author: Kazu Hirata <kazu at google.com>
Date: 2022-07-22 (Fri, 22 Jul 2022)
Changed paths:
M flang/lib/Semantics/expression.cpp
Log Message:
-----------
[flang] Fix a warning
This patch fixes:
llvm-project/flang/lib/Semantics/expression.cpp:405:12: error:
moving a local object in a return statement prevents copy elision
[-Werror,-Wpessimizing-move]
More information about the All-commits
mailing list