diff options
author | Dan Albert <danalbert@google.com> | 2015-02-05 23:55:15 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-02-05 23:55:15 +0000 |
commit | f25c866ba6c188c1a1e4a5100a989b51f9e93f5c (patch) | |
tree | f2621cd22108bf164d7bfcca05c09d92a39ad396 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 8ab869010f3be37b51262ad139641084b88b6bf4 (diff) | |
download | llvm-f25c866ba6c188c1a1e4a5100a989b51f9e93f5c.zip llvm-f25c866ba6c188c1a1e4a5100a989b51f9e93f5c.tar.gz llvm-f25c866ba6c188c1a1e4a5100a989b51f9e93f5c.tar.bz2 |
[libcxxabi] Fix -Werror build for 32-bit non-ARM.
Summary:
The inclusion of Unwind-EHABI.h was insufficiently guarded
(LIBCXXABI_ARM_EHABI was beign checked without ever being defined).
Move the check into the header file itself, add the check to the
source file, and clean up the existing checks.
LIBCXXABI_ARM_EHABI didn't have a canonical defintion; it was
duplicated across cxxabi.h, libunwind.h, and unwind.h. Move the
definition into __cxxabi_config.h and clean up the old cruft (note: we
will have to ship this header).
There are also a few drive-by formatting/whitespace cleanups.
Reviewers: jroelofs, thakis, compnerd
Reviewed By: compnerd
Subscribers: compnerd, aemerson, cfe-commits
Differential Revision: http://reviews.llvm.org/D7419
llvm-svn: 228363
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions