summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-06-08 23:15:09 +0000
committerRui Ueyama <ruiu@google.com>2016-06-08 23:15:09 +0000
commitf05f360debba5bb7b096f7ad8b6effc8c084609c (patch)
treeefb899c82b8df9499007182cc02194754dde5ee4 /llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp
parent8e7e76729d5f39856bd829f36a7f5a42217ac90e (diff)
downloadbcm5719-llvm-f05f360debba5bb7b096f7ad8b6effc8c084609c.tar.gz
bcm5719-llvm-f05f360debba5bb7b096f7ad8b6effc8c084609c.zip
Function names should start with lowercase letters.
llvm-svn: 272225
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp b/llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp
index b182b70f006..ae4ebf27721 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp
@@ -80,7 +80,7 @@ StringRef NameHashTable::getStringForID(uint32_t ID) const {
}
uint32_t NameHashTable::getIDForString(StringRef Str) const {
- uint32_t Hash = (HashVersion == 1) ? HashStringV1(Str) : HashStringV2(Str);
+ uint32_t Hash = (HashVersion == 1) ? hashStringV1(Str) : hashStringV2(Str);
size_t Count = IDs.size();
uint32_t Start = Hash % Count;
for (size_t I = 0; I < Count; ++I) {
OpenPOWER on IntegriCloud