aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-02-10 20:02:04 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-02-10 20:02:04 +0000
commit7814f7dafdb9f1afaf8078d37f62d01109ebbf0a (patch)
tree0cb8c51b9f3986cf0b0f5b242ff7ef858bf8e5dd /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2287dc3bf8a937330a1f35156067fda550f50bb6 (diff)
downloadllvm-7814f7dafdb9f1afaf8078d37f62d01109ebbf0a.zip
llvm-7814f7dafdb9f1afaf8078d37f62d01109ebbf0a.tar.gz
llvm-7814f7dafdb9f1afaf8078d37f62d01109ebbf0a.tar.bz2
Don't assume that there is only one strchr overload in the global namespace;
that's not true in general. Instead, use a preference order to pick the standard C++ signature 'char*(char*, int)' where possible and fall back to the C signature 'char*(const char*, int)' only when it's unavailable. llvm-svn: 260425
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions