Skip to content

Commit 34558b0

Browse files
[StaticAnalyzer] Remove redundant declaration isStdSmartPtr (NFC)
An identical declaration is present just a couple of lines above the line being removed in this patch. Identified with readability-redundant-declaration.
1 parent 2d303e6 commit 34558b0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/StaticAnalyzer/Checkers/SmartPtr.h

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ bool isStdSmartPtrCall(const CallEvent &Call);
2525
bool isStdSmartPtr(const CXXRecordDecl *RD);
2626
bool isStdSmartPtr(const Expr *E);
2727

28-
bool isStdSmartPtr(const CXXRecordDecl *RD);
29-
3028
/// Returns whether the smart pointer is null or not.
3129
bool isNullSmartPtr(const ProgramStateRef State, const MemRegion *ThisRegion);
3230

0 commit comments

Comments
 (0)