[llvm] r205699 - Use 'false' for a bool instead of '0'
Craig Topper
craig.topper at gmail.com
Sun Apr 6 23:59:40 PDT 2014
Author: ctopper
Date: Mon Apr 7 01:59:39 2014
New Revision: 205699
URL: http://llvm.org/viewvc/llvm-project?rev=205699&view=rev
Log:
Use 'false' for a bool instead of '0'
Modified:
llvm/trunk/include/llvm/ADT/Statistic.h
Modified: llvm/trunk/include/llvm/ADT/Statistic.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/Statistic.h?rev=205699&r1=205698&r2=205699&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/Statistic.h (original)
+++ llvm/trunk/include/llvm/ADT/Statistic.h Mon Apr 7 01:59:39 2014
@@ -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.
More information about the llvm-commits
mailing list