On Mon, Dec 22, 2008 at 1:33 PM, Douglas Gregor <[email protected]> wrote:
> > On Dec 21, 2008, at 5:52 PM, Zhongxing Xu wrote: > > Author: zhongxingxu >> Date: Sun Dec 21 19:52:37 2008 >> New Revision: 61319 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=61319&view=rev >> Log: >> Add an option to make 'RemoveDeadBindings' a configurable behavior. This >> enables >> us to measure the effect of this optimization. >> >> Modified: >> cfe/trunk/Driver/AnalysisConsumer.cpp >> cfe/trunk/include/clang/Analysis/PathSensitive/GRExprEngine.h >> cfe/trunk/lib/Analysis/GRExprEngine.cpp >> cfe/trunk/test/Analysis/null-deref-ps.c >> > > I'm seeing this warning when compiling GRExprEngine.cpp: > > /Users/dgregor/Projects/llvm/tools/clang/lib/Analysis/../../include/clang/Analysis/PathSensitive/GRExprEngine.h: > In constructor 'clang::GRExprEngine::GRExprEngine(clang::CFG&, clang::Decl&, > clang::ASTContext&, clang::LiveVariables&, bool, clang::StoreManager* > (*)(clang::GRStateManager&), clang::ConstraintManager* > (*)(clang::GRStateManager&))': > /Users/dgregor/Projects/llvm/tools/clang/lib/Analysis/../../include/clang/Analysis/PathSensitive/GRExprEngine.h:97: > warning: 'clang::GRExprEngine::PurgeDead' will be initialized after > /Users/dgregor/Projects/llvm/tools/clang/lib/Analysis/../../include/clang/Analysis/PathSensitive/GRExprEngine.h:65: > warning: 'clang::GRStmtNodeBuilder<clang::GRState>* > clang::GRExprEngine::Builder' > GRExprEngine.cpp:120: warning: when initialized here > > Could you change the initialization order to eliminate this warning? > > - Doug > Fixed. Thanks.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
