| commit | 87d948ecccffea9e9e37d0d053b246e2d6d6c47b | [log] [tgz] |
|---|---|---|
| author | Pirama Arumuga Nainar <pirama@google.com> | Thu Mar 03 15:49:35 2016 -0800 |
| committer | Pirama Arumuga Nainar <pirama@google.com> | Thu Mar 17 11:39:25 2016 -0700 |
| tree | 99fff4ac7dfe8322a1da3978352299e8f18e10d8 | |
| parent | 574b9e18c787103e70b7c4f2eb225fbeffcfd476 [diff] [blame] |
Update aosp/master clang for rebase to r256229 http://b/26987366 Change-Id: I5d349c9843ea5c24d6e455956f8a446393b6873d
diff --git a/lib/Edit/Commit.cpp b/lib/Edit/Commit.cpp index 9c08cc2..cb7a784 100644 --- a/lib/Edit/Commit.cpp +++ b/lib/Edit/Commit.cpp
@@ -183,7 +183,7 @@ data.Kind = Act_Insert; data.OrigLoc = OrigLoc; data.Offset = Offs; - data.Text = copyString(text); + data.Text = text.copy(StrAlloc); data.BeforePrev = beforePreviousInsertions; CachedEdits.push_back(data); }