diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2017-04-06 00:08:35 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2017-04-06 00:08:35 +0000 |
commit | 05859d82383c90e98abe39f55502aa03915812c9 (patch) | |
tree | d9a329471af65be77670113305074810aa298902 /llvm/lib/MC/StringTableBuilder.cpp | |
parent | 5c65088fd4c18d94713ddd33dfaffa8f757cbdd7 (diff) | |
download | bcm5719-llvm-05859d82383c90e98abe39f55502aa03915812c9.tar.gz bcm5719-llvm-05859d82383c90e98abe39f55502aa03915812c9.zip |
Simplify. NFC.
Two simplifications:
- We check `!Previous.empty()` above and only use `Previous` in const
contexts after that check, so the `!Previous.empty()` check seems
redundant.
- The null check looks pointless, as well: AFAICT, `LookupResults`
should never contain null entries, and `OldDecl` should always be
non-null if `Redeclaration` is true.
llvm-svn: 299601
Diffstat (limited to 'llvm/lib/MC/StringTableBuilder.cpp')
0 files changed, 0 insertions, 0 deletions