aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/Support/FormatProviders.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Support/FormatProviders.h')
-rw-r--r--llvm/include/llvm/Support/FormatProviders.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/FormatProviders.h b/llvm/include/llvm/Support/FormatProviders.h
index c31481a29259..3edd8844bc7a 100644
--- a/llvm/include/llvm/Support/FormatProviders.h
+++ b/llvm/include/llvm/Support/FormatProviders.h
@@ -75,7 +75,7 @@ protected:
}
static bool consumeHexStyle(StringRef &Str, HexPrintStyle &Style) {
- if (!Str.startswith_lower("x"))
+ if (!Str.startswith_insensitive("x"))
return false;
if (Str.consume_front("x-"))