summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/StringTableBuilder.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2017-04-06 00:08:35 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2017-04-06 00:08:35 +0000
commit05859d82383c90e98abe39f55502aa03915812c9 (patch)
treed9a329471af65be77670113305074810aa298902 /llvm/lib/MC/StringTableBuilder.cpp
parent5c65088fd4c18d94713ddd33dfaffa8f757cbdd7 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud