[PATCH] D19654: PR27132: Proper mangling for __unaligned qualifier (now with PR27367 fixed)

David Majnemer via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 30 03:03:39 PDT 2016


majnemer added inline comments.

================
Comment at: lib/AST/MicrosoftMangle.cpp:1583-1584
@@ -1579,2 +1582,4 @@
   case QMM_Result:
+    // Presence of __unaligned qualifier shouldn't affect mangling here.
+    Quals.removeUnaligned();
     if ((!IsPointer && Quals) || isa<TagType>(T)) {
----------------
andreybokhanko wrote:
> Done. Test added.
Hmm, can you give a concrete example why we need this line?


http://reviews.llvm.org/D19654





More information about the cfe-commits mailing list