diff options
author | Lei Zhang <antiagainst@google.com> | 2020-06-22 15:32:21 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2020-06-22 15:43:40 -0400 |
commit | 315bd964377fe8a465e2f6c8c7c06ae9c900bb0f (patch) | |
tree | 43c520c4b9f7014dae440f6adb0f98522fa76828 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1357c065783e8d66c9db4be59aca389d1dc6c05f (diff) | |
download | llvm-315bd964377fe8a465e2f6c8c7c06ae9c900bb0f.zip llvm-315bd964377fe8a465e2f6c8c7c06ae9c900bb0f.tar.gz llvm-315bd964377fe8a465e2f6c8c7c06ae9c900bb0f.tar.bz2 |
Use std::make_tuple instead initializer list
Hopefully this pleases GCC-5 and fixes the build error:
LowerExpectIntrinsic.cpp:62:53: error: converting to
'std::tuple<unsigned int, unsigned int>' from initializer list would use
explicit constructor 'constexpr std::tuple<_T1, _T2>::tuple(_U1&&,
_U2&&) [with _U1 = llvm::cl::opt<unsigned int>&; _U2 =
llvm::cl::opt<unsigned int>&; <template-parameter-2-3> = void; _T1 =
unsigned int; _T2 = unsigned int]'
return {LikelyBranchWeight, UnlikelyBranchWeight};
Differential Revision: https://reviews.llvm.org/D82325
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions