From: Richard Smith Date: Wed, 3 Feb 2016 01:43:59 +0000 (+0000) Subject: Fix typo in OpenCL type mangling. This is still bogus (we should either use the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9846e1752971a9127599a6f56521d901b7fb93cc;p=clang Fix typo in OpenCL type mangling. This is still bogus (we should either use the actual source name of the typedef or a vendor mangling) but at least it stands a chance of demangling now. We would also benefit from some test coverage of this (OpenCL + __attribute__((overloadable)) is probably required to reach this). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259618 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ItaniumMangle.cpp b/lib/AST/ItaniumMangle.cpp index c9673c6f26..d30f95d036 100644 --- a/lib/AST/ItaniumMangle.cpp +++ b/lib/AST/ItaniumMangle.cpp @@ -2111,7 +2111,7 @@ void CXXNameMangler::mangleType(const BuiltinType *T) { Out << "20ocl_image2dmsaadepth"; break; case BuiltinType::OCLImage2dArrayMSAADepth: - Out << "35ocl_image2darraymsaadepth"; + Out << "25ocl_image2darraymsaadepth"; break; case BuiltinType::OCLImage3d: Out << "11ocl_image3d";