MS ABI: Add support for #pragma pointers_to_members

Press ? to show keyboard shortcuts.
Committed
majnemerFeb 10 2014, 11:50 AM
Differential Revision
D2723: MS ABI: Add support for #pragma pointers_to_members
Parents
rL201104: [LPM] A terribly simple fix to a terribly complex bug: PR18773.
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

MS ABI: Add support for #pragma pointers_to_members

Introduce a notion of a 'current representation method' for
pointers-to-members.

When starting out, this is set to 'best case' (representation method is
chosen by examining the class, selecting the smallest representation
that would work given the class definition or lack thereof).

This pragma allows the translation unit to dictate exactly what
representation to use, similar to how the inheritance model keywords
operate.

N.B. PCH support is forthcoming.

Differential Revision: http://llvm-reviews.chandlerc.com/D2723

rL201105

cfe/trunk/include/clang/AST/DeclCXX.h

Loading...

cfe/trunk/include/clang/Basic/Attr.td

Loading...

cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td

Loading...

cfe/trunk/include/clang/Basic/TokenKinds.def

Loading...

cfe/trunk/include/clang/Parse/Parser.h

Loading...

cfe/trunk/include/clang/Sema/Sema.h

Loading...

cfe/trunk/lib/AST/MicrosoftCXXABI.cpp

Loading...

cfe/trunk/lib/Parse/ParseDeclCXX.cpp

Loading...

cfe/trunk/lib/Parse/ParsePragma.cpp

Loading...

cfe/trunk/lib/Parse/ParsePragma.h

Loading...

cfe/trunk/lib/Parse/ParseStmt.cpp

Loading...

cfe/trunk/lib/Parse/Parser.cpp

Loading...

cfe/trunk/lib/Sema/Sema.cpp

Loading...

cfe/trunk/lib/Sema/SemaAttr.cpp

Loading...

cfe/trunk/lib/Sema/SemaDecl.cpp

Loading...

cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Loading...

cfe/trunk/lib/Sema/SemaType.cpp

Loading...

cfe/trunk/test/SemaCXX/member-pointer-ms.cpp

Loading...

cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp

Loading...

Add Comment