| commit | 7d1483f51cc6a6ecb6e1802567592daf841f463d | [log] [tgz] |
|---|---|---|
| author | Greg Clayton <gclayton@apple.com> | Mon Jun 22 17:38:30 2015 +0000 |
| committer | Greg Clayton <gclayton@apple.com> | Mon Jun 22 17:38:30 2015 +0000 |
| tree | 3fed75ed2e42cbb8c6709f6a23a256967f6ac768 | |
| parent | 610962061f72c20ca08dfdc4eb31ec3901f4f905 [diff] |
Cleanup the code a bit to make it more readable. Add some if/then to avoid calling a function to get dynamic/synthetic types if we know we aren't going to need to call it. Avoid calling a function that returns a shared pointer twice: once for testing it and once for assigning it (even though that shared pointer is cached inside the value object), it just makes the code a bit clearer. llvm-svn: 240299