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 | 605415923ff431a8fd92f8ff5a690001035f3872 (patch) | |
tree | 776567dd4138d29e2039acac8ea20f9a3a622a94 /clang/lib/StaticAnalyzer/Core/Environment.cpp | |
parent | 9d7feab3e04d2d00c9a7907ab990c00df6a0d65a (diff) | |
download | bcm5719-llvm-605415923ff431a8fd92f8ff5a690001035f3872.tar.gz bcm5719-llvm-605415923ff431a8fd92f8ff5a690001035f3872.zip |
Remove an unused function (found by Clang's -Wunused-function)
llvm-svn: 136434
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/Environment.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/Environment.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/Environment.cpp b/clang/lib/StaticAnalyzer/Core/Environment.cpp index 92c4a4c581c..b34a481e327 100644 --- a/clang/lib/StaticAnalyzer/Core/Environment.cpp +++ b/clang/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. |