[PATCH] Fix for bug 17427 - Assertion failed: "Computed __func__ length differs from type!"

Bataev, Alexey a.bataev at hotmail.com
Wed Sep 17 00:30:44 PDT 2014


Richard, yes, it fails on lines 79, 76, 88

Best regards,
Alexey Bataev
=============
Software Engineer
Intel Compiler Team

16.09.2014 21:07, Richard Smith пишет:
> ================
> Comment at: lib/AST/Expr.cpp:604
> @@ -603,2 +603,3 @@
> +    Policy.KeepAutoType = true;
>       if ((isa<CXXMethodDecl>(FD) &&
>            cast<CXXMethodDecl>(FD)->getParent()->isLambda()) ||
> ----------------
> This existing code is already trying to handle this situation. Did your tests fail without your change? If so, why?
>
> (The existing code is wrong for decltype(auto), auto*, and so on, but that is not the case your tests seem to be covering.)
>
> http://reviews.llvm.org/D5365
>
>





More information about the cfe-commits mailing list