diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-02-03 01:43:59 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-02-03 01:43:59 +0000 |
commit | 9846e1752971a9127599a6f56521d901b7fb93cc (patch) | |
tree | a91bbc4f7c1d05378f0292e89cf50a689eeec37c /lib/AST/ItaniumMangle.cpp | |
parent | a3029fe93a9fe66a11d39281aab9ce177ed5aff9 (diff) |
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
Diffstat (limited to 'lib/AST/ItaniumMangle.cpp')
-rw-r--r-- | lib/AST/ItaniumMangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |