aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorChristopher Di Bella <cjdb@google.com>2023-10-05 10:32:08 -0700
committerGitHub <noreply@github.com>2023-10-05 10:32:08 -0700
commit48c805bafdfd6b2ece12d809c67b887b39bd739f (patch)
treefe30cbc1c92de5d1f1ceffe479c581d31c5a7f81 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent4a2a6a4111035b4ccd0dce9e6445006f003b88e3 (diff)
downloadllvm-48c805bafdfd6b2ece12d809c67b887b39bd739f.zip
llvm-48c805bafdfd6b2ece12d809c67b887b39bd739f.tar.gz
llvm-48c805bafdfd6b2ece12d809c67b887b39bd739f.tar.bz2
[libcxx] replaces SFINAE with requires-expressions in `bind_front` and `bind_back` (#68249)
The diagnostics for `enable_if_t` are extremely opaque: ``` error: no matching function for call to 'bind_front' note: candidate template ignored: requirement 'integral_constant<bool, false>::value' was not satisfied ``` Using requires-expressions gives us a little more context: ``` error: no matching function for call to 'bind_front' note: candidate template ignored: constraints not satisfied note: because 'is_constructible_v<decay_t<T &>, T &>' evaluated to false ``` Pull request: #68249
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions