================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to