================ Comment at: lib/AST/ASTContext.cpp:4186-4189 @@ +4185,6 @@ + Qualifiers qs = PrettyArrayType->getIndexTypeQualifiers(); + // MSVC seems to say that 'int x[4]' decays to 'int *const', which really only + // matters for C++ name mangling. + if (getTargetInfo().getCXXABI().isMicrosoft()) + qs.addConst(); + return getQualifiedType(PtrTy, qs); ---------------- Are you sure this isn't just a quirk of the way they mangle function parameter types?
http://llvm-reviews.chandlerc.com/D844 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
