LLVM API Documentation

StringMap.cpp File Reference

#include "llvm/ADT/StringMap.h"
#include <cassert>

Include dependency graph for StringMap.cpp:

Go to the source code of this file.

Functions

static unsigned HashString (const char *Start, const char *End)


Function Documentation

static unsigned HashString ( const char *  Start,
const char *  End 
) [static]

HashString - Compute a hash code for the specified string.

Definition at line 51 of file StringMap.cpp.

Referenced by llvm::StringMapImpl::FindKey(), and llvm::StringMapImpl::LookupBucketFor().