[PATCH] Microsoft mangling of return type deducing functions/lambdas that return local types
Faisal Vali
faisalv at yahoo.com
Sun Mar 30 07:10:51 PDT 2014
================
Comment at: lib/AST/MicrosoftMangle.cpp:1557
@@ +1556,3 @@
+ else if (ResultType->getContainedAutoType()) {
+ if (ResultType->isRecordType()) {
+ CXXRecordDecl *RD = ResultType->getAsCXXRecordDecl();
----------------
FYI - I suspect local enums might cause such a problem too, right (what else?)
http://llvm-reviews.chandlerc.com/D3221
More information about the cfe-commits
mailing list