/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 825 QualType ConvTy = in addFunctionPointerConversion() local 838 ConvTy, in addFunctionPointerConversion() 839 S.Context.getTrivialTypeSourceInfo(ConvTy, in addFunctionPointerConversion() 894 QualType ConvTy = S.Context.getFunctionType(BlockPtrTy, None, ExtInfo); in addBlockPointerConversion() local 905 ConvTy, in addBlockPointerConversion() 906 S.Context.getTrivialTypeSourceInfo(ConvTy, Loc), in addBlockPointerConversion()
|
D | SemaExprCXX.cpp | 1235 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) { in BuildCXXNew() argument 1236 return S.Diag(Loc, diag::err_array_size_explicit_conversion) << T << ConvTy; in BuildCXXNew() 1240 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) { in BuildCXXNew() argument 1242 << ConvTy->isEnumeralType() << ConvTy; in BuildCXXNew() 1251 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) { in BuildCXXNew() argument 1253 << ConvTy->isEnumeralType() << ConvTy; in BuildCXXNew() 1257 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) { in BuildCXXNew() argument 1262 << T << ConvTy->isEnumeralType() << ConvTy; in BuildCXXNew() 2146 QualType T, QualType ConvTy) { in ActOnCXXDelete() argument 2147 return S.Diag(Loc, diag::err_delete_explicit_conversion) << T << ConvTy; in ActOnCXXDelete() [all …]
|
D | SemaStmt.cpp | 607 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) { in ActOnStartOfSwitchStmt() argument 608 return S.Diag(Loc, diag::err_switch_explicit_conversion) << T << ConvTy; in ActOnStartOfSwitchStmt() 612 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) { in ActOnStartOfSwitchStmt() argument 614 << ConvTy->isEnumeralType() << ConvTy; in ActOnStartOfSwitchStmt() 623 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) { in ActOnStartOfSwitchStmt() argument 625 << ConvTy->isEnumeralType() << ConvTy; in ActOnStartOfSwitchStmt() 629 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) { in ActOnStartOfSwitchStmt() argument 2275 AssignConvertType ConvTy = in ActOnIndirectGotoStmt() local 2280 if (DiagnoseAssignmentResult(ConvTy, StarLoc, DestTy, ETy, E, AA_Passing)) in ActOnIndirectGotoStmt()
|
D | SemaExpr.cpp | 5887 Sema::AssignConvertType ConvTy = Sema::Compatible; in checkPointerTypesForAssignment() local 5905 ConvTy = Sema::IncompatiblePointerDiscardsQualifiers; in checkPointerTypesForAssignment() 5917 ConvTy = Sema::IncompatiblePointerDiscardsQualifiers; in checkPointerTypesForAssignment() 5921 else ConvTy = Sema::CompatiblePointerDiscardsQualifiers; in checkPointerTypesForAssignment() 5929 return ConvTy; in checkPointerTypesForAssignment() 5938 return ConvTy; in checkPointerTypesForAssignment() 5966 if (ConvTy != Sema::Compatible) in checkPointerTypesForAssignment() 5967 return ConvTy; in checkPointerTypesForAssignment() 5992 return ConvTy; in checkPointerTypesForAssignment() 6015 Sema::AssignConvertType ConvTy = Sema::Compatible; in checkBlockPointerTypesForAssignment() local [all …]
|
D | SemaChecking.cpp | 422 AssignConvertType ConvTy; in CheckAArch64BuiltinFunctionCall() local 423 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); in CheckAArch64BuiltinFunctionCall() 426 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy, in CheckAArch64BuiltinFunctionCall() 606 AssignConvertType ConvTy; in CheckARMBuiltinFunctionCall() local 607 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); in CheckARMBuiltinFunctionCall() 610 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy, in CheckARMBuiltinFunctionCall()
|
D | SemaInit.cpp | 5987 Sema::AssignConvertType ConvTy = in Perform() local 5996 if (ConvTy != Sema::Compatible && in Perform() 6000 ConvTy = Sema::Compatible; in Perform() 6006 if (S.DiagnoseAssignmentResult(ConvTy, Kind.getLocation(), in Perform()
|
D | SemaOverload.cpp | 5087 QualType ConvTy = Conv->getConversionType().getNonReferenceType(); in diagnoseAmbiguousConversion() local 5088 Converter.noteAmbiguous(SemaRef, Conv, ConvTy); in diagnoseAmbiguousConversion() 5105 QualType ConvTy = Conversion->getConversionType().getNonReferenceType(); in diagnoseNoViableConversion() local 5107 ConvTy.getAsStringInternal(TypeStr, SemaRef.getPrintingPolicy()); in diagnoseNoViableConversion() 5109 Converter.diagnoseExplicitConv(SemaRef, Loc, T, ConvTy) in diagnoseNoViableConversion() 5114 Converter.noteExplicitConv(SemaRef, Conversion, ConvTy); in diagnoseNoViableConversion()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2015 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) = 0; 2019 noteExplicitConv(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0; 2028 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0; 2033 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) = 0; 7096 bool DiagnoseAssignmentResult(AssignConvertType ConvTy,
|