Skip to content

Commit

Permalink
[StaticAnalyzer] Remove redundant declaration isStdSmartPtr (NFC)
Browse files Browse the repository at this point in the history
An identical declaration is present just a couple of lines above the
line being removed in this patch.

Identified with readability-redundant-declaration.
  • Loading branch information
kazutakahirata committed Dec 25, 2021
1 parent 2d303e6 commit 34558b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clang/lib/StaticAnalyzer/Checkers/SmartPtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ bool isStdSmartPtrCall(const CallEvent &Call);
bool isStdSmartPtr(const CXXRecordDecl *RD);
bool isStdSmartPtr(const Expr *E);

bool isStdSmartPtr(const CXXRecordDecl *RD);

/// Returns whether the smart pointer is null or not.
bool isNullSmartPtr(const ProgramStateRef State, const MemRegion *ThisRegion);

Expand Down

0 comments on commit 34558b0

Please sign in to comment.