[clang] [Clang] Fix name lookup of conversion operators (PR #142945)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 11 01:17:27 PDT 2025
================
@@ -3310,6 +3310,7 @@ static QualType GetDeclSpecTypeForDeclarator(TypeProcessingState &state,
IsDeducedReturnType = true;
break;
case DeclaratorContext::ConversionId:
+ case DeclaratorContext::ConversionIdInPostfixExpr:
if (!SemaRef.getLangOpts().CPlusPlus14 || !IsCXXAutoType)
----------------
cor3ntin wrote:
Do we have tests for these diagnostics?
https://github.com/llvm/llvm-project/pull/142945
More information about the cfe-commits
mailing list