commit | bb11bc4dd1509eab68cf89b58aa7bfe33b5efc76 | [log] [tgz] |
---|---|---|
author | Sebastian Pop <sebpop@gmail.com> | Thu Aug 11 16:51:48 2016 +0000 |
committer | Sebastian Pop <sebpop@gmail.com> | Thu Aug 11 16:51:48 2016 +0000 |
tree | b9ebd609798be5a538675d67042d448854518f4a | |
parent | 1ed1df3a31a18d9a902e0da48feec8f6238c0143 [diff] |
Add 'inline' attribute to __init to inline the basic_string's constructor basic_string's constructor calls init which was not getting inlined. This prevented optimization of const string as init would appear as a call in between a string's def and use. Patch by Laxman Sole and Aditya Kumar. Differential Revision: https://reviews.llvm.org/D22782 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@278356 91177308-0d34-0410-b5e6-96231b3b80d8