Skip to content
Commit 0a997cbd authored by Rui Ueyama's avatar Rui Ueyama
Browse files

Fix undefined behavior.

Having std:move(mb) and mb->getBuffer() in the same argument list is not safe
because the order of evaluation is not defined.

llvm-svn: 234541
parent 2e8cb722
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment