forked from OSchip/llvm-project
Remove an unused function, suppress -Wunused-function warning.
llvm-svn: 369629
This commit is contained in:
parent
d420616313
commit
fcedc6a61b
|
@ -51,7 +51,6 @@ public:
|
|||
// 1) isa: The parameter is non-null, returns boolean.
|
||||
// 2) isa_and_nonnull: The parameter is null or non-null, returns boolean.
|
||||
bool evalCall(const CallEvent &Call, CheckerContext &C) const;
|
||||
void checkDeadSymbols(SymbolReaper &SR, CheckerContext &C) const;
|
||||
|
||||
private:
|
||||
// These are known in the LLVM project. The pairs are in the following form:
|
||||
|
@ -415,11 +414,6 @@ bool CastValueChecker::evalCall(const CallEvent &Call,
|
|||
return true;
|
||||
}
|
||||
|
||||
void CastValueChecker::checkDeadSymbols(SymbolReaper &SR,
|
||||
CheckerContext &C) const {
|
||||
C.addTransition(removeDeadCasts(C.getState(), SR));
|
||||
}
|
||||
|
||||
void ento::registerCastValueChecker(CheckerManager &Mgr) {
|
||||
Mgr.registerChecker<CastValueChecker>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue