summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/nasty_macros.hpp
diff options
context:
space:
mode:
authorAlexander Richardson <arichardson.kde@gmail.com>2017-11-14 11:14:25 +0000
committerAlexander Richardson <arichardson.kde@gmail.com>2017-11-14 11:14:25 +0000
commit42bfedd935065060268f63063a1799cd7086fe4e (patch)
tree43143a7a556ab7b349b3168b09b71df11947ca57 /libcxx/test/support/nasty_macros.hpp
parentdc86e1444d4291ba414b5a2bf5dee25c3aa1efd8 (diff)
downloadbcm5719-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.hpp3
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
OpenPOWER on IntegriCloud