| commit | 011943a6e805a7666a7bff90ba27cd766bcc3a58 | [log] [tgz] |
|---|---|---|
| author | Eric Fiselier <eric@efcs.ca> | Tue Jan 29 18:01:14 2019 +0000 |
| committer | Eric Fiselier <eric@efcs.ca> | Tue Jan 29 18:01:14 2019 +0000 |
| tree | b75e81f32fb2253a3cc0ce9323c2a835dcecbb52 | |
| parent | d13777aa18cfe2904110038429095433b92783f3 [diff] |
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