commit | 4be95036e71a1bfb72f53601bb1d3f13a07e672f | [log] [tgz] |
---|---|---|
author | Roman Divacky <rdivacky@freebsd.org> | Thu Dec 18 23:12:34 2014 +0000 |
committer | Roman Divacky <rdivacky@freebsd.org> | Thu Dec 18 23:12:34 2014 +0000 |
tree | a8f0be1315575dcb69b7fd7196baf75e9e4ff9b7 | |
parent | 82a4ce31b2cb6c87898d36aa491a061fd3504608 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224547 91177308-0d34-0410-b5e6-96231b3b80d8