aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/StringRef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/StringRef.h b/include/llvm/ADT/StringRef.h
index 30379a38f4..aa7d577da7 100644
--- a/include/llvm/ADT/StringRef.h
+++ b/include/llvm/ADT/StringRef.h
@@ -49,8 +49,8 @@ namespace llvm {
: Data(Str) { if (Str) Length = ::strlen(Str); else Length = 0; }
/// Construct a string ref from a pointer and length.
- /*implicit*/ StringRef(const char *_Data, unsigned _Length)
- : Data(_Data), Length(_Length) {}
+ /*implicit*/ StringRef(const char *data, unsigned length)
+ : Data(data), Length(length) {}
/// Construct a string ref from an std::string.
/*implicit*/ StringRef(const std::string &Str)