r192315 - Fix warnings introduced in r192314.
DeLesley Hutchins
delesley at google.com
Wed Oct 9 11:38:53 PDT 2013
Author: delesley
Date: Wed Oct 9 13:38:53 2013
New Revision: 192315
URL: http://llvm.org/viewvc/llvm-project?rev=192315&view=rev
Log:
Fix warnings introduced in r192314.
Modified:
cfe/trunk/include/clang/Analysis/Analyses/Consumed.h
Modified: cfe/trunk/include/clang/Analysis/Analyses/Consumed.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/Consumed.h?rev=192315&r1=192314&r2=192315&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/Consumed.h (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/Consumed.h Wed Oct 9 13:38:53 2013
@@ -165,10 +165,10 @@ namespace consumed {
class ConsumedBlockInfo {
std::vector<ConsumedStateMap*> StateMapsArray;
- std::vector<int> VisitOrder;
+ std::vector<unsigned int> VisitOrder;
public:
- ConsumedBlockInfo() : StateMapsArray(NULL) {}
+ ConsumedBlockInfo() { }
ConsumedBlockInfo(unsigned int NumBlocks, PostOrderCFGView *SortedGraph)
: StateMapsArray(NumBlocks, 0), VisitOrder(NumBlocks, 0) {
More information about the cfe-commits
mailing list