From 128ec49e296657b60eeeea2bf2a3eacca5efe358 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 21 Sep 2012 19:21:37 +0000 Subject: [PATCH] Rename class __lambda to __lambda_node to avoid clash with gcc. This fixes http://llvm.org/bugs/show_bug.cgi?id=13889 llvm-svn: 164405 --- libcxxabi/src/cxa_demangle.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcxxabi/src/cxa_demangle.cpp b/libcxxabi/src/cxa_demangle.cpp index f16ee4f..32f63eb 100644 --- a/libcxxabi/src/cxa_demangle.cpp +++ b/libcxxabi/src/cxa_demangle.cpp @@ -3932,11 +3932,11 @@ public: } }; -class __lambda +class __lambda_node : public __node { public: - __lambda(__node* params, const char *number, size_t number_size) + __lambda_node(__node* params, const char *number, size_t number_size) { __right_ = params; __name_ = number; @@ -7009,7 +7009,7 @@ __demangle_tree::__parse_unnamed_type_name(const char* first, const char* last) return first; if (type == 'l') - __make<__lambda>(__root_, number_start, static_cast(number_end - number_start)); + __make<__lambda_node>(__root_, number_start, static_cast(number_end - number_start)); else __make<__unnamed>(number_start, static_cast(number_end - number_start)); -- 2.7.4