r208473 - Analyzer: Make helper function static.

Benjamin Kramer benny.kra at googlemail.com
Sat May 10 10:13:35 PDT 2014


Author: d0k
Date: Sat May 10 12:13:34 2014
New Revision: 208473

URL: http://llvm.org/viewvc/llvm-project?rev=208473&view=rev
Log:
Analyzer: Make helper function static.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp?rev=208473&r1=208472&r2=208473&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp Sat May 10 12:13:34 2014
@@ -1352,7 +1352,7 @@ static SVal RecoverCastedSymbol(ProgramS
   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<BinaryOperator>(Condition);
     if (!BO || !BO->isLogicalOp()) {





More information about the cfe-commits mailing list