diff options
Diffstat (limited to 'gnu/llvm/lib/Support/StringRef.cpp')
| -rw-r--r-- | gnu/llvm/lib/Support/StringRef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/lib/Support/StringRef.cpp b/gnu/llvm/lib/Support/StringRef.cpp index 9ba7a09f996..f0349260e22 100644 --- a/gnu/llvm/lib/Support/StringRef.cpp +++ b/gnu/llvm/lib/Support/StringRef.cpp @@ -389,7 +389,7 @@ static unsigned GetAutoSenseRadix(StringRef &Str) { Str = Str.substr(2); return 16; } - + if (Str.startswith("0b") || Str.startswith("0B")) { Str = Str.substr(2); return 2; |
