aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2020-06-22 15:32:21 -0400
committerLei Zhang <antiagainst@google.com>2020-06-22 15:43:40 -0400
commit315bd964377fe8a465e2f6c8c7c06ae9c900bb0f (patch)
tree43c520c4b9f7014dae440f6adb0f98522fa76828 /clang/lib/Frontend/CompilerInvocation.cpp
parent1357c065783e8d66c9db4be59aca389d1dc6c05f (diff)
downloadllvm-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