summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mangle-ms.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2010-07-03 02:41:45 +0000
committerCharles Davis <cdavis@mines.edu>2010-07-03 02:41:45 +0000
commit77552766d93331e96632d7f6288a99453ff58e4f (patch)
treec183b807fd54780a5cd7d82083be880c7c640137 /clang/test/CodeGenCXX/mangle-ms.cpp
parentca99012ac047e0ab8cf5811750482d0f36ffb66a (diff)
downloadbcm5719-llvm-77552766d93331e96632d7f6288a99453ff58e4f.tar.gz
bcm5719-llvm-77552766d93331e96632d7f6288a99453ff58e4f.zip
Fix mangling of array parameters for functions in the Microsoft C++ Mangler.
Only actual functions get mangled correctly; I don't know how to fix it for function pointers yet. Thanks to John McCall for the hint. Also, mangle anonymous tag types. I don't have a suitable testcase yet; I have a feeling that that's going to need support for static locals, and I haven't figured out exactly how MSVC's scheme for mangling those works. llvm-svn: 107561
Diffstat (limited to 'clang/test/CodeGenCXX/mangle-ms.cpp')
-rw-r--r--clang/test/CodeGenCXX/mangle-ms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/mangle-ms.cpp b/clang/test/CodeGenCXX/mangle-ms.cpp
index 6f1f95ccd08..47dedfe27a4 100644
--- a/clang/test/CodeGenCXX/mangle-ms.cpp
+++ b/clang/test/CodeGenCXX/mangle-ms.cpp
@@ -80,4 +80,4 @@ void delta(int * const a, const long &) {}
// Array mangling. (It should be mangled as a const pointer, but that needs
// to be fixed in Sema.)
void epsilon(int a[][10][20]) {}
-// CHECK: @"\01?epsilon@@YAXPAY19BD@H@Z"
+// CHECK: @"\01?epsilon@@YAXQAY19BD@H@Z"
OpenPOWER on IntegriCloud