diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2014-12-18 23:12:34 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2014-12-18 23:12:34 +0000 |
commit | a93d0023214191ae6b4bc7b950e437fc92a95c96 (patch) | |
tree | 198b414bb7d5bd68409435eea9bf53fb38254679 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | da0acc816c18d18223af64f10590f298c006d581 (diff) | |
download | bcm5719-llvm-a93d0023214191ae6b4bc7b950e437fc92a95c96.tar.gz bcm5719-llvm-a93d0023214191ae6b4bc7b950e437fc92a95c96.zip |
Instead of explicitely comparing both lowercase and uppercase variants.
.lower() the Name and compare only the lowecase. Removing 81 compares/lines of
code. This changes the accepted string to be mixed lower/upper case but it
should be ok.
Discussed with Jim Grosbach.
llvm-svn: 224547
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions