diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-03 03:30:59 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-03 03:30:59 +0000 |
commit | d77ba899b3ed39aa4bdba22aabc4bcd5ca6effdf (patch) | |
tree | f2674b775a3e99540e7f12e3b87bbcd2d283d2b2 /lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | |
parent | bf3380a317ab09ae7f23c1bc17cb562f8175a986 (diff) |
Make helpers static, remove unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp index 37a0bf91bb..cf06f54c70 100644 --- a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp @@ -3557,7 +3557,7 @@ static void PrintPool(raw_ostream &Out, SymbolRef Sym, Out << '}'; } -bool UsesAutorelease(const ProgramState *state) { +static bool UsesAutorelease(const ProgramState *state) { // A state uses autorelease if it allocated an autorelease pool or if it has // objects in the caller's autorelease pool. return !state->get<AutoreleaseStack>().isEmpty() || |