1 //===- Hashing.h ------------------------------------------------*- C++ -*-===// 2 // 3 // This source file is part of the Swift.org open source project 4 // 5 // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors 6 // Licensed under Apache License v2.0 with Runtime Library Exception 7 // 8 // See http://swift.org/LICENSE.txt for license information 9 // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef LLBUILD_BASIC_HASHING_H 14 #define LLBUILD_BASIC_HASHING_H 15 16 #include "llbuild/Basic/LLVM.h" 17 18 #include "llvm/ADT/StringRef.h" 19 20 namespace llbuild { 21 namespace basic { 22 23 uint64_t hashString(StringRef value); 24 25 } 26 } 27 28 #endif 29