Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp137 if (Ty->isPointerType() && Ty->getPointeeType()->isCharType()) in isNonnullType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp192 if (T.isCharType()) in getScalarZeroExpressionForType()
H A DSemaInit.cpp81 if (isa<ObjCEncodeExpr>(Init) && AT->getElementType()->isCharType()) in IsStringInit()
94 return BT && BT->isCharType() && BT->getKind() != BuiltinType::SChar; in IsStringInit()
112 if (ElemTy->isCharType()) in IsStringInit()
130 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
138 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
146 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
6776 else if (DestAT->getElementType()->isCharType()) in InitializeFrom()
H A DSemaDeclAttr.cpp557 if (!ParamTy->isIntegerType() && !ParamTy->isCharType()) { in checkParamIsIntegerType()
3769 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
3785 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
4016 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatAttrCommon()
H A DSemaExpr.cpp3673 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr()
9085 if (lhptee->isCharType()) in checkPointerTypesForAssignment()
9090 if (rhptee->isCharType()) in checkPointerTypesForAssignment()
10714 RHSTy->isReferenceType() || ArrayElemTy->isCharType() || in DiagnoseDivisionSizeofPointerOrArray()
H A DSemaChecking.cpp8343 !ExprTy->isCharType()) { in checkFormatExpr()
11949 if (CC.isValid() && T->isCharType()) { in isSameWidthConstantConversion()
12457 if (ObjC().isSignedCharBool(T) && !Source->isCharType() && in CheckImplicitConversion()
H A DSemaOverload.cpp2703 if (FromType->isAnyCharacterType() && !FromType->isCharType() && in IsIntegralPromotion()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DFormatString.cpp525 PT && PT->getPointeeType()->isCharType()) in matchesType()
559 if (PointeeTy->isVoidType() || (!Ptr && PointeeTy->isCharType())) in matchesType()
H A DTemplateBase.cpp81 } else if (T->isCharType()) { in printIntegral()
H A DPrintfFormatString.cpp949 if (!QT->getAs<TypedefType>() && QT->isCharType()) { in fixType()
H A DType.cpp2139 bool Type::isCharType() const { in isCharType() function in Type
H A DExpr.cpp2242 if (!PTy || !PTy->getPointeeType()->isCharType()) in isNullPointerArithmeticExtension()
H A DASTContext.cpp9304 if (PointeeTy->isCharType()) { in getObjCEncodingForTypeImpl()
H A DExprConstant.cpp9938 return T->isCharType() || T->isChar8Type(); in isOneByteCharacterType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h275 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isCharType)
H A DType.h2522 bool isCharType() const;
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltin.cpp1895 return T->isCharType() || T->isChar8Type(); in isOneByteCharacterType()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp497 bool AcceptSizeBytes = Ptr->getType()->getPointeeType()->isCharType(); in isPtrBufferSafe()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2986 return GetQualType(type).getUnqualifiedType()->isCharType(); in IsCharType()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc10881 {"_ZNK5clang4Type10isCharTypeEv", "clang::Type::isCharType() const"},