Home
last modified time | relevance | path

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

1234

/external/clang/test/Sema/
Dwarn-char-subscripts.c45 typedef char CharTy; typedef
48 CharTy subscript = 0; in t8()
/external/llvm-project/clang/test/Sema/
Dwarn-char-subscripts.c45 typedef char CharTy; typedef
48 CharTy subscript = 0; in t8()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp323 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()
DCStringChecker.cpp292 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()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeEncodingParser.cpp278 return ast_ctx.CharTy; in BuildType()
311 return ast_ctx.getPointerType(ast_ctx.CharTy); in BuildType()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp493 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets()
533 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw()
574 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp()
843 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon()
DCStringChecker.cpp343 if (ER->getValueType() != C.getASTContext().CharTy) in CheckLocation()
388 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckBufferAccess()
511 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap()
886 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in IsFirstBufInBound()
921 assert(ER->getValueType() == C.getASTContext().CharTy && in IsFirstBufInBound()
1188 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in evalCopyCommon()
DStdLibraryFunctionsChecker.cpp926 const QualType CharTy = ACtx.CharTy; in initFunctionSummaries() local
940 const QualType CharPtrTy = getPointerTy(CharTy); // char * in initFunctionSummaries()
943 getPointerTy(getConstTy(CharTy)); // const char * in initFunctionSummaries()
/external/llvm-project/clang/unittests/StaticAnalyzer/
DStoreTest.cpp69 SVal NarrowZero = Builder.makeZeroVal(ASTCtxt.CharTy); in performTest()
/external/clang/include/clang/AST/
DBuiltinTypes.def67 SHARED_SINGLETON_TYPE(UNSIGNED_TYPE(Char_U, CharTy))
99 SHARED_SINGLETON_TYPE(SIGNED_TYPE(Char_S, CharTy))
/external/llvm-project/clang/include/clang/AST/
DBuiltinTypes.def66 SHARED_SINGLETON_TYPE(UNSIGNED_TYPE(Char_U, CharTy))
101 SHARED_SINGLETON_TYPE(SIGNED_TYPE(Char_S, CharTy))
/external/llvm-project/clang/lib/AST/
DASTDumper.cpp289 Dumper.Visit(*this, /*Ty=*/Context.getPointerType(Context.CharTy)); in dump()
DFormatString.cpp512 Res = C.CharTy; in getRepresentativeType()
518 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp638 Type *CharTy = Type::getInt8PtrTy(Basis.Ins->getContext(), AS); in rewriteCandidateWithBasis() local
639 Reduced = Builder.CreateBitCast(Basis.Ins, CharTy); in rewriteCandidateWithBasis()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp673 Type *CharTy = Type::getInt8PtrTy(Basis.Ins->getContext(), AS); in rewriteCandidateWithBasis() local
674 Reduced = Builder.CreateBitCast(Basis.Ins, CharTy); in rewriteCandidateWithBasis()
/external/clang/lib/Analysis/
DFormatString.cpp454 Res = C.CharTy; in getRepresentativeType()
460 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp686 Type *CharTy = Type::getInt8PtrTy(Basis.Ins->getContext(), AS); in rewriteCandidateWithBasis() local
687 Reduced = Builder.CreateBitCast(Basis.Ins, CharTy); in rewriteCandidateWithBasis()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp205 newSuperR = MakeElementRegion(baseR, Ctx.CharTy, off.getQuantity()); in castRegion()
DExprEngineCXX.cpp302 SVal ZeroVal = svalBuilder.makeZeroVal(getContext().CharTy); in VisitCXXConstructExpr()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DStore.cpp218 newSuperR = MakeElementRegion(cast<SubRegion>(baseR), Ctx.CharTy, in castRegion()
/external/clang/lib/CodeGen/
DCGCUDANV.cpp94 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); in CGNVCUDARuntime()
/external/clang/lib/Sema/
DSemaExpr.cpp1615 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 …]
DSemaExprObjC.cpp323 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()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp1804 QualType CharTy = Context.CharTy; in ActOnStringLiteral() local
1807 CharTy = Context.getWideCharType(); in ActOnStringLiteral()
1811 CharTy = Context.Char8Ty; in ActOnStringLiteral()
1814 CharTy = Context.Char16Ty; in ActOnStringLiteral()
1817 CharTy = Context.Char32Ty; in ActOnStringLiteral()
1820 CharTy = Context.UnsignedCharTy; in ActOnStringLiteral()
1849 Context.getStringLiteralArrayType(CharTy, Literal.GetNumStringChars()); in ActOnStringLiteral()
1909 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral()
1910 bool CharIsUnsigned = CharTy->isUnsignedIntegerType(); in ActOnStringLiteral()
1913 TemplateArgument TypeArg(CharTy); in ActOnStringLiteral()
[all …]
DSemaExprObjC.cpp325 NumberType = Context.CharTy; in BuildObjCNumericLiteral()
518 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr()
572 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
615 ValueType = Context.CharTy; in BuildObjCBoxedExpr()
698 QualType ConstCharType = Context.CharTy.withConst(); in BuildObjCBoxedExpr()
1154 StrTy = Context.getStringLiteralArrayType(Context.CharTy, Str.size()); in BuildObjCEncodeExpression()

1234