mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Define npos in a way that should make MSVC happier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dfd3b64783
commit
b834a7b73c
@ -26,7 +26,7 @@ namespace llvm {
|
||||
class StringRef {
|
||||
public:
|
||||
typedef const char *iterator;
|
||||
static const size_t npos = std::string::npos;
|
||||
static const size_t npos = ~size_t(0);
|
||||
|
||||
private:
|
||||
/// The start of the string, in an external buffer.
|
||||
|
Loading…
Reference in New Issue
Block a user