summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-01-29 18:01:14 +0000
committerEric Fiselier <eric@efcs.ca>2019-01-29 18:01:14 +0000
commit011943a6e805a7666a7bff90ba27cd766bcc3a58 (patch)
treeb75e81f32fb2253a3cc0ce9323c2a835dcecbb52 /clang/lib
parentd13777aa18cfe2904110038429095433b92783f3 (diff)
downloadbcm5719-llvm-011943a6e805a7666a7bff90ba27cd766bcc3a58.tar.gz
bcm5719-llvm-011943a6e805a7666a7bff90ba27cd766bcc3a58.zip
Fix PR40495 - is_invokable_v<void> does not compile
The meta-programming that attempted to form the invoke call expression was not in a SFINAE context. This made it a hard error to provide non-referencable types like 'void' or 'void (...) const'. This patch fixes the error by checking the validity of the call expression within a SFINAE context. llvm-svn: 352522
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud