Home
last modified time | relevance | path

Searched refs:ConvTy (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Sema/
DSemaLambda.cpp1184 QualType ConvTy = in addFunctionPointerConversion() local
1213 TypeSourceInfo *ConvTSI = S.Context.getTrivialTypeSourceInfo(ConvTy, Loc); in addFunctionPointerConversion()
1261 ConvTy, in addFunctionPointerConversion()
1352 QualType ConvTy = S.Context.getFunctionType(BlockPtrTy, None, ConversionEPI); in addBlockPointerConversion() local
1363 ConvTy, in addBlockPointerConversion()
1364 S.Context.getTrivialTypeSourceInfo(ConvTy, Loc), in addBlockPointerConversion()
DSemaExprCXX.cpp1641 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) override { in BuildCXXNew() argument
1642 return S.Diag(Loc, diag::err_array_size_explicit_conversion) << T << ConvTy; in BuildCXXNew()
1646 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew() argument
1648 << ConvTy->isEnumeralType() << ConvTy; in BuildCXXNew()
1657 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew() argument
1659 << ConvTy->isEnumeralType() << ConvTy; in BuildCXXNew()
1664 QualType ConvTy) override { in BuildCXXNew() argument
1669 << T << ConvTy->isEnumeralType() << ConvTy; in BuildCXXNew()
2889 QualType ConvTy) override { in ActOnCXXDelete() argument
2890 return S.Diag(Loc, diag::err_delete_explicit_conversion) << T << ConvTy; in ActOnCXXDelete()
[all …]
DSemaStmt.cpp630 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) override { in CheckSwitchCondition() argument
631 return S.Diag(Loc, diag::err_switch_explicit_conversion) << T << ConvTy; in CheckSwitchCondition()
635 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition() argument
637 << ConvTy->isEnumeralType() << ConvTy; in CheckSwitchCondition()
646 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition() argument
648 << ConvTy->isEnumeralType() << ConvTy; in CheckSwitchCondition()
652 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) override { in CheckSwitchCondition() argument
2632 AssignConvertType ConvTy = in ActOnIndirectGotoStmt() local
2637 if (DiagnoseAssignmentResult(ConvTy, StarLoc, DestTy, ETy, E, AA_Passing)) in ActOnIndirectGotoStmt()
DSemaExpr.cpp7114 Sema::AssignConvertType ConvTy = Sema::Compatible; in checkPointerTypesForAssignment() local
7131 ConvTy = Sema::IncompatiblePointerDiscardsQualifiers; in checkPointerTypesForAssignment()
7143 ConvTy = Sema::IncompatiblePointerDiscardsQualifiers; in checkPointerTypesForAssignment()
7147 else ConvTy = Sema::CompatiblePointerDiscardsQualifiers; in checkPointerTypesForAssignment()
7155 return ConvTy; in checkPointerTypesForAssignment()
7164 return ConvTy; in checkPointerTypesForAssignment()
7192 if (ConvTy != Sema::Compatible) in checkPointerTypesForAssignment()
7193 return ConvTy; in checkPointerTypesForAssignment()
7218 return ConvTy; in checkPointerTypesForAssignment()
7241 Sema::AssignConvertType ConvTy = Sema::Compatible; in checkBlockPointerTypesForAssignment() local
[all …]
DSemaOpenMP.cpp7390 QualType ConvTy) override { in PerformOpenMPImplicitIntegerConversion() argument
7391 return S.Diag(Loc, diag::err_omp_explicit_conversion) << T << ConvTy; in PerformOpenMPImplicitIntegerConversion()
7394 QualType ConvTy) override { in PerformOpenMPImplicitIntegerConversion() argument
7396 << ConvTy->isEnumeralType() << ConvTy; in PerformOpenMPImplicitIntegerConversion()
7403 QualType ConvTy) override { in PerformOpenMPImplicitIntegerConversion() argument
7405 << ConvTy->isEnumeralType() << ConvTy; in PerformOpenMPImplicitIntegerConversion()
DSemaInit.cpp6789 Sema::AssignConvertType ConvTy = in Perform() local
6798 if (ConvTy != Sema::Compatible && in Perform()
6802 ConvTy = Sema::Compatible; in Perform()
6808 if (S.DiagnoseAssignmentResult(ConvTy, Kind.getLocation(), in Perform()
DSemaOverload.cpp5344 QualType ConvTy = Conv->getConversionType().getNonReferenceType(); in diagnoseAmbiguousConversion() local
5345 Converter.noteAmbiguous(SemaRef, Conv, ConvTy); in diagnoseAmbiguousConversion()
5362 QualType ConvTy = Conversion->getConversionType().getNonReferenceType(); in diagnoseNoViableConversion() local
5364 ConvTy.getAsStringInternal(TypeStr, SemaRef.getPrintingPolicy()); in diagnoseNoViableConversion()
5366 Converter.diagnoseExplicitConv(SemaRef, Loc, T, ConvTy) in diagnoseNoViableConversion()
5371 Converter.noteExplicitConv(SemaRef, Conversion, ConvTy); in diagnoseNoViableConversion()
DSemaChecking.cpp1227 AssignConvertType ConvTy; in CheckNeonBuiltinFunctionCall() local
1228 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); in CheckNeonBuiltinFunctionCall()
1231 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy, in CheckNeonBuiltinFunctionCall()
/external/clang/include/clang/Sema/
DSema.h2370 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) = 0;
2374 noteExplicitConv(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
2383 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
2388 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) = 0;
8684 bool DiagnoseAssignmentResult(AssignConvertType ConvTy,