diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-21 02:17:58 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-21 02:17:58 +0000 |
| commit | 9f6e9106176008e91af6a974b3cf31c064d6d884 (patch) | |
| tree | d361537a054e3381c213fb31ee7aade1087eceb6 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 75f6a66f9a946a6839f70cf4856ceb1fb94aa6ad (diff) | |
| download | clang-9f6e9106176008e91af6a974b3cf31c064d6d884.tar.gz clang-9f6e9106176008e91af6a974b3cf31c064d6d884.tar.bz2 clang-9f6e9106176008e91af6a974b3cf31c064d6d884.tar.xz | |
libstdc++'s <cstdalign> #includes <stdalign.h> and expects it to guard against
being included in C++. Don't define alignof or alignas in this case. Note that
the C++11 standard is broken in various ways here (it refers to the contents
of <stdalign.h> in C99, where that header did not exist, and doesn't mention
the alignas macro at all), but we do our best to do what it intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
