From: Benjamin Kramer Date: Fri, 4 Dec 2009 22:45:27 +0000 (+0000) Subject: Return bool as a bool instead of a uint64_t. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cce9fde82ad99cb96c820084d636c9bfdfcff30a;p=clang Return bool as a bool instead of a uint64_t. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90610 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index 5cd0d329ab..74375d9cff 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -100,7 +100,7 @@ private: /// getIndex - Gives the index of a passed in GlobalDecl. Returns false if /// the index couldn't be found. - uint64_t getIndex(GlobalDecl GD, uint64_t &Index) const { + bool getIndex(GlobalDecl GD, uint64_t &Index) const { llvm::DenseMap::const_iterator i = MethodToIndexMap.find(GD);