aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-05-26 08:07:56 +0000
committerCraig Topper <craig.topper@gmail.com>2015-05-26 08:07:56 +0000
commitf58341c6eea59a500b59c7ecec270c1cd8ef0e5c (patch)
treebea17c58dd1a6b442b6bf649320e260e6c086b7d /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parent33684f9e64828ee5408ab72ba54beb3b7b2ec754 (diff)
downloadllvm-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