diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-05-26 08:07:56 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-05-26 08:07:56 +0000 |
commit | f58341c6eea59a500b59c7ecec270c1cd8ef0e5c (patch) | |
tree | bea17c58dd1a6b442b6bf649320e260e6c086b7d /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | 33684f9e64828ee5408ab72ba54beb3b7b2ec754 (diff) | |
download | llvm-f58341c6eea59a500b59c7ecec270c1cd8ef0e5c.zip llvm-f58341c6eea59a500b59c7ecec270c1cd8ef0e5c.tar.gz llvm-f58341c6eea59a500b59c7ecec270c1cd8ef0e5c.tar.bz2 |
[TableGen] Fix line wrapping logic for the autogenerated header to use math that makes more sense (at least to me).
The old code had a bug if the description was between 75 and 85 characters or so as it substracted PSLen from Desc.size() instead of MAX_LINE_LEN in the compare. It also calculated odd values for PosE on the last split and just let StringRef::slice take care of it being larger than the description string.
llvm-svn: 238187
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions