Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DNotNullTerminatedResultCheck.cpp438 static void renameMemcpy(StringRef Name, bool IsCopy, bool IsSafe, in renameMemcpy() argument
444 NewFuncName += IsSafe ? "_s" : ""; in renameMemcpy()
875 bool IsSafe = UseSafeFunctions && IsOverflows && isKnownDest(Result) && in memcpyFix() local
879 IsSafe && getLangOpts().CPlusPlus && in memcpyFix()
882 renameMemcpy(Name, IsCopy, IsSafe, Result, Diag); in memcpyFix()
884 if (IsSafe && !IsDestLengthNotRequired) in memcpyFix()
890 if (!IsCopy && !IsSafe) in memcpyFix()
904 bool IsSafe = IsOverflows; in memcpy_sFix() local
906 renameMemcpy(Name, IsCopy, IsSafe, Result, Diag); in memcpy_sFix()
908 if (!IsSafe || (IsSafe && RemoveDestLength)) in memcpy_sFix()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DBranchFolding.cpp1935 bool IsSafe = true; in HoistCommonCodeInSuccs() local
1939 IsSafe = false; in HoistCommonCodeInSuccs()
1951 IsSafe = false; in HoistCommonCodeInSuccs()
1967 IsSafe = false; in HoistCommonCodeInSuccs()
1973 IsSafe = false; in HoistCommonCodeInSuccs()
1983 if (!IsSafe) in HoistCommonCodeInSuccs()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp135 void addRange(const Instruction *I, const ConstantRange &R, bool IsSafe) { in addRange()
136 if (!IsSafe) in addRange()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp16027 bool IsSafe = LangOpts.CPlusPlus11? CRD->isStandardLayout() : CRD->isPOD(); in BuildBuiltinOffsetOf() local
16032 if (!IsSafe && !DidWarnAboutNonPOD && in BuildBuiltinOffsetOf()