diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2022-01-18 07:25:17 -0500 |
---|---|---|
committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2022-01-27 14:21:50 -0500 |
commit | 9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe (patch) | |
tree | 89dd15c6b8ab1174ae1edbaf11407aed3a8ee0ae /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 82973edfb72a95b442fa6d2bb404e15a4031855e (diff) | |
download | llvm-9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe.zip llvm-9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe.tar.gz llvm-9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe.tar.bz2 |
[clang] Don't typo-fix an expression in a SFINAE context.
If this is a SFINAE context, then continuing to look up names
(in particular, to treat a non-function as a function, and then
do ADL) might too-eagerly complete a type that it's not safe to
complete right now. We should just say "okay, that's a substitution
failure" and not do any more work than absolutely required.
Fixes #52970.
Differential Revision: https://reviews.llvm.org/D117603
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions