From b839888af8f20a34662817c8ceb34658e3e201f8 Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Thu, 8 Sep 2016 14:31:44 +0000 Subject: [PATCH] Added 'inline' attribute to basic_string's destructor Author: laxmansole Reviewers: howard.hinnant mclow.lists Subscribers: EricWF, flyingforyou, evandro Differential Revision: https://reviews.llvm.org/D22834 Currently basic_string's destructor is not getting inlined. So adding 'inline' attribute to ~basic_string(). Worked in collaboration with Aditya Kumar. llvm-svn: 280944 --- libcxx/include/string | 1 + 1 file changed, 1 insertion(+) diff --git a/libcxx/include/string b/libcxx/include/string index b9e044e..1042ee6 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -1798,6 +1798,7 @@ basic_string<_CharT, _Traits, _Allocator>::basic_string(initializer_list +inline _LIBCPP_INLINE_VISIBILITY basic_string<_CharT, _Traits, _Allocator>::~basic_string() { #if _LIBCPP_DEBUG_LEVEL >= 2 -- 2.7.4