diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2019-03-28 17:18:42 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2019-03-28 17:18:42 +0000 |
| commit | ba2ea93ad189d8a1e87e0e02b20790272b7ed375 (patch) | |
| tree | 0efbc31b5383736aa1d8f4c46217b34c61dd1f13 /clang/lib/StaticAnalyzer | |
| parent | 4180a7cd831537567c9c9eb8528365e3958aed6b (diff) | |
| download | bcm5719-llvm-ba2ea93ad189d8a1e87e0e02b20790272b7ed375.tar.gz bcm5719-llvm-ba2ea93ad189d8a1e87e0e02b20790272b7ed375.zip | |
Make helper functions static. NFC.
llvm-svn: 357187
Diffstat (limited to 'clang/lib/StaticAnalyzer')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp b/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp index 8f22e3d3204..c86ae43ccd3 100644 --- a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp +++ b/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp @@ -161,8 +161,8 @@ const Expr *bugreporter::getDerefExpr(const Stmt *S) { /// are the immediate snapshots of the tracked region's bindings within the /// node's respective states but not really checking that these snapshots /// actually contain the same set of bindings. -bool hasVisibleUpdate(const ExplodedNode *LeftNode, SVal LeftVal, - const ExplodedNode *RightNode, SVal RightVal) { +static bool hasVisibleUpdate(const ExplodedNode *LeftNode, SVal LeftVal, + const ExplodedNode *RightNode, SVal RightVal) { if (LeftVal == RightVal) return true; |

