aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/SparseBitVector.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-30 18:22:13 +0000
committerChris Lattner <sabre@nondot.org>2008-03-30 18:22:13 +0000
commitd27c991cebe48fdf82b5d9eec6c2a1a244f82622 (patch)
tree540c5d6ba547c04eee48f2e86ce4f39ffd0c26ed /include/llvm/ADT/SparseBitVector.h
parentf19f58a9360927f8ef50b9a029e8efb780d3d8a8 (diff)
downloadexternal_llvm-d27c991cebe48fdf82b5d9eec6c2a1a244f82622.zip
external_llvm-d27c991cebe48fdf82b5d9eec6c2a1a244f82622.tar.gz
external_llvm-d27c991cebe48fdf82b5d9eec6c2a1a244f82622.tar.bz2
Fix "Control reaches the end of non-void function" warnings,
patch by David Chisnall. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SparseBitVector.h')
-rw-r--r--include/llvm/ADT/SparseBitVector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/SparseBitVector.h b/include/llvm/ADT/SparseBitVector.h
index 4d37eae..1ed2860 100644
--- a/include/llvm/ADT/SparseBitVector.h
+++ b/include/llvm/ADT/SparseBitVector.h
@@ -166,6 +166,7 @@ public:
assert(0 && "Unsupported!");
}
assert(0 && "Illegal empty element");
+ return 0; // Not reached
}
/// find_next - Returns the index of the next set bit starting from the