Home
last modified time | relevance | path

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

12

/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DStringFindStrContainsCheck.cpp34 AST_MATCHER(Type, isCharType) { return Node.isCharType(); } in AST_MATCHER() argument
63 auto CharType = hasUnqualifiedDesugaredType(isCharType()); in MakeRule()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DNonnullGlobalConstantsChecker.cpp133 if (Ty->isPointerType() && Ty->getPointeeType()->isCharType()) in isNonnullType()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DStringIntegerAssignmentCheck.cpp151 if (!CharType->isCharType() && !IsWideCharType) in check()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp189 if (T.isCharType()) in getScalarZeroExpressionForType()
DSemaInit.cpp69 if (isa<ObjCEncodeExpr>(Init) && AT->getElementType()->isCharType()) in IsStringInit()
85 if (ElemTy->isCharType()) in IsStringInit()
98 if (ElemTy->isCharType()) in IsStringInit()
106 if (ElemTy->isCharType()) in IsStringInit()
114 if (ElemTy->isCharType()) in IsStringInit()
5085 } else if (DestAT->getElementType()->isCharType()) in InitializeFrom()
DSemaDeclAttr.cpp2765 !Ty->getAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
2775 !Ty->getAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
2963 !Ty->getAs<PointerType>()->getPointeeType()->isCharType()) { in handleFormatAttr()
/external/llvm-project/clang/lib/Sema/
DSemaFixItUtils.cpp188 if (T.isCharType()) in getScalarZeroExpressionForType()
DSemaInit.cpp72 if (isa<ObjCEncodeExpr>(Init) && AT->getElementType()->isCharType()) in IsStringInit()
92 if (ElemTy->isCharType()) in IsStringInit()
110 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
118 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
126 if (ElemTy->isCharType() || ElemTy->isChar8Type()) in IsStringInit()
5811 } else if (DestAT->getElementType()->isCharType()) in InitializeFrom()
DSemaDeclAttr.cpp857 if (!Param->getType()->isIntegerType() && !Param->getType()->isCharType()) { in checkParamIsIntegerType()
3243 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
3253 !Ty->castAs<PointerType>()->getPointeeType()->isCharType())) { in handleFormatArgAttr()
3433 !Ty->castAs<PointerType>()->getPointeeType()->isCharType()) { in handleFormatAttr()
DSemaChecking.cpp1796 !PT->isPointerType() || !PT->getPointeeType()->isCharType() || in CheckBuiltinFunctionCall()
8648 !ExprTy->isCharType()) { in checkFormatExpr()
11921 if (CC.isValid() && T->isCharType()) { in isSameWidthConstantConversion()
12283 if (isObjCSignedCharBool(S, T) && !Source->isCharType() && in CheckImplicitConversion()
DSemaExpr.cpp3632 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr()
8814 if (lhptee->isCharType()) in checkPointerTypesForAssignment()
8819 if (rhptee->isCharType()) in checkPointerTypesForAssignment()
10149 RHSTy->isReferenceType() || ArrayElemTy->isCharType() || in DiagnoseDivisionSizeofPointerOrArray()
/external/clang/lib/AST/
DTemplateBase.cpp58 } else if (T->isCharType()) { in printIntegral()
DItaniumMangle.cpp4251 static bool isCharType(QualType T) { in isCharType() function
4281 if (!isCharType(TemplateArgs[0].getAsType())) in isCharSpecialization()
4297 if (!isCharType(TemplateArgs[0].getAsType())) in isStreamCharSpecialization()
4346 if (!isCharType(TemplateArgs[0].getAsType())) in mangleStandardSubstitution()
DType.cpp1656 bool Type::isCharType() const { in isCharType() function in Type
/external/llvm-project/clang/lib/AST/
DTemplateBase.cpp73 } else if (T->isCharType()) { in printIntegral()
DPrintfFormatString.cpp874 if (!isa<TypedefType>(QT) && QT->isCharType()) { in fixType()
DItaniumMangle.cpp5426 static bool isCharType(QualType T) { in isCharType() function
5456 if (!isCharType(TemplateArgs[0].getAsType())) in isCharSpecialization()
5472 if (!isCharType(TemplateArgs[0].getAsType())) in isStreamCharSpecialization()
5521 if (!isCharType(TemplateArgs[0].getAsType())) in mangleStandardSubstitution()
DType.cpp1946 bool Type::isCharType() const { in isCharType() function in Type
DExpr.cpp2014 if (!PTy || !PTy->getPointeeType()->isCharType()) in isNullPointerArithmeticExtension()
/external/clang/include/clang/AST/
DCanonicalType.h258 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isCharType)
DType.h1630 bool isCharType() const;
/external/llvm-project/clang/include/clang/AST/
DCanonicalType.h274 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isCharType)
/external/clang/lib/Analysis/
DPrintfFormatString.cpp700 if (!isa<TypedefType>(QT) && QT->isCharType()) { in fixType()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIdentifierNamingCheck.cpp363 if (QType->isCharType()) in isParamInMainLikeFunction()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp2880 return GetQualType(type).getUnqualifiedType()->isCharType(); in IsCharType()
8480 is_array_of_characters = canonical_type->isCharType(); in DumpValue()

12