[llvm] r362331 - Add mangling test coverage for non-volatile const member pointers

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 2 10:23:54 PDT 2019


Author: nico
Date: Sun Jun  2 10:23:53 2019
New Revision: 362331

URL: http://llvm.org/viewvc/llvm-project?rev=362331&view=rev
Log:
Add mangling test coverage for non-volatile const member pointers

Modified:
    llvm/trunk/test/Demangle/ms-mangle.test

Modified: llvm/trunk/test/Demangle/ms-mangle.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Demangle/ms-mangle.test?rev=362331&r1=362330&r2=362331&view=diff
==============================================================================
--- llvm/trunk/test/Demangle/ms-mangle.test (original)
+++ llvm/trunk/test/Demangle/ms-mangle.test Sun Jun  2 10:23:53 2019
@@ -103,6 +103,12 @@
 ?funptr@@YAP6AHXZXZ
 ; CHECK: int (__cdecl * __cdecl funptr(void))(void)
 
+?m@@3PRfoo@@DR1@
+; CHECK: char const foo::*m
+
+?m@@3PERfoo@@DER1@
+; CHECK: char const foo::*m
+
 ?k@@3PTfoo@@DT1@
 ; CHECK: char const volatile foo::*k
 
@@ -393,5 +399,5 @@
 ??0?$L at V?$H at PAH@PR26029@@@PR26029@@QAE at XZ
 ; CHECK: __thiscall PR26029::L<class PR26029::H<int *>>::L<class PR26029::H<int *>>(void)
 
-; ??$emplace_back at ABH@?$vector at HV?$allocator at H@std@@@std@@QAE?A?<decltype-auto>@@ABH at Z
-<decltype-auto> __thiscall std::vector<int, class std::allocator<int>>::emplace_back<int const &>(int const &)
\ No newline at end of file
+??$emplace_back at ABH@?$vector at HV?$allocator at H@std@@@std@@QAE?A?<decltype-auto>@@ABH at Z
+; CHECK: <decltype-auto> __thiscall std::vector<int, class std::allocator<int>>::emplace_back<int const &>(int const &)




More information about the llvm-commits mailing list