summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-05-22 05:27:42 +0000
committerDaniel Jasper <djasper@google.com>2013-05-22 05:27:42 +0000
commitf8114cf6217da880d567db27776754c32df7ca8e (patch)
treeb7dd4ea3b2b5e6e68669795675ed7ff48ebd35f7 /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
parent3fdbaff3b9750bbf326a99d21d3bd41309657d64 (diff)
Cut-off clang-format analysis.
If clang-format is confronted with long and deeply nested lines (e.g. complex static initializers or function calls), it can currently try too hard to find the optimal solution and never finish. The reason is that the memoization does not work effectively for deeply nested lines. This patch removes an earlier workaround and instead opts for accepting a non-optimal solution in rare cases. However, it only does so only in cases where it would have to analyze an excessive number of states (currently set to 10000 - the most complex line in Format.cpp requires ~800 states) so this should not change the behavior in a relevant way. llvm-svn: 182449
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp')
0 files changed, 0 insertions, 0 deletions