diff options
author | David Bolvansky <david.bolvansky@gmail.com> | 2019-09-23 18:20:01 +0000 |
---|---|---|
committer | David Bolvansky <david.bolvansky@gmail.com> | 2019-09-23 18:20:01 +0000 |
commit | 8d5201615542c7bb6adb90bf300a9aa4897df18a (patch) | |
tree | 7ef89ccd8c499fbee25321bedf34fbfbe13d79f4 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py | |
parent | dba792c5229b0595a2222b36b55d74c6dc9395aa (diff) | |
download | bcm5719-llvm-8d5201615542c7bb6adb90bf300a9aa4897df18a.tar.gz bcm5719-llvm-8d5201615542c7bb6adb90bf300a9aa4897df18a.zip |
[SLC] Convert some strndup calls to strdup calls
Summary:
Motivation:
- If we can fold it to strdup, we should (strndup does more things than strdup).
- Annotation mechanism. (Works for strdup well).
strdup and strndup are part of C 20 (currently posix fns), so we should optimize them.
Reviewers: efriedma, jdoerfert
Reviewed By: jdoerfert
Subscribers: lebedev.ri, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67679
llvm-svn: 372636
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions