Skip to content

Commit 5b1646f

Browse files
committed
Make 'ASTContext &' parameter const
1 parent e82f75f commit 5b1646f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ static bool tryDividePair(std::optional<int64_t> &Val1,
421421
return true;
422422
}
423423

424-
static Messages getNonTaintMsgs(ASTContext &ACtx, const MemSpaceRegion *Space,
424+
static Messages getNonTaintMsgs(const ASTContext &ACtx,
425+
const MemSpaceRegion *Space,
425426
const SubRegion *Region, NonLoc Offset,
426427
std::optional<NonLoc> Extent, SVal Location,
427428
BadOffsetKind Problem) {

0 commit comments

Comments
 (0)