Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]
- Loading branch information
313ad85
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching these! I am a bit confused why I don't see these warnings/errors when I build.
313ad85
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are welcome. I personally catch these warnings by running cmake with: