aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
diff options
context:
space:
mode:
authorYang Fan <nullptr.cpp@gmail.com>2021-02-16 16:09:26 -0500
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-02-16 17:24:20 -0500
commitfbee4a0c79cc4ee87c34e51342742a5bc6fcf872 (patch)
tree6ba7cc030eabf34e2aa61c8c9d8590e3b7a66767 /llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
parent16af97393346ad636298605930a8b503a55eb40a (diff)
downloadllvm-fbee4a0c79cc4ee87c34e51342742a5bc6fcf872.zip
llvm-fbee4a0c79cc4ee87c34e51342742a5bc6fcf872.tar.gz
llvm-fbee4a0c79cc4ee87c34e51342742a5bc6fcf872.tar.bz2
[C++20] [P1825] More implicit moves
Implement all of P1825R0: - implicitly movable entity can be an rvalue reference to non-volatile automatic object. - operand of throw-expression can be a function or catch-clause parameter (support for function parameter has already been implemented). - in the first overload resolution, the selected function no need to be a constructor. - in the first overload resolution, the first parameter of the selected function no need to be an rvalue reference to the object's type. This patch also removes the diagnostic `-Wreturn-std-move-in-c++11`. Differential Revision: https://reviews.llvm.org/D88220
Diffstat (limited to 'llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp')
0 files changed, 0 insertions, 0 deletions