/external/clang/test/Sema/ |
D | warn-char-subscripts.c | 45 typedef char CharTy; typedef 48 CharTy subscript = 0; in t8()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 323 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets() 363 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw() 404 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp() 576 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon()
|
D | CStringChecker.cpp | 292 assert(ER->getValueType() == C.getASTContext().CharTy && in CheckLocation() 366 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckBufferAccess() 504 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap() 844 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in IsFirstBufInBound() 876 assert(ER->getValueType() == C.getASTContext().CharTy && in IsFirstBufInBound() 1059 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in evalCopyCommon()
|
D | BasicObjCFoundationChecks.cpp | 385 case kCFNumberCharType: T = Ctx.CharTy; break; in GetCFNumberSize()
|
D | MallocChecker.cpp | 741 SVal ZeroVal = C.getSValBuilder().makeZeroVal(Ctx.CharTy); in performKernelMalloc() 2011 SVal zeroVal = svalBuilder.makeZeroVal(svalBuilder.getContext().CharTy); in CallocMem()
|
/external/clang/include/clang/AST/ |
D | BuiltinTypes.def | 67 SHARED_SINGLETON_TYPE(UNSIGNED_TYPE(Char_U, CharTy)) 99 SHARED_SINGLETON_TYPE(SIGNED_TYPE(Char_S, CharTy))
|
D | ASTContext.h | 895 CanQualType CharTy; variable 1818 return getTypeSize(CharTy); in getCharWidth()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 638 Type *CharTy = Type::getInt8PtrTy(Basis.Ins->getContext(), AS); in rewriteCandidateWithBasis() local 639 Reduced = Builder.CreateBitCast(Basis.Ins, CharTy); in rewriteCandidateWithBasis()
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 454 Res = C.CharTy; in getRepresentativeType() 460 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 672 Type *CharTy = Type::getInt8PtrTy(Basis.Ins->getContext(), AS); in rewriteCandidateWithBasis() local 673 Reduced = Builder.CreateBitCast(Basis.Ins, CharTy); in rewriteCandidateWithBasis()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 205 newSuperR = MakeElementRegion(baseR, Ctx.CharTy, off.getQuantity()); in castRegion()
|
D | ExprEngineCXX.cpp | 302 SVal ZeroVal = svalBuilder.makeZeroVal(getContext().CharTy); in VisitCXXConstructExpr()
|
/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 94 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); in CGNVCUDARuntime()
|
D | CodeGenModule.cpp | 3182 : getContext().getTypeAlignInChars(getContext().CharTy); in GetAddrOfConstantCFString() 3277 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString() 3318 CharUnits Align = getContext().getTypeAlignInChars(getContext().CharTy); in GetAddrOfConstantString() 3507 getContext().getAlignOfGlobalVarInChars(getContext().CharTy); in GetAddrOfConstantCString()
|
D | CGExpr.cpp | 3363 tbaa = CGM.getTBAAInfo(getContext().CharTy); in EmitLValueForField() 3402 LV.setTBAABaseType(mayAlias ? getContext().CharTy : base.getTBAABaseType()); in EmitLValueForField() 3416 LV.setTBAAInfo(CGM.getTBAAInfo(getContext().CharTy)); in EmitLValueForField()
|
D | CGAtomic.cpp | 106 AtomicTy = C.getConstantArrayType(C.CharTy, Size, ArrayType::Normal, in AtomicInfo()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 1615 QualType CharTy = Context.CharTy; in ActOnStringLiteral() local 1618 CharTy = Context.getWideCharType(); in ActOnStringLiteral() 1623 CharTy = Context.Char16Ty; in ActOnStringLiteral() 1626 CharTy = Context.Char32Ty; in ActOnStringLiteral() 1629 CharTy = Context.UnsignedCharTy; in ActOnStringLiteral() 1632 QualType CharTyConst = CharTy; in ActOnStringLiteral() 1697 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 1698 bool CharIsUnsigned = CharTy->isUnsignedIntegerType(); in ActOnStringLiteral() 1701 TemplateArgument TypeArg(CharTy); in ActOnStringLiteral() 1702 TemplateArgumentLocInfo TypeArgInfo(Context.getTrivialTypeSourceInfo(CharTy)); in ActOnStringLiteral() [all …]
|
D | SemaExprObjC.cpp | 323 NumberType = Context.CharTy; in BuildObjCNumericLiteral() 517 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr() 546 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 582 ValueType = Context.CharTy; in BuildObjCBoxedExpr() 671 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 1071 StrTy = Context.CharTy; in BuildObjCEncodeExpression()
|
D | SemaInit.cpp | 2482 QualType CharTy = AT->getElementType(); in CheckDesignatedInitializer() local 2485 QualType PromotedCharTy = CharTy; in CheckDesignatedInitializer() 2486 if (CharTy->isPromotableIntegerType()) in CheckDesignatedInitializer() 2487 PromotedCharTy = Context.getPromotedIntegerType(CharTy); in CheckDesignatedInitializer() 2503 if (CharTy != PromotedCharTy) in CheckDesignatedInitializer() 2504 Init = ImplicitCastExpr::Create(Context, CharTy, CK_IntegralCast, in CheckDesignatedInitializer() 2525 if (CharTy != PromotedCharTy) in CheckDesignatedInitializer() 2526 Init = ImplicitCastExpr::Create(Context, CharTy, CK_IntegralCast, in CheckDesignatedInitializer()
|
D | SemaDeclCXX.cpp | 11925 SemaRef.Context.hasSameType(PmDecl->getType(), SemaRef.Context.CharTy)) in checkLiteralOperatorTemplateParameterList() 12000 Context.hasSameType(ParamType, Context.CharTy) || in CheckLiteralOperatorDeclaration() 12009 Context.CharTy) && in CheckLiteralOperatorDeclaration() 12064 if (!(Context.hasSameType(InnerType, Context.CharTy) || in CheckLiteralOperatorDeclaration()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 600 Context->CharTy, llvm::APInt(32, Str.size() + 1), ArrayType::Normal, in getStringLiteral() 2312 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2512 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2542 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 3017 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType() 7488 Context->getPointerType(Context->CharTy), in RewriteObjCIvarRefExpr() 7500 Context->getPointerType(Context->CharTy), in RewriteObjCIvarRefExpr()
|
D | RewriteObjC.cpp | 500 Context->CharTy, llvm::APInt(32, Str.size() + 1), ArrayType::Normal, in getStringLiteral() 2223 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2436 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2466 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 2563 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 1134 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 1002 InitBuiltinType(CharTy, BuiltinType::Char_S); in InitBuiltinTypes() 1004 InitBuiltinType(CharTy, BuiltinType::Char_U); in InitBuiltinTypes() 4700 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 4904 FieldTypes[2] = getPointerType(CharTy.withConst()); in getCFConstantStringDecl() 6170 QualType T = Context->getPointerType(Context->CharTy); in CreateCharPtrNamedVaListDecl() 8190 Type = Context.CharTy; in DecodeTypeFromStr()
|
D | ExprConstant.cpp | 7045 QualType CharTy = E->getArg(0)->getType()->getPointeeType(); in VisitCallExpr() local 7048 if (!handleLValueToRValueConversion(Info, E, CharTy, String, Char) || in VisitCallExpr() 7053 if (!HandleLValueArrayAdjustment(Info, E, String, CharTy, 1)) in VisitCallExpr()
|