summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/CFG.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-07-20 00:20:10 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-07-20 00:20:10 +0000
commitac9e819ca9ad93cfbcf0b7c5b0a7cbbd34cd9176 (patch)
tree49acd0c1eb309352a9b1ba8fa992f576fff7b5d0 /include/llvm/Support/CFG.h
parent7b61a701932d850d2777fafda1fea5ec841d893b (diff)
downloadexternal_llvm-ac9e819ca9ad93cfbcf0b7c5b0a7cbbd34cd9176.zip
external_llvm-ac9e819ca9ad93cfbcf0b7c5b0a7cbbd34cd9176.tar.gz
external_llvm-ac9e819ca9ad93cfbcf0b7c5b0a7cbbd34cd9176.tar.bz2
Fix size_t -> uint warnings with MSVC 64-bit build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CFG.h')
-rw-r--r--include/llvm/Support/CFG.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h
index 71a83e9..74ec726 100644
--- a/include/llvm/Support/CFG.h
+++ b/include/llvm/Support/CFG.h
@@ -328,7 +328,7 @@ template <> struct GraphTraits<Function*> : public GraphTraits<BasicBlock*> {
typedef Function::iterator nodes_iterator;
static nodes_iterator nodes_begin(Function *F) { return F->begin(); }
static nodes_iterator nodes_end (Function *F) { return F->end(); }
- static unsigned size (Function *F) { return F->size(); }
+ static size_t size (Function *F) { return F->size(); }
};
template <> struct GraphTraits<const Function*> :
public GraphTraits<const BasicBlock*> {
@@ -338,7 +338,7 @@ template <> struct GraphTraits<const Function*> :
typedef Function::const_iterator nodes_iterator;
static nodes_iterator nodes_begin(const Function *F) { return F->begin(); }
static nodes_iterator nodes_end (const Function *F) { return F->end(); }
- static unsigned size (const Function *F) { return F->size(); }
+ static size_t size (const Function *F) { return F->size(); }
};