diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2019-10-29 17:28:34 +0100 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2019-10-29 17:36:55 +0100 |
commit | 1c85a2e8dc7e76761d301f9a35374e0aafc757ec (patch) | |
tree | 7ccf48d93f8bb2d12e0fecf21625c29bc04bfb45 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | d6a7da80aae62474c15cad83d361830ffc4e2566 (diff) | |
download | bcm5719-llvm-1c85a2e8dc7e76761d301f9a35374e0aafc757ec.tar.gz bcm5719-llvm-1c85a2e8dc7e76761d301f9a35374e0aafc757ec.zip |
isBuiltinFunc() uses StringRef instead of const char*
Summary: This prevents a bug when passing nullptr, StringRef ctor would call strlen(nullptr).
Reviewers: vlad.tsyrklevich
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69569
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions