[cfe-commits] r61319 - in /cfe/trunk: Driver/AnalysisConsumer.cpp include/clang/Analysis/PathSensitive/GRExprEngine.h lib/Analysis/GRExprEngine.cpp test/Analysis/null-deref-ps.c
Douglas Gregor
dgregor at apple.com
Sun Dec 21 21:33:50 PST 2008
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
More information about the cfe-commits
mailing list