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
This commit is contained in:
Richard Smith 2016-02-03 01:43:59 +00:00
parent a3029fe93a
commit 9846e17529
1 changed files with 1 additions and 1 deletions

View File

@ -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";