/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 | 314 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets() 356 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw() 399 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp() 576 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon()
|
D | CStringChecker.cpp | 273 assert(ER->getValueType() == C.getASTContext().CharTy && in CheckLocation() 346 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckBufferAccess() 484 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap()
|
D | BasicObjCFoundationChecks.cpp | 237 case kCFNumberCharType: T = Ctx.CharTy; break; in GetCFNumberSize()
|
D | MallocChecker.cpp | 1104 SVal zeroVal = svalBuilder.makeZeroVal(svalBuilder.getContext().CharTy); in CallocMem()
|
/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 54 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); in CGNVCUDARuntime()
|
D | CGRTTI.cpp | 1013 Context.CharTy, Context.UnsignedCharTy, in EmitFundamentalRTTIDescriptors()
|
D | CodeGenModule.cpp | 2276 CharUnits Align = getContext().getTypeAlignInChars(getContext().CharTy); in GetAddrOfConstantCFString() 2363 FieldTypes[1] = Context.getPointerType(Context.CharTy.withConst()); in GetAddrOfConstantString() 2403 CharUnits Align = getContext().getTypeAlignInChars(getContext().CharTy); in GetAddrOfConstantString()
|
D | CGExpr.cpp | 2505 tbaa = CGM.getTBAAInfo(getContext().CharTy); in EmitLValueForField() 2544 LV.setTBAAInfo(CGM.getTBAAInfo(getContext().CharTy)); in EmitLValueForField()
|
D | CGDebugInfo.cpp | 2424 FType = CGM.getContext().getConstantArrayType(CGM.getContext().CharTy, in EmitTypeForVarWithBlocksAttr()
|
/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 | 742 CanQualType CharTy; variable 1539 return getTypeSize(CharTy); in getCharWidth()
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 392 Res = C.CharTy; in getRepresentativeType() 398 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 216 newSuperR = MakeElementRegion(baseR, Ctx.CharTy, off.getQuantity()); in castRegion()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 2106 QualType StrType = Context->getPointerType(Context->CharTy); in RewriteAtEncode() 2125 QualType argType = Context->getPointerType(Context->CharTy); in RewriteAtSelector() 2357 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2557 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2587 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 2674 QualType argType = Context->getPointerType(Context->CharTy); in RewriteObjCBoxedExpr() 2811 QualType argType = Context->getPointerType(Context->CharTy); in RewriteObjCArrayLiteralExpr() 2974 QualType argType = Context->getPointerType(Context->CharTy); in RewriteObjCDictionaryLiteralExpr() 3105 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType() 3328 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr() [all …]
|
D | RewriteObjC.cpp | 2012 QualType StrType = Context->getPointerType(Context->CharTy); in RewriteAtEncode() 2031 QualType argType = Context->getPointerType(Context->CharTy); in RewriteAtSelector() 2263 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2477 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2507 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 2603 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType() 2718 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr() 2792 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr() 2827 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr() 2912 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 72 Context.getPointerType(Context.CharTy), in ParseObjCStringLiteral() 265 NumberType = Context.CharTy; in BuildObjCNumericLiteral() 437 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr() 485 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr() 520 ValueType = Context.CharTy; in BuildObjCBoxedExpr() 940 StrTy = Context.CharTy; in BuildObjCEncodeExpression()
|
D | SemaExpr.cpp | 1361 QualType StrTy = Context.CharTy; in ActOnStringLiteral() 2630 ResTy = Context.CharTy.withConst(); in ActOnPredefinedExpr() 2658 Ty = Context.CharTy; // 'x' -> char in C++ in ActOnCharacterConstant() 2812 Context.CharTy.withConst(), llvm::APInt(32, Length + 1), in ActOnNumericConstant() 2827 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 2828 bool CharIsUnsigned = Context.CharTy->isUnsignedIntegerType(); in ActOnNumericConstant() 2832 TemplateArgument Arg(Context, Value, Context.CharTy); in ActOnNumericConstant() 7410 if (TypeSize == Context.getTypeSize(Context.CharTy)) in GetSignedVectorType() 7411 return Context.getExtVectorType(Context.CharTy, VTy->getNumElements()); in GetSignedVectorType()
|
D | SemaTemplateInstantiate.cpp | 1110 ResTy = getSema().Context.CharTy.withConst(); in TransformPredefinedExpr()
|
D | SemaDeclCXX.cpp | 10065 Context.hasSameType(PmDecl->getType(), Context.CharTy)) in CheckLiteralOperatorDeclaration() 10079 Context.hasSameType(T, Context.CharTy) || in CheckLiteralOperatorDeclaration() 10102 if (Context.hasSameType(T, Context.CharTy)) in CheckLiteralOperatorDeclaration() 10109 if (!(Context.hasSameType(T, Context.CharTy) || in CheckLiteralOperatorDeclaration()
|
D | SemaDecl.cpp | 6941 Context.getPointerType(Context.getPointerType(Context.CharTy)); in CheckMain() 6962 Context.CharTy)) { in CheckMain() 10710 Context.CharTy, in ActOnLastBitfield() 10711 Context.getTrivialTypeSourceInfo(Context.CharTy, in ActOnLastBitfield()
|
D | SemaType.cpp | 721 Result = Context.CharTy; in ConvertDeclSpecToType()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 820 InitBuiltinType(CharTy, BuiltinType::Char_S); in InitBuiltinTypes() 822 InitBuiltinType(CharTy, BuiltinType::Char_U); in InitBuiltinTypes() 4166 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 4347 FieldTypes[2] = getPointerType(CharTy.withConst()); in getCFConstantStringType() 5559 QualType CharPtrType = Context->getPointerType(Context->CharTy); in CreateCharPtrBuiltinVaListDecl() 7364 Type = Context.CharTy; in DecodeTypeFromStr()
|
D | ASTImporter.cpp | 1431 return Importer.getToContext().CharTy; in VisitBuiltinType() 1440 return Importer.getToContext().CharTy; in VisitBuiltinType()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 1130 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
|