diff options
author | Alexander Richardson <arichardson.kde@gmail.com> | 2017-11-14 11:14:25 +0000 |
---|---|---|
committer | Alexander Richardson <arichardson.kde@gmail.com> | 2017-11-14 11:14:25 +0000 |
commit | 42bfedd935065060268f63063a1799cd7086fe4e (patch) | |
tree | 43143a7a556ab7b349b3168b09b71df11947ca57 /libcxx/test/support/nasty_macros.hpp | |
parent | dc86e1444d4291ba414b5a2bf5dee25c3aa1efd8 (diff) | |
download | bcm5719-llvm-42bfedd935065060268f63063a1799cd7086fe4e.tar.gz bcm5719-llvm-42bfedd935065060268f63063a1799cd7086fe4e.zip |
Rename identifiers named `__output`
Summary:
In the CHERI clang compiler __output and __input are keywords and therefore
we can't compile libc++ with our compiler.
Reviewers: mclow.lists, EricWF, theraven
Reviewed By: EricWF
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D39537
llvm-svn: 318144
Diffstat (limited to 'libcxx/test/support/nasty_macros.hpp')
-rw-r--r-- | libcxx/test/support/nasty_macros.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/test/support/nasty_macros.hpp b/libcxx/test/support/nasty_macros.hpp index ff141f7954c..76d8ab0e720 100644 --- a/libcxx/test/support/nasty_macros.hpp +++ b/libcxx/test/support/nasty_macros.hpp @@ -52,4 +52,7 @@ #define __out NASTY_MACRO #endif +#define __output NASTY_MACRO +#define __input NASTY_MACRO + #endif // SUPPORT_NASTY_MACROS_HPP |