diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-08-28 00:50:38 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-08-28 00:50:38 +0000 |
commit | e537cc05f567519f3320b3441bef8bd447e04ee9 (patch) | |
tree | 1dd16ce76112146c929710a4e92cc61e326888c3 /clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp | |
parent | a1b5c8c6a1fc196fcce56cf92eff1e650fdf0036 (diff) | |
download | bcm5719-llvm-e537cc05f567519f3320b3441bef8bd447e04ee9.tar.gz bcm5719-llvm-e537cc05f567519f3320b3441bef8bd447e04ee9.zip |
[analyzer] Rename CallEvent::mayBeInlined to CallEvent::isCallStmt.
The two callers are using this in order to be conservative, so let's just
clarify the information that's actually being provided here. This is not
related to inlining decisions in any way.
No functionality change.
llvm-svn: 162717
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp b/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp index 9145565d3a0..ae746f63250 100644 --- a/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp +++ b/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp @@ -115,7 +115,7 @@ bool ExplodedGraph::shouldCollect(const ExplodedNode *node) { // Condition 9. const ProgramPoint SuccLoc = succ->getLocation(); if (const StmtPoint *SP = dyn_cast<StmtPoint>(&SuccLoc)) - if (CallEvent::mayBeInlined(SP->getStmt())) + if (CallEvent::isCallStmt(SP->getStmt())) return false; return true; |