[all-commits] [llvm/llvm-project] 313ad8: [Coroutines] Fix warnings
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Oct 3 08:36:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 313ad85dfa40a18f2edefd7ce2edc0528d5a554a
https://github.com/llvm/llvm-project/commit/313ad85dfa40a18f2edefd7ce2edc0528d5a554a
Author: Kazu Hirata <kazu at google.com>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
M llvm/include/llvm/Transforms/Coroutines/CoroSplit.h
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
Log Message:
-----------
[Coroutines] Fix warnings
This patch fixes:
llvm/include/llvm/Transforms/Coroutines/CoroSplit.h:26:1: note: did
you mean struct here?
llvm/lib/Transforms/Coroutines/CoroSplit.cpp:2225:16: error: moving
a local object in a return statement prevents copy elision
[-Werror,-Wpessimizing-move]
llvm/lib/Transforms/Coroutines/CoroSplit.cpp:2236:16: error: moving
a local object in a return statement 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