diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-29 00:15:44 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-29 00:15:44 +0000 |
commit | e3b075b816195e22e3eb0679b0f93c2598aa3663 (patch) | |
tree | 6096363284a2d7c9ef18edd33fcc09ec28eb268c /lib/StaticAnalyzer/Core/Environment.cpp | |
parent | fefe91e6017321aa7db431b94cb3615f6c97da7a (diff) |
Remove an unused function (found by Clang's -Wunused-function)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/Environment.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/Environment.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/StaticAnalyzer/Core/Environment.cpp b/lib/StaticAnalyzer/Core/Environment.cpp index 92c4a4c581..b34a481e32 100644 --- a/lib/StaticAnalyzer/Core/Environment.cpp +++ b/lib/StaticAnalyzer/Core/Environment.cpp @@ -126,18 +126,6 @@ public: }; } // end anonymous namespace -static bool isBlockExprInCallers(const Stmt *E, const LocationContext *LC) { - const LocationContext *ParentLC = LC->getParent(); - while (ParentLC) { - CFG &C = *ParentLC->getCFG(); - if (C.isBlkExpr(E)) - return true; - ParentLC = ParentLC->getParent(); - } - - return false; -} - // In addition to mapping from Stmt * - > SVals in the Environment, we also // maintain a mapping from Stmt * -> SVals (locations) that were used during // a load and store. |