aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2021-11-10 00:38:01 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-11-10 00:47:15 +0000
commitf30a8a6f6740c1348928090f7749b638bf0f646a (patch)
tree214b34d3d4b8108e0f33b2251149b298c72dccdf /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentc27d85a9c91080c0d501f5e070026f06cfacceaa (diff)
downloadllvm-f30a8a6f6740c1348928090f7749b638bf0f646a.zip
llvm-f30a8a6f6740c1348928090f7749b638bf0f646a.tar.gz
llvm-f30a8a6f6740c1348928090f7749b638bf0f646a.tar.bz2
Change the contract with the type/attribute parsing to let the dispatch handle the mnemonic
This breaking change requires to remove printing the mnemonic in the print() method on Type/Attribute classes. This makes it consistent with the parsing code which alread handles the mnemonic outside of the parsing method. This likely won't break the build for anyone, but tests will start failing for dialects downstream. The fix is trivial and look like going from: void emitc::OpaqueType::print(DialectAsmPrinter &printer) const { printer << "opaque<\""; to: void emitc::OpaqueAttr::print(DialectAsmPrinter &printer) const { printer << "<\""; Reviewed By: rriddle, aartbik Differential Revision: https://reviews.llvm.org/D113334
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions