diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-02-12 23:50:26 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-02-12 23:50:26 +0000 |
| commit | dd6709eec187570e222414da5b28196201b8c561 (patch) | |
| tree | b15f88ccd652665343ebac136b755f7b1396aba8 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 0e76625dcc45865707b199bcd63d727b70fc05b1 (diff) | |
| download | clang-dd6709eec187570e222414da5b28196201b8c561.tar.gz clang-dd6709eec187570e222414da5b28196201b8c561.tar.bz2 clang-dd6709eec187570e222414da5b28196201b8c561.tar.xz | |
MS ABI: Implement #pragma vtordisp() and clang-cl /vdN
These features are new in VS 2013 and are necessary in order to layout
std::ostream correctly. Currently we have an ABI incompatibility when
self-hosting with the 2013 stdlib in our convertible_fwd_ostream wrapper
in gtest.
This change adds another implicit attribute, MSVtorDispAttr, because
implicit attributes are currently the best way to make sure the
information stays on class templates through instantiation.
Reviewers: majnemer
Differential Revision: http://llvm-reviews.chandlerc.com/D2746
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
