Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit f9afec8

Browse files
author
George Karpenkov
committed
[analyzer] [NFC] Split up RetainSummaryManager from RetainCountChecker - try #2
Turns out it can't be removed from the analyzer since it relies on CallEvent. Moving to staticAnalyzer/core Differential Revision: https://reviews.llvm.org/D51023 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340247 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 51b2bd2 commit f9afec8

File tree

13 files changed

+273
-350
lines changed

13 files changed

+273
-350
lines changed

include/clang/Analysis/ObjCRetainCount.h

Lines changed: 0 additions & 231 deletions
This file was deleted.

lib/StaticAnalyzer/Checkers/SelectorExtras.h renamed to include/clang/Analysis/SelectorExtras.h

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_SELECTOREXTRAS_H
11-
#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_SELECTOREXTRAS_H
10+
#ifndef LLVM_CLANG_LIB_ANALYSIS_SELECTOREXTRAS_H
11+
#define LLVM_CLANG_LIB_ANALYSIS_SELECTOREXTRAS_H
1212

1313
#include "clang/AST/ASTContext.h"
1414

1515
namespace clang {
16-
namespace ento {
1716

1817
template <typename... IdentifierInfos>
1918
static inline Selector getKeywordSelector(ASTContext &Ctx,
@@ -33,14 +32,6 @@ static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx,
3332
Sel = getKeywordSelector(Ctx, IIs...);
3433
}
3534

36-
static inline void lazyInitNullarySelector(Selector &Sel, ASTContext &Ctx,
37-
const char *Name) {
38-
if (!Sel.isNull())
39-
return;
40-
Sel = GetNullarySelector(Name, Ctx);
41-
}
42-
43-
} // end namespace ento
4435
} // end namespace clang
4536

4637
#endif

0 commit comments

Comments
 (0)