diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-06-29 21:32:37 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-06-29 21:32:37 +0000 |
| commit | ee5bf526eb2c3e05094fdaf233b5ecf8c7295862 (patch) | |
| tree | c5b56d35b30adb8fd6da009ba5b350e3c2a37b8b /llvm/lib/Support/LockFileManager.cpp | |
| parent | b7724b95d86df071c1b6f20ed2abe09a00374e31 (diff) | |
| download | bcm5719-llvm-ee5bf526eb2c3e05094fdaf233b5ecf8c7295862.tar.gz bcm5719-llvm-ee5bf526eb2c3e05094fdaf233b5ecf8c7295862.zip | |
[cleanup] Clean up the flow of creating a symbol body for regular symbols.
This uses a single cast and test to get the section for the symbol, and
uses the cast_or_null<> pattern throughout to handle the known type but
unknown non-null-ness.
No functionality changed.
Differential Revision: http://reviews.llvm.org/D10791
llvm-svn: 241000
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions

