summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-07 06:59:39 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-07 06:59:39 +0000
commita661c91aa452c876db8df2a80a193b1076ef8b28 (patch)
tree4c6708af05ba9bf6f178e691f43c0b0873cc5212
parent34bc6b6e787f27b5c9e05c82de4c1b4ac9b117bc (diff)
downloadllvm-a661c91aa452c876db8df2a80a193b1076ef8b28.tar.gz
llvm-a661c91aa452c876db8df2a80a193b1076ef8b28.tar.bz2
llvm-a661c91aa452c876db8df2a80a193b1076ef8b28.tar.xz
Use 'false' for a bool instead of '0'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205699 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/ADT/Statistic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h
index 26aac7bea6..d98abc375e 100644
--- a/include/llvm/ADT/Statistic.h
+++ b/include/llvm/ADT/Statistic.h
@@ -46,7 +46,7 @@ public:
/// construct - This should only be called for non-global statistics.
void construct(const char *name, const char *desc) {
Name = name; Desc = desc;
- Value = 0; Initialized = 0;
+ Value = 0; Initialized = false;
}
// Allow use of this class as the value itself.