aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorbzcheeseman <aman.lachapelle@gmail.com>2022-11-15 21:23:18 -0800
committerbzcheeseman <aman.lachapelle@gmail.com>2022-11-18 08:13:30 -0800
commitbf87d5ad8207b6002d0ff247f4803698be35950d (patch)
tree7873109f57a0db653543dcf529a7c70a5e905722 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parenta8bec6117998cd4a9ff6798381cd0df9c9edb982 (diff)
downloadllvm-bf87d5ad8207b6002d0ff247f4803698be35950d.zip
llvm-bf87d5ad8207b6002d0ff247f4803698be35950d.tar.gz
llvm-bf87d5ad8207b6002d0ff247f4803698be35950d.tar.bz2
[MLIR][Parser] Add `parseBase64Bytes`.
This patch adds `parseBase64Bytes` to the parser. It attempts to avoid double-allocating the buffer by re-using the token's spelling directly and eliding the quotes if they exist. It also avoids extra allocations by using std::vector<char> in the API - something we should change when the llvm::decodeBase64 API changes. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D138090
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions