aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorStella Laurenzo <stellaraccident@gmail.com>2021-10-08 15:39:28 +0000
committerStella Laurenzo <stellaraccident@gmail.com>2021-10-08 15:44:02 +0000
commita201829a201886c2fad4b6ac8da07e2b4e445041 (patch)
treec36b24ac486d31498d8aacdac080d2ea288fe827 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parentaac5b84d4bf7cbb84e7adc491380bf5bfcb8f61b (diff)
downloadllvm-a201829a201886c2fad4b6ac8da07e2b4e445041.zip
llvm-a201829a201886c2fad4b6ac8da07e2b4e445041.tar.gz
llvm-a201829a201886c2fad4b6ac8da07e2b4e445041.tar.bz2
Fix parsing of hex-format index dense tensor attributes.
TensorLiteralParser::getHexAttr does a isIntOrIndexOrFloat check and properly handles index elements, but TensorLiteralParser::getAttr that calls into it has a mismatched check. This just makes the checks match so that index element attrs can parse when of type tensor. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D111374
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions