[PATCH] D18596: [MSVC] PR27132: Proper mangling for __unaligned qualifier

Andrey Bokhanko via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 30 07:10:34 PDT 2016


andreybokhanko created this revision.
andreybokhanko added reviewers: rnk, majnemer.
andreybokhanko added a subscriber: cfe-commits.

This patch implements proper mangling for MS-specific "__unaligned" qualifier. The mangling part itself is tiny; most of the patch is required to convert "__unaligned" from an ignored qualifier to a non-ignored one.

See PR27132 for an example of code that mangles incorrectly at the moment.

Yours,
Andrey
=====
Software Engineer
Intel Compiler Team

http://reviews.llvm.org/D18596

Files:
  include/clang/AST/Type.h
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  lib/AST/MicrosoftMangle.cpp
  lib/AST/Type.cpp
  lib/AST/TypePrinter.cpp
  lib/Sema/SemaType.cpp
  test/CodeGenCXX/mangle-ms-cxx11.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18596.52055.patch
Type: text/x-patch
Size: 5632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160330/54efafa4/attachment.bin>


More information about the cfe-commits mailing list