diff options
| author | bzcheeseman <aman.lachapelle@gmail.com> | 2022-11-15 21:23:18 -0800 |
|---|---|---|
| committer | bzcheeseman <aman.lachapelle@gmail.com> | 2022-11-18 08:13:30 -0800 |
| commit | bf87d5ad8207b6002d0ff247f4803698be35950d (patch) | |
| tree | 7873109f57a0db653543dcf529a7c70a5e905722 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | a8bec6117998cd4a9ff6798381cd0df9c9edb982 (diff) | |
| download | llvm-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
