George Burgess IV
00f70bd933
Remove redundant casts. NFC
...
So I wrote a clang-tidy check to lint out redundant `isa`, `cast`, and
`dyn_cast`s for fun. This is a portion of what it found for clang; I
plan to do similar cleanups in LLVM and other subprojects when I find
time.
Because of the volume of changes, I explicitly avoided making any change
that wasn't highly local and obviously correct to me (e.g. we still have
a number of foo(cast<Bar>(baz)) that I didn't touch, since overloading
is a thing and the cast<Bar> did actually change the type -- just up the
class hierarchy).
I also tried to leave the types we were cast<>ing to somewhere nearby,
in cases where it wasn't locally obvious what we were dealing with
before.
llvm-svn: 326416
2018-03-01 05:43:23 +00:00
..
2017-04-13 09:56:07 +00:00
2013-04-16 21:44:22 +00:00
2018-02-10 00:55:49 +00:00
2018-02-21 16:06:56 +00:00
2015-09-16 22:03:05 +00:00
2017-11-16 03:18:09 +00:00
2018-01-17 20:27:29 +00:00
2017-10-30 10:09:55 +00:00
2015-09-16 22:03:05 +00:00
2018-02-10 00:51:47 +00:00
2017-12-12 02:27:55 +00:00
2018-01-17 20:27:29 +00:00
2018-03-01 05:43:23 +00:00
2018-01-17 23:46:13 +00:00
2018-01-26 08:15:52 +00:00
2014-05-27 02:45:47 +00:00
2018-01-12 22:12:11 +00:00
2015-09-08 03:50:52 +00:00
2018-01-17 20:27:29 +00:00
2016-04-28 01:09:09 +00:00
2016-04-28 01:09:09 +00:00
2017-09-04 05:56:36 +00:00
2018-03-01 01:27:46 +00:00
2017-10-11 14:49:35 +00:00
2018-01-20 23:11:17 +00:00
2017-09-06 21:45:03 +00:00
2017-01-13 00:50:57 +00:00
2017-06-03 06:26:27 +00:00
2017-10-30 12:02:23 +00:00
2018-01-17 20:27:29 +00:00
2017-01-12 18:00:03 +00:00
2016-01-26 18:05:23 +00:00
2018-01-17 20:27:29 +00:00
2017-01-05 17:26:53 +00:00
2018-01-17 20:27:29 +00:00
2017-10-30 12:02:23 +00:00
2018-01-17 20:27:29 +00:00
2018-01-17 20:27:29 +00:00
2018-01-22 07:44:38 +00:00
2017-12-14 15:16:18 +00:00
2015-04-17 17:00:16 +00:00
2018-01-17 20:27:29 +00:00
2018-03-01 05:43:23 +00:00
2015-08-13 18:12:56 +00:00
2018-01-17 20:27:29 +00:00
2018-01-17 20:27:29 +00:00
2017-01-25 10:21:45 +00:00
2018-02-27 21:19:33 +00:00
2016-07-09 12:16:58 +00:00
2015-09-08 03:50:52 +00:00
2018-01-17 20:27:26 +00:00
2018-03-01 01:27:46 +00:00
2018-02-27 19:28:52 +00:00
2017-03-30 14:13:19 +00:00
2017-05-09 19:31:30 +00:00
2015-09-16 22:03:05 +00:00
2016-06-24 04:05:48 +00:00
2018-01-17 20:27:29 +00:00
2016-11-15 22:22:57 +00:00
2018-01-17 20:27:29 +00:00
2017-09-06 21:45:03 +00:00
2018-01-17 20:27:29 +00:00
2015-09-08 03:50:52 +00:00
2017-03-01 01:47:37 +00:00
2018-01-17 20:27:29 +00:00
2017-11-13 19:29:31 +00:00
2015-07-03 15:12:24 +00:00
2017-12-21 21:42:42 +00:00
2018-01-17 20:27:29 +00:00
2018-01-17 20:27:29 +00:00
2018-01-17 20:27:29 +00:00
2018-01-18 01:01:56 +00:00
2018-01-17 20:27:29 +00:00
2017-05-10 13:22:11 +00:00
2016-05-27 14:27:13 +00:00
2018-01-17 20:27:29 +00:00
2017-05-12 06:53:55 +00:00
2018-01-17 20:27:29 +00:00
2015-09-16 22:03:05 +00:00
2018-01-17 20:27:29 +00:00
2016-02-19 01:35:10 +00:00
2018-01-17 20:27:29 +00:00
2018-01-17 20:27:29 +00:00
2015-09-16 22:03:05 +00:00
2018-02-27 22:05:55 +00:00
2018-01-22 13:32:10 +00:00
2018-01-17 20:27:29 +00:00
2018-02-13 21:31:47 +00:00
2018-01-17 20:27:29 +00:00
2016-01-26 19:01:06 +00:00
2017-09-21 08:18:59 +00:00
2018-01-17 20:27:29 +00:00