Konrad Kleine
373e2a4f69
[lldb] NFC: refactor CompileUnit::ResolveSymbolContext
...
Summary:
I found the above named method hard to read because it had
a) many nested blocks and
b) one return statement at the end with some logic involved.
I decided to refactor this function by employing an early exit strategy.
In order to capture the logic in the return statement and to not have it
repeated more than once I chose to implement a very small lamda function
that captures all the variables it needs.
This is a non-functional change (NFC).
Reviewers: jdoerfert
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70774
2019-11-28 14:00:38 +01:00
..
2019-11-12 15:42:07 -08:00
2016-10-29 00:29:15 +00:00
2019-09-11 13:57:41 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-10-25 14:05:07 -07:00
2019-10-25 14:05:07 -07:00
2019-10-25 14:05:07 -07:00
2019-08-14 22:19:23 +00:00
2019-05-03 10:03:28 +00:00
2019-05-23 11:14:47 +00:00
2019-10-04 19:32:57 +00:00
2019-10-17 01:28:07 +00:00
2019-05-23 11:14:47 +00:00
2019-08-06 09:12:42 +00:00
2019-05-23 11:14:47 +00:00
2019-10-14 20:15:28 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-10-15 16:46:27 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-11-25 15:03:46 +01:00
2019-05-23 11:14:47 +00:00
2019-07-05 17:42:08 +00:00
2019-10-14 21:51:02 +00:00
2019-10-14 21:51:02 +00:00
2019-03-19 17:13:13 +00:00
2019-03-19 17:13:13 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-11-25 15:03:46 +01:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-10-14 20:15:28 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-11-20 13:14:16 -08:00
2019-08-05 05:43:48 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-10-15 17:41:40 +00:00
2019-08-14 22:19:23 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-11-25 15:03:46 +01:00
2019-11-28 14:00:38 +01:00
2019-05-23 11:14:47 +00:00
2019-10-03 22:50:18 +00:00
2019-03-19 17:13:13 +00:00
2019-03-19 17:13:13 +00:00
2019-10-09 16:22:14 +00:00
2019-09-04 09:47:18 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-10-17 15:18:03 +00:00
2019-04-10 20:48:55 +00:00
2019-08-14 22:19:23 +00:00