summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ItaniumMangle.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-02-03 01:43:59 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-02-03 01:43:59 +0000
commit8467c87aa2dd1871dcf7867af375a1fba33b0921 (patch)
tree21cbd1b03771f6c0a3e90439a728f6826de5d124 /clang/lib/AST/ItaniumMangle.cpp
parentd62d8b771d3cc51b0b9e095011c7a1a6f83ce477 (diff)
downloadbcm5719-llvm-8467c87aa2dd1871dcf7867af375a1fba33b0921.tar.gz
bcm5719-llvm-8467c87aa2dd1871dcf7867af375a1fba33b0921.zip
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). llvm-svn: 259618
Diffstat (limited to 'clang/lib/AST/ItaniumMangle.cpp')
-rw-r--r--clang/lib/AST/ItaniumMangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp
index c9673c6f26b..d30f95d0367 100644
--- a/clang/lib/AST/ItaniumMangle.cpp
+++ b/clang/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";
OpenPOWER on IntegriCloud