]> granicus.if.org Git - clang/commitdiff
Return bool as a bool instead of a uint64_t.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 4 Dec 2009 22:45:27 +0000 (22:45 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 4 Dec 2009 22:45:27 +0000 (22:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90610 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGVtable.cpp

index 5cd0d329ab3c7d01a346443bbf042362c99d1757..74375d9cff0a31474cb18458b49015dcc0c36af2 100644 (file)
@@ -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<GlobalDecl, uint64_t>::const_iterator i 
         = MethodToIndexMap.find(GD);