Home
last modified time | relevance | path

Searched defs:DestType (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp90 QualType DestType; global() member
186 if (const auto *DestType = dyn_cast<PointerType>(ToType)) { CheckNoDeref() local
301 QualType DestType = DestTInfo->getType(); BuildCXXNamedCast() local
670 CastsAwayConstness(Sema & Self,QualType SrcType,QualType DestType,bool CheckCVR,bool CheckObjCLifetime,QualType * TheOffendingSrcType=nullptr,QualType * TheOffendingDestType=nullptr,Qualifiers * CastAwayQualifiers=nullptr) CastsAwayConstness() argument
799 QualType DestType = Self.Context.getCanonicalType(this->DestType); CheckDynamicCast() local
998 DiagnoseReinterpretUpDownCast(Sema & Self,const Expr * SrcExpr,QualType DestType,SourceRange OpRange) DiagnoseReinterpretUpDownCast() argument
1088 argTypeIsABIEquivalent(QualType SrcType,QualType DestType,ASTContext & Context) argTypeIsABIEquivalent() argument
1104 checkCastFunctionType(Sema & Self,const ExprResult & SrcExpr,QualType DestType) checkCastFunctionType() argument
1302 IsAddressSpaceConversion(QualType SrcType,QualType DestType) IsAddressSpaceConversion() argument
1317 TryStaticCast(Sema & Self,ExprResult & SrcExpr,QualType DestType,CheckedConversionKind CCK,SourceRange OpRange,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath,bool ListInitialization) TryStaticCast() argument
1528 TryLValueToRValueCast(Sema & Self,Expr * SrcExpr,QualType DestType,bool CStyle,CastKind & Kind,CXXCastPath & BasePath,unsigned & msg) TryLValueToRValueCast() argument
1582 TryStaticReferenceDowncast(Sema & Self,Expr * SrcExpr,QualType DestType,bool CStyle,SourceRange OpRange,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath) TryStaticReferenceDowncast() argument
1620 TryStaticPointerDowncast(Sema & Self,QualType SrcType,QualType DestType,bool CStyle,SourceRange OpRange,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath) TryStaticPointerDowncast() argument
1654 TryStaticDowncast(Sema & Self,CanQualType SrcType,CanQualType DestType,bool CStyle,SourceRange OpRange,QualType OrigSrcType,QualType OrigDestType,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath) TryStaticDowncast() argument
1767 TryStaticMemberPointerUpcast(Sema & Self,ExprResult & SrcExpr,QualType SrcType,QualType DestType,bool CStyle,SourceRange OpRange,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath) TryStaticMemberPointerUpcast() argument
1884 TryStaticImplicitCast(Sema & Self,ExprResult & SrcExpr,QualType DestType,CheckedConversionKind CCK,SourceRange OpRange,unsigned & msg,CastKind & Kind,bool ListInitialization) TryStaticImplicitCast() argument
1941 TryConstCast(Sema & Self,ExprResult & SrcExpr,QualType DestType,bool CStyle,unsigned & msg) TryConstCast() argument
2043 CheckCompatibleReinterpretCast(QualType SrcType,QualType DestType,bool IsDereference,SourceRange Range) CheckCompatibleReinterpretCast() argument
2094 DiagnoseCastOfObjCSEL(Sema & Self,const ExprResult & SrcExpr,QualType DestType) DiagnoseCastOfObjCSEL() argument
2201 checkIntToPointerCast(bool CStyle,const SourceRange & OpRange,const Expr * SrcExpr,QualType DestType,Sema & Self) checkIntToPointerCast() argument
2226 fixOverloadedReinterpretCastExpr(Sema & Self,QualType DestType,ExprResult & Result) fixOverloadedReinterpretCastExpr() argument
2255 TryReinterpretCast(Sema & Self,ExprResult & SrcExpr,QualType DestType,bool CStyle,SourceRange OpRange,unsigned & msg,CastKind & Kind) TryReinterpretCast() argument
2608 TryAddressSpaceCast(Sema & Self,ExprResult & SrcExpr,QualType DestType,bool CStyle,unsigned & msg,CastKind & Kind) TryAddressSpaceCast() argument
2648 checkAddressSpaceCast(QualType SrcType,QualType DestType) checkAddressSpaceCast() argument
2885 DiagnoseBadFunctionCast(Sema & Self,const ExprResult & SrcExpr,QualType DestType) DiagnoseBadFunctionCast() argument
3306 DiagnoseCastQual(Sema & Self,const ExprResult & SrcExpr,QualType DestType) DiagnoseCastQual() argument
[all...]
H A DSemaInit.cpp4172 TryInitializerListConstruction(Sema & S,InitListExpr * List,QualType DestType,InitializationSequence & Sequence,bool TreatUnavailableAsInvalid) TryInitializerListConstruction() argument
4220 ResolveConstructorOverload(Sema & S,SourceLocation DeclLoc,MultiExprArg Args,OverloadCandidateSet & CandidateSet,QualType DestType,DeclContext::lookup_result Ctors,OverloadCandidateSet::iterator & Best,bool CopyInitializing,bool AllowExplicit,bool OnlyListConstructors,bool IsListInit,bool RequireActualConstructor,bool SecondStepOfCopyInit=false) ResolveConstructorOverload() argument
4335 TryConstructorInitialization(Sema & S,const InitializedEntity & Entity,const InitializationKind & Kind,MultiExprArg Args,QualType DestType,QualType DestArrayType,InitializationSequence & Sequence,bool IsListInit=false,bool IsInitListCopy=false) TryConstructorInitialization() argument
4574 QualType DestType = Entity.getType(); TryReferenceListInitialization() local
4666 QualType DestType = Entity.getType(); TryListInitialization() local
4881 QualType DestType = Entity.getType(); TryRefInitWithConversionFunction() local
5067 QualType DestType = Entity.getType(); TryReferenceInitialization() local
5110 QualType DestType = Entity.getType(); TryReferenceInitializationCore() local
5520 QualType DestType = S.Context.getBaseElementType(Entity.getType()); TryDefaultInitialization() local
5802 TryUserDefinedConversion(Sema & S,QualType DestType,const InitializationKind & Kind,Expr * Initializer,InitializationSequence & Sequence,bool TopLevelOfInitList) TryUserDefinedConversion() argument
6153 TryOCLSamplerInitialization(Sema & S,InitializationSequence & Sequence,QualType DestType,Expr * Initializer) TryOCLSamplerInitialization() argument
6171 TryOCLZeroOpaqueTypeInitialization(Sema & S,InitializationSequence & Sequence,QualType DestType,Expr * Initializer) TryOCLZeroOpaqueTypeInitialization() argument
6296 QualType DestType = Entity.getType(); InitializeFrom() local
7309 QualType DestType = InitExpr->getType(); CheckMoveOnConstruction() local
7481 QualType DestType = Entity.getType(); Perform() local
7594 QualType DestType = Entity.getType().getNonReferenceType(); Perform() local
8523 QualType DestType = Entity.getType(); diagnoseListInit() local
8564 QualType DestType = Entity.getType(); Diagnose() local
[all...]
H A DSemaExprObjC.cpp4232 checkObjCBridgeRelatedComponents(SourceLocation Loc,QualType DestType,QualType SrcType,ObjCInterfaceDecl * & RelatedClass,ObjCMethodDecl * & ClassMethod,ObjCMethodDecl * & InstanceMethod,TypedefNameDecl * & TDNDecl,bool CfToNs,bool Diagnose) checkObjCBridgeRelatedComponents() argument
4304 CheckObjCBridgeRelatedConversions(SourceLocation Loc,QualType DestType,QualType SrcType,Expr * & SrcExpr,bool Diagnose) CheckObjCBridgeRelatedConversions() argument
[all...]
H A DSemaOverload.cpp5822 QualType FromRecordType, DestType; PerformImplicitObjectArgumentInitialization() local
11026 NoteOverloadCandidate(const NamedDecl * Found,const FunctionDecl * Fn,OverloadCandidateRewriteKind RewriteKind,QualType DestType,bool TakingAddress) NoteOverloadCandidate() argument
11101 NoteAllOverloadCandidates(Expr * OverloadedExpr,QualType DestType,bool TakingAddress) NoteAllOverloadCandidates() argument
[all...]
/llvm-project/clang-tools-extra/clang-tidy/google/
H A DAvoidCStyleCastsCheck.cpp40 static bool needsConstCast(QualType SourceType, QualType DestType) { in needsConstCast()
115 const QualType DestType = DestTypeAsWritten.getCanonicalType(); in check() local
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DUndefinedMemoryManipulationCheck.cpp54 QualType DestType = Call->getArg(0)->IgnoreImplicit()->getType(); in check() local
/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProTypeCstyleCastCheck.cpp18 static bool needsConstCast(QualType SourceType, QualType DestType) { in needsConstCast()
H A DNarrowingConversionsCheck.cpp
/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp109 FunctionType *DestType = CB->getFunctionType(); runOnModule() local
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp136 QualType DestType, in isLossOfPrecision()
H A DDynamicTypePropagation.cpp616 QualType DestType = CE->getType(); in checkPostStmt() local
H A DNullabilityChecker.cpp1133 QualType DestType = CE->getType(); checkPostStmt() local
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DImplicitBoolConversionCheck.cpp195 getEquivalentForBoolLiteral(const CXXBoolLiteralExpr * BoolLiteral,QualType DestType,ASTContext & Context) getEquivalentForBoolLiteral() argument
388 QualType DestType = handleCastFromBool() local
[all...]
/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1071 ProduceIntToIntCast(const Expr * E,QualType DestType) ProduceIntToIntCast() argument
1263 withDestType(ASTContext & Ctx,const Expr * E,QualType SrcType,QualType DestType,const llvm::APSInt & Value) withDestType() argument
1940 QualType DestType; global() member in __anonc05b2bc40b11::ConstantLValueEmitter
2282 tryEmitPrivate(const APValue & Value,QualType DestType) tryEmitPrivate() argument
[all...]
H A DCGExprComplex.cpp510 EmitComplexToComplexCast(ComplexPairTy Val,QualType SrcType,QualType DestType,SourceLocation Loc) EmitComplexToComplexCast() argument
528 EmitScalarToComplexCast(llvm::Value * Val,QualType SrcType,QualType DestType,SourceLocation Loc) EmitScalarToComplexCast() argument
[all...]
H A DCGAtomic.cpp1053 auto *DestType = llvm::PointerType::get(getLLVMContext(), DestAS); EmitAtomicExpr() local
H A DCGStmtOpenMP.cpp5998 convertToScalarValue(CodeGenFunction & CGF,RValue Val,QualType SrcType,QualType DestType,SourceLocation Loc) convertToScalarValue() argument
6011 convertToComplexValue(CodeGenFunction & CGF,RValue Val,QualType SrcType,QualType DestType,SourceLocation Loc) convertToComplexValue() argument
[all...]
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp404 Type *DestType = Trunc.getType(); in foldVecTruncToExtElt() local
1921 Type *DestType = FI.getType(); foldItoFPtoI() local
2350 Type *DestType = BitCast.getType(); canonicalizeBitCastExtElt() local
[all...]
H A DInstCombineVectorOps.cpp2389 Type *DestType = Shuf.getType(); foldTruncShuffle() local
/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp500 valueOrConversionHasValue(QualType DestType,const Expr & E,const MatchFinder::MatchResult & MatchRes,LatticeTransferState & State) valueOrConversionHasValue() argument
/llvm-project/clang/include/clang/Sema/
H A DOverload.h743 getNullptrToBool(QualType SourceType,QualType DestType,bool NeedLValToRVal) getNullptrToBool() argument
/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2634 HandleOverflow(EvalInfo & Info,const Expr * E,const T & SrcValue,QualType DestType) HandleOverflow() argument
2642 HandleFloatToIntCast(EvalInfo & Info,const Expr * E,QualType SrcType,const APFloat & Value,QualType DestType,APSInt & Result) HandleFloatToIntCast() argument
2710 HandleFloatToFloatCast(EvalInfo & Info,const Expr * E,QualType SrcType,QualType DestType,APFloat & Result) HandleFloatToFloatCast() argument
2726 HandleIntToIntCast(EvalInfo & Info,const Expr * E,QualType DestType,QualType SrcType,const APSInt & Value) HandleIntToIntCast() argument
2741 HandleIntToFloatCast(EvalInfo & Info,const Expr * E,const FPOptions FPO,QualType SrcType,const APSInt & Value,QualType DestType,APFloat & Result) HandleIntToFloatCast() argument
14212 QualType DestType = E->getType(); VisitCastExpr() local
14508 QualType DestType = E->getType(); VisitCastExpr() local
[all...]
H A DExprCXX.cpp823 QualType DestType = getType(); isAlwaysNull() local
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp1276 inferAs(SymbolRef Sym,QualType DestType) inferAs() argument
/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp1782 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext()); EmitStackConvert() local

12