Renamed static method.

llvm-svn: 50533
This commit is contained in:
Ted Kremenek 2008-05-01 18:31:44 +00:00
parent f303bdabdf
commit f0b0f2edfe
1 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ using namespace clang;
// Utility functions.
//===----------------------------------------------------------------------===//
static inline Selector GetUnarySelector(const char* name, ASTContext& Ctx) {
static inline Selector GetNullarySelector(const char* name, ASTContext& Ctx) {
IdentifierInfo* II = &Ctx.Idents.get(name);
return Ctx.Selectors.getSelector(0, &II);
}
@ -677,9 +677,9 @@ public:
: Summaries(Ctx, gcenabled),
GCEnabled(gcenabled),
LOpts(lopts),
RetainSelector(GetUnarySelector("retain", Ctx)),
ReleaseSelector(GetUnarySelector("release", Ctx)),
AutoreleaseSelector(GetUnarySelector("autorelease", Ctx)) {}
RetainSelector(GetNullarySelector("retain", Ctx)),
ReleaseSelector(GetNullarySelector("release", Ctx)),
AutoreleaseSelector(GetNullarySelector("autorelease", Ctx)) {}
virtual ~CFRefCount() {
for (LeaksTy::iterator I = Leaks.begin(), E = Leaks.end(); I!=E; ++I)