From e6f743f9ab2c50b1a1a250e1a15b1ae4d3d317ad Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 10 May 2014 17:13:34 +0000 Subject: Analyzer: Make helper function static. llvm-svn: 208473 --- clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp') diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp index b582749a02a..506b269df64 100644 --- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp +++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp @@ -1352,7 +1352,7 @@ static SVal RecoverCastedSymbol(ProgramStateManager& StateMgr, return state->getSVal(Ex, LCtx); } -const Stmt *getRightmostLeaf(const Stmt *Condition) { +static const Stmt *getRightmostLeaf(const Stmt *Condition) { while (Condition) { const BinaryOperator *BO = dyn_cast(Condition); if (!BO || !BO->isLogicalOp()) { -- cgit v1.2.3