summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-08-28 00:50:38 +0000
committerJordan Rose <jordan_rose@apple.com>2012-08-28 00:50:38 +0000
commite537cc05f567519f3320b3441bef8bd447e04ee9 (patch)
tree1dd16ce76112146c929710a4e92cc61e326888c3 /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
parenta1b5c8c6a1fc196fcce56cf92eff1e650fdf0036 (diff)
downloadbcm5719-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/ExprEngine.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
index 15379d6b91e..6603b6ca5db 100644
--- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
@@ -240,7 +240,7 @@ static bool shouldRemoveDeadBindings(AnalysisManager &AMgr,
return true;
// Run before processing a call.
- if (CallEvent::mayBeInlined(S.getStmt()))
+ if (CallEvent::isCallStmt(S.getStmt()))
return true;
// Is this an expression that is consumed by another expression? If so,
OpenPOWER on IntegriCloud