Home
last modified time | relevance | path

Searched refs:CharTy (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/test/Sema/
Dwarn-char-subscripts.c45 typedef char CharTy; typedef
48 CharTy subscript = 0; in t8()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp314 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()
DCStringChecker.cpp273 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()
DBasicObjCFoundationChecks.cpp237 case kCFNumberCharType: T = Ctx.CharTy; break; in GetCFNumberSize()
DMallocChecker.cpp1104 SVal zeroVal = svalBuilder.makeZeroVal(svalBuilder.getContext().CharTy); in CallocMem()
/external/clang/lib/CodeGen/
DCGCUDANV.cpp54 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); in CGNVCUDARuntime()
DCGRTTI.cpp1013 Context.CharTy, Context.UnsignedCharTy, in EmitFundamentalRTTIDescriptors()
DCodeGenModule.cpp2276 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()
DCGExpr.cpp2505 tbaa = CGM.getTBAAInfo(getContext().CharTy); in EmitLValueForField()
2544 LV.setTBAAInfo(CGM.getTBAAInfo(getContext().CharTy)); in EmitLValueForField()
DCGDebugInfo.cpp2424 FType = CGM.getContext().getConstantArrayType(CGM.getContext().CharTy, in EmitTypeForVarWithBlocksAttr()
/external/clang/include/clang/AST/
DBuiltinTypes.def67 SHARED_SINGLETON_TYPE(UNSIGNED_TYPE(Char_U, CharTy))
99 SHARED_SINGLETON_TYPE(SIGNED_TYPE(Char_S, CharTy))
DASTContext.h742 CanQualType CharTy; variable
1539 return getTypeSize(CharTy); in getCharWidth()
/external/clang/lib/Analysis/
DFormatString.cpp392 Res = C.CharTy; in getRepresentativeType()
398 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp216 newSuperR = MakeElementRegion(baseR, Ctx.CharTy, off.getQuantity()); in castRegion()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp2106 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 …]
DRewriteObjC.cpp2012 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/
DSemaExprObjC.cpp72 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()
DSemaExpr.cpp1361 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()
DSemaTemplateInstantiate.cpp1110 ResTy = getSema().Context.CharTy.withConst(); in TransformPredefinedExpr()
DSemaDeclCXX.cpp10065 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()
DSemaDecl.cpp6941 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()
DSemaType.cpp721 Result = Context.CharTy; in ConvertDeclSpecToType()
/external/clang/lib/AST/
DASTContext.cpp820 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()
DASTImporter.cpp1431 return Importer.getToContext().CharTy; in VisitBuiltinType()
1440 return Importer.getToContext().CharTy; in VisitBuiltinType()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1130 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()

12