Home
last modified time | relevance | path

Searched refs:IsOverflows (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DNotNullTerminatedResultCheck.cpp400 bool IsOverflows = isDestCapacityOverflows(Result); in isDestCapacityFix() local
401 if (IsOverflows) in isDestCapacityFix()
405 return IsOverflows; in isDestCapacityFix()
448 static void insertDestCapacityArg(bool IsOverflows, StringRef Name, in insertDestCapacityArg() argument
455 NewSecondArg = Twine(IsOverflows ? DestLength + 1 : DestLength).str(); in insertDestCapacityArg()
459 (IsOverflows ? (!isInjectUL(Result) ? " + 1" : " + 1UL") : "")) in insertDestCapacityArg()
869 bool IsOverflows = isDestCapacityFix(Result, Diag); in memcpyFix() local
875 bool IsSafe = UseSafeFunctions && IsOverflows && isKnownDest(Result) && in memcpyFix()
885 insertDestCapacityArg(IsOverflows, Name, Result, Diag); in memcpyFix()
897 bool IsOverflows = isDestCapacityFix(Result, Diag); in memcpy_sFix() local
[all …]