Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp138 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.cpp84 if (isa<ObjCEncodeExpr>(Init) && AT->getElementType()->isCharType()) in IsStringInit()
97 return BT && BT->isCharType() && BT->getKind() != BuiltinType::SChar; in IsStringInit()
114 if (ElemTy->isCharType()) in IsStringInit()
132 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
140 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
148 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
2022 (InitElementTy->isCharType() && EmbedExprElementTy->isCharType()); in canInitializeArrayWithEmbedDataString()
6474 else if (DestAT->getElementType()->isCharType()) in InitializeFrom()
H A DSemaDeclAttr.cpp553 if (!ParamTy->isIntegerType() && !ParamTy->isCharType()) { in checkParamIsIntegerType()
3346 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
3362 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
3557 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatAttr()
H A DSemaChecking.cpp7382 !ExprTy->isCharType()) { in checkFormatExpr()
10675 if (CC.isValid() && T->isCharType()) { in isSameWidthConstantConversion()
11080 if (ObjC().isSignedCharBool(T) && !Source->isCharType() && in CheckImplicitConversion()
H A DSemaExpr.cpp3624 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr()
8928 if (lhptee->isCharType()) in checkPointerTypesForAssignment()
8933 if (rhptee->isCharType()) in checkPointerTypesForAssignment()
10459 RHSTy->isReferenceType() || ArrayElemTy->isCharType() || in DiagnoseDivisionSizeofPointerOrArray()
H A DSemaOverload.cpp2526 if (FromType->isAnyCharacterType() && !FromType->isCharType() && in IsIntegralPromotion()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h274 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isCharType)
H A DType.h2469 bool isCharType() const;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp85 } else if (T->isCharType()) { in printIntegral()
H A DPrintfFormatString.cpp947 if (!QT->getAs<TypedefType>() && QT->isCharType()) { in fixType()
H A DType.cpp2089 bool Type::isCharType() const { in isCharType() function in Type
H A DExpr.cpp2234 if (!PTy || !PTy->getPointeeType()->isCharType()) in isNullPointerArithmeticExtension()
H A DASTContext.cpp8705 if (PointeeTy->isCharType()) { in getObjCEncodingForTypeImpl()
H A DExprConstant.cpp9515 return T->isCharType() || T->isChar8Type(); in isOneByteCharacterType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2943 return GetQualType(type).getUnqualifiedType()->isCharType(); in IsCharType()