Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DStringFindStrContainsCheck.cpp35 AST_MATCHER(Type, isCharType) { return Node.isCharType(); } in AST_MATCHER() argument
50 auto CharType = hasUnqualifiedDesugaredType(isCharType()); in makeRewriteRule()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp133 if (Ty->isPointerType() && Ty->getPointeeType()->isCharType()) in isNonnullType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DStringIntegerAssignmentCheck.cpp151 if (!CharType->isCharType() && !IsWideCharType) in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaFixItUtils.cpp188 if (T.isCharType()) in getScalarZeroExpressionForType()
H A DSemaInit.cpp73 if (isa<ObjCEncodeExpr>(Init) && AT->getElementType()->isCharType()) in IsStringInit()
93 if (ElemTy->isCharType()) in IsStringInit()
111 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
119 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
127 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
5908 } else if (DestAT->getElementType()->isCharType()) in InitializeFrom()
H A DSemaDeclAttr.cpp813 if (!ParamTy->isIntegerType() && !ParamTy->isCharType()) { in checkParamIsIntegerType()
3670 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
3686 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
3875 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatAttr()
H A DSemaExpr.cpp3723 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr()
9315 if (lhptee->isCharType()) in checkPointerTypesForAssignment()
9320 if (rhptee->isCharType()) in checkPointerTypesForAssignment()
10762 RHSTy->isReferenceType() || ArrayElemTy->isCharType() || in DiagnoseDivisionSizeofPointerOrArray()
H A DSemaChecking.cpp10118 !ExprTy->isCharType()) { in checkFormatExpr()
13493 if (CC.isValid() && T->isCharType()) { in isSameWidthConstantConversion()
13886 if (isObjCSignedCharBool(S, T) && !Source->isCharType() && in CheckImplicitConversion()
H A DSemaOverload.cpp2146 if (FromType->isAnyCharacterType() && !FromType->isCharType() && in IsIntegralPromotion()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h274 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isCharType)
H A DType.h2049 bool isCharType() const;
/llvm-project-15.0.7/clang/lib/AST/
H A DTemplateBase.cpp85 } else if (T->isCharType()) { in printIntegral()
H A DPrintfFormatString.cpp877 if (!isa<TypedefType>(QT) && QT->isCharType()) { in fixType()
H A DType.cpp1961 bool Type::isCharType() const { in isCharType() function in Type
H A DExpr.cpp2139 if (!PTy || !PTy->getPointeeType()->isCharType()) in isNullPointerArithmeticExtension()
H A DASTContext.cpp8129 if (PointeeTy->isCharType()) { in getObjCEncodingForTypeImpl()
H A DExprConstant.cpp9105 return T->isCharType() || T->isChar8Type(); in isOneByteCharacterType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp999 if (QType->isCharType()) in isParamInMainLikeFunction()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2968 return GetQualType(type).getUnqualifiedType()->isCharType(); in IsCharType()
8709 is_array_of_characters = canonical_type->isCharType(); in DumpValue()