From c72c57c9e9b69944e3e009cd5e209634839581d3 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 8 Apr 2013 18:45:10 +0000 Subject: Vendor import of clang trunk r178860: http://llvm.org/svn/llvm-project/cfe/trunk@178860 --- lib/Lex/HeaderMap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Lex/HeaderMap.cpp') diff --git a/lib/Lex/HeaderMap.cpp b/lib/Lex/HeaderMap.cpp index 7dc0491..dcf1f0c 100644 --- a/lib/Lex/HeaderMap.cpp +++ b/lib/Lex/HeaderMap.cpp @@ -12,13 +12,13 @@ //===----------------------------------------------------------------------===// #include "clang/Lex/HeaderMap.h" +#include "clang/Basic/CharInfo.h" #include "clang/Basic/FileManager.h" #include "llvm/ADT/OwningPtr.h" #include "llvm/ADT/SmallString.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/MemoryBuffer.h" -#include #include using namespace clang; @@ -62,7 +62,7 @@ static inline unsigned HashHMapKey(StringRef Str) { const char *S = Str.begin(), *End = Str.end(); for (; S != End; S++) - Result += tolower(*S) * 13; + Result += toLowercase(*S) * 13; return Result; } -- cgit v1.1