diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-03-14 23:12:42 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-03-14 23:12:42 +0000 |
commit | be84d8590523a3c7b79c248ce3ad2933191deb5a (patch) | |
tree | 6416cb4483e687233bafa96d7654113e73320f20 | |
parent | 532fb8131bfbacd60130c3ddcce9051b2674845c (diff) | |
download | bcm5719-llvm-be84d8590523a3c7b79c248ce3ad2933191deb5a.tar.gz bcm5719-llvm-be84d8590523a3c7b79c248ce3ad2933191deb5a.zip |
'#if 0' out a variable that's only used in other preprocessor-disabled code.
(Why are we keeping all of this code around anyway? Say the word and I'll
start swinging the delete hammer.)
llvm-svn: 152749
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp index 0e774257d52..99618cb1888 100644 --- a/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp +++ b/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp @@ -64,8 +64,10 @@ void ExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred, ExplodedNodeSet &destNodes) { +#if 0 const CXXConstructorDecl *CD = E->getConstructor(); assert(CD); +#endif #if 0 if (!(CD->doesThisDeclarationHaveABody() && AMgr.shouldInlineCall())) |