Skip to content

Commit a10d3d2

Browse files
authored
[analyzer][NFC] Remove dangling method declaration from ErrnoChecker (llvm#110820)
Remove the declaration of `ErrnoChecker::checkBranchCondition()` because this method is not defined or used anywhere. (It's probably a leftover from some old refactoring.)
1 parent e656b1a commit a10d3d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/ErrnoChecker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ class ErrnoChecker
4242
ArrayRef<const MemRegion *> ExplicitRegions,
4343
ArrayRef<const MemRegion *> Regions,
4444
const LocationContext *LCtx, const CallEvent *Call) const;
45-
void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const;
4645

4746
/// Indicates if a read (load) of \c errno is allowed in a non-condition part
4847
/// of \c if, \c switch, loop and conditional statements when the errno

0 commit comments

Comments
 (0)