ToolChains: Minor touchup to use correct type, avoid truncation.
authorWill Dietz <wdietz2@illinois.edu>
Thu, 10 Jan 2013 22:20:02 +0000 (22:20 +0000)
committerWill Dietz <wdietz2@illinois.edu>
Thu, 10 Jan 2013 22:20:02 +0000 (22:20 +0000)
commita38608b43f85245135e4b5b846b458dd9c5f937f
treef41afefaaf5ce85ae728cd2c00a7f77ecd11c476
parent54c3907484d05b4b6e0dd154f2e08a5fa0574f39
ToolChains: Minor touchup to use correct type, avoid truncation.

Truncation happens regularly when find_first_not_of returns npos,
strings long enough to trigger bug here are implausible.

No functionality change intended (ignoring absurd string lengths).

llvm-svn: 172127
clang/lib/Driver/ToolChains.cpp