/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 | 288 assert(ER->getValueType() == C.getASTContext().CharTy && in CheckLocation() 362 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckBufferAccess() 500 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap() 840 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in IsFirstBufInBound() 872 assert(ER->getValueType() == C.getASTContext().CharTy && in IsFirstBufInBound() 1055 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in evalCopyCommon()
|
D | BasicObjCFoundationChecks.cpp | 386 case kCFNumberCharType: T = Ctx.CharTy; break; in GetCFNumberSize()
|
D | MallocChecker.cpp | 731 SVal ZeroVal = C.getSValBuilder().makeZeroVal(Ctx.CharTy); in performKernelMalloc() 2003 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 | 881 CanQualType CharTy; variable 1793 return getTypeSize(CharTy); in getCharWidth()
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 423 Res = C.CharTy; in getRepresentativeType() 429 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 657 Type *CharTy = Type::getInt8PtrTy(Basis.Ins->getContext(), AS); in rewriteCandidateWithBasis() local 658 Reduced = Builder.CreateBitCast(Basis.Ins, CharTy); in rewriteCandidateWithBasis()
|
/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 89 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); in CGNVCUDARuntime()
|
D | CodeGenModule.cpp | 2924 CharUnits Align = getContext().getTypeAlignInChars(getContext().CharTy); in GetAddrOfConstantCFString() 3004 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString() 3045 CharUnits Align = getContext().getTypeAlignInChars(getContext().CharTy); in GetAddrOfConstantString() 3234 getContext().getAlignOfGlobalVarInChars(getContext().CharTy); in GetAddrOfConstantCString()
|
D | CGExpr.cpp | 3154 tbaa = CGM.getTBAAInfo(getContext().CharTy); in EmitLValueForField() 3193 LV.setTBAABaseType(mayAlias ? getContext().CharTy : base.getTBAABaseType()); in EmitLValueForField() 3207 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/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/Sema/ |
D | SemaExpr.cpp | 1553 QualType CharTy = Context.CharTy; in ActOnStringLiteral() local 1556 CharTy = Context.getWideCharType(); in ActOnStringLiteral() 1561 CharTy = Context.Char16Ty; in ActOnStringLiteral() 1564 CharTy = Context.Char32Ty; in ActOnStringLiteral() 1567 CharTy = Context.UnsignedCharTy; in ActOnStringLiteral() 1570 QualType CharTyConst = CharTy; in ActOnStringLiteral() 1635 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 1636 bool CharIsUnsigned = CharTy->isUnsignedIntegerType(); in ActOnStringLiteral() 1639 TemplateArgument TypeArg(CharTy); in ActOnStringLiteral() 1640 TemplateArgumentLocInfo TypeArgInfo(Context.getTrivialTypeSourceInfo(CharTy)); in ActOnStringLiteral() [all …]
|
D | SemaExprObjC.cpp | 325 NumberType = Context.CharTy; in BuildObjCNumericLiteral() 519 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr() 548 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 583 ValueType = Context.CharTy; in BuildObjCBoxedExpr() 672 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 1074 StrTy = Context.CharTy; in BuildObjCEncodeExpression()
|
D | SemaInit.cpp | 2396 QualType CharTy = AT->getElementType(); in CheckDesignatedInitializer() local 2399 QualType PromotedCharTy = CharTy; in CheckDesignatedInitializer() 2400 if (CharTy->isPromotableIntegerType()) in CheckDesignatedInitializer() 2401 PromotedCharTy = Context.getPromotedIntegerType(CharTy); in CheckDesignatedInitializer() 2417 if (CharTy != PromotedCharTy) in CheckDesignatedInitializer() 2418 Init = ImplicitCastExpr::Create(Context, CharTy, CK_IntegralCast, in CheckDesignatedInitializer() 2439 if (CharTy != PromotedCharTy) in CheckDesignatedInitializer() 2440 Init = ImplicitCastExpr::Create(Context, CharTy, CK_IntegralCast, in CheckDesignatedInitializer()
|
D | SemaDeclCXX.cpp | 11771 Context.hasSameType(PmDecl->getType(), Context.CharTy)) in CheckLiteralOperatorDeclaration() 11806 Context.hasSameType(T, Context.CharTy) || in CheckLiteralOperatorDeclaration() 11829 if (Context.hasSameType(T, Context.CharTy)) in CheckLiteralOperatorDeclaration() 11836 if (!(Context.hasSameType(T, Context.CharTy) || in CheckLiteralOperatorDeclaration()
|
D | SemaDecl.cpp | 8673 Context.getPointerType(Context.getPointerType(Context.CharTy)); in CheckMain() 8694 Context.CharTy)) { in CheckMain() 13389 Context.CharTy, in ActOnLastBitfield() 13390 Context.getTrivialTypeSourceInfo(Context.CharTy, in ActOnLastBitfield()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 605 Context->CharTy, llvm::APInt(32, Str.size() + 1), ArrayType::Normal, in getStringLiteral() 2339 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2539 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2569 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 3048 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType() 7613 Context->getPointerType(Context->CharTy), in RewriteObjCIvarRefExpr() 7625 Context->getPointerType(Context->CharTy), in RewriteObjCIvarRefExpr()
|
D | RewriteObjC.cpp | 499 Context->CharTy, llvm::APInt(32, Str.size() + 1), ArrayType::Normal, in getStringLiteral() 2227 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2441 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2471 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 2568 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 1131 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 1005 InitBuiltinType(CharTy, BuiltinType::Char_S); in InitBuiltinTypes() 1007 InitBuiltinType(CharTy, BuiltinType::Char_U); in InitBuiltinTypes() 4643 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 4843 FieldTypes[2] = getPointerType(CharTy.withConst()); in getCFConstantStringType() 6073 QualType T = Context->getPointerType(Context->CharTy); in CreateCharPtrNamedVaListDecl() 8048 Type = Context.CharTy; in DecodeTypeFromStr()
|
D | ExprConstant.cpp | 6766 QualType CharTy = E->getArg(0)->getType()->getPointeeType(); in VisitCallExpr() local 6769 if (!handleLValueToRValueConversion(Info, E, CharTy, String, Char) || in VisitCallExpr() 6774 if (!HandleLValueArrayAdjustment(Info, E, String, CharTy, 1)) in VisitCallExpr()
|