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
Loading
Please register or sign in to comment