Searched refs:CharPtrTy (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 1619 Type *CharPtrTy = B.getPtrTy(); in emitStrLen() local 1621 return emitLibCall(LibFunc_strlen, SizeTTy, CharPtrTy, Ptr, B, TLI); in emitStrLen() 1635 Type *CharPtrTy = B.getPtrTy(); in emitStrDup() local 1636 return emitLibCall(LibFunc_strdup, CharPtrTy, CharPtrTy, Ptr, B, TLI); in emitStrDup() 1641 Type *CharPtrTy = B.getPtrTy(); in emitStrChr() local 1643 return emitLibCall(LibFunc_strchr, CharPtrTy, {CharPtrTy, IntTy}, in emitStrChr() 1649 Type *CharPtrTy = B.getPtrTy(); in emitStrNCmp() local 1654 {CharPtrTy, CharPtrTy, SizeTTy}, in emitStrNCmp() 1660 Type *CharPtrTy = Dst->getType(); in emitStrCpy() local 1661 return emitLibCall(LibFunc_strcpy, CharPtrTy, {CharPtrTy, CharPtrTy}, in emitStrCpy() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 1678 const QualType CharPtrTy = getPointerTy(CharTy); // char * in initFunctionSummaries() local 1679 const QualType CharPtrRestrictTy = getRestrictTy(CharPtrTy); in initFunctionSummaries() 2100 QualType CharPtrPtrRestrictTy = getRestrictTy(getPointerTy(CharPtrTy)); in initFunctionSummaries() 2135 "getenv", Signature(ArgTypes{ConstCharPtrTy}, RetType{CharPtrTy}), in initFunctionSummaries() 2275 RetType{CharPtrTy}), in initFunctionSummaries() 2436 Signature(ArgTypes{LongTy}, RetType{CharPtrTy}), in initFunctionSummaries() 2615 "strdup", Signature(ArgTypes{ConstCharPtrTy}, RetType{CharPtrTy}), in initFunctionSummaries() 2621 Signature(ArgTypes{ConstCharPtrTy, SizeTy}, RetType{CharPtrTy}), in initFunctionSummaries() 2634 "mkstemp", Signature(ArgTypes{CharPtrTy}, RetType{IntTy}), in initFunctionSummaries() 2643 "mkdtemp", Signature(ArgTypes{CharPtrTy}, RetType{CharPtrTy}), in initFunctionSummaries() [all …]
|
| H A D | CStringChecker.cpp | 751 QualType CharPtrTy = getCharPtrType(Ctx, CK); in CheckOverlap() local 753 svalBuilder.evalCast(*firstLoc, CharPtrTy, First.Expression->getType()); in CheckOverlap() 760 *Length, CharPtrTy); in CheckOverlap() 1508 QualType CharPtrTy = getCharPtrType(Ctx, CK); in evalCopyCommon() local 1510 SvalBuilder.evalCast(destVal, CharPtrTy, Dest.Expression->getType()); in evalCopyCommon() 2468 QualType CharPtrTy = SearchStrPtr.Expression->getType()->getPointeeType(); in evalStrsep() local 2469 if (CharPtrTy.isNull() || Call.getResultType().getUnqualifiedType() != in evalStrsep() 2470 CharPtrTy.getUnqualifiedType()) in evalStrsep() 2495 Result = State->getSVal(*SearchStrLoc, CharPtrTy); in evalStrsep()
|