From: Benjamin Kramer Date: Sat, 10 May 2014 17:13:34 +0000 (+0000) Subject: Analyzer: Make helper function static. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7885a53309f153a229b1e8445b877be841a29ef9;p=clang Analyzer: Make helper function static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208473 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Core/ExprEngine.cpp b/lib/StaticAnalyzer/Core/ExprEngine.cpp index b582749a02..506b269df6 100644 --- a/lib/StaticAnalyzer/Core/ExprEngine.cpp +++ b/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()) {