Lines Matching refs:getLocStart
63 SourceRange range(call->getArg(desiredArgCount)->getLocStart(),
81 S.Diag(ValArg->getLocStart(), diag::err_builtin_annotation_first_arg)
90 S.Diag(StrArg->getLocStart(), diag::err_builtin_annotation_second_arg)
106 QualType ResultType = S.CheckAddressOfOperand(Arg, TheCall->getLocStart());
124 S.Diag(Arg->getLocStart(), diag::err_overflow_builtin_must_be_int)
139 S.Diag(Arg->getLocStart(), diag::err_overflow_builtin_must_be_ptr_int)
170 SourceLocation SL = TheCall->getLocStart();
180 SourceLocation BuiltinLoc = BuiltinCall->getLocStart();
559 TheCall->getLocStart(),
706 return Diag(TheCall->getLocStart(), diag::err_invalid_neon_type_code)
731 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy,
784 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
801 Diag(DRE->getLocStart(), diag::ext_typecheck_convert_discards_qualifiers)
819 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer_intfltptr)
827 Diag(DRE->getLocStart(), diag::err_atomic_exclusive_builtin_pointer_size)
841 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
989 return Diag(TheCall->getLocStart(), diag::err_64_bit_builtin_32_bit_tgt)
995 return Diag(TheCall->getLocStart(), diag::err_ppc_builtin_only_on_pwr7)
1024 return Diag(Arg->getLocStart(), diag::err_systemz_invalid_tabort_code)
1081 return S.Diag(TheCall->getLocStart(), diag::err_expr_not_string_literal)
1088 return S.Diag(TheCall->getLocStart(), diag::err_invalid_cpu_supports)
1674 Diag(TheCall->getArg(NumArgs[Form])->getLocStart(),
1686 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
1696 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic)
1701 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_non_const_atomic)
1708 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_non_const_pointer)
1718 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr)
1723 Diag(DRE->getLocStart(), diag::err_atomic_op_bitwise_needs_atomic_int)
1728 RequireCompleteType(Ptr->getLocStart(), ValType->getPointeeType(),
1735 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr)
1744 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_trivial_copy)
1760 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
1873 Diag(SubExprs[1]->getLocStart(),
1878 AtomicExpr *AE = new (Context) AtomicExpr(TheCall->getCallee()->getLocStart(),
1885 Diag(AE->getLocStart(), diag::err_atomic_load_store_uses_lib) <<
1952 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
1960 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer_intptr)
1974 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
2025 Diag(DRE->getLocStart(), diag::err_atomic_builtin_pointer_size)
2224 LookupResult Res(*this, DN, DRE->getLocStart(), LookupOrdinaryName);
2321 Diag(DRE->getLocStart(), diag::err_nontemporal_builtin_must_be_pointer)
2333 Diag(DRE->getLocStart(),
2365 Diag(Arg->getLocStart(), diag::err_cfstring_literal_not_string_constant)
2382 Diag(Arg->getLocStart(),
2394 Diag(TheCall->getArg(2)->getLocStart(),
2398 << SourceRange(TheCall->getArg(2)->getLocStart(),
2424 Diag(Fn->getLocStart(), diag::err_va_start_used_in_non_variadic_function);
2457 Diag(TheCall->getArg(1)->getLocStart(),
2460 Diag(Arg->getLocStart(),
2484 return Diag(TheCall->getCallee()->getLocStart(),
2499 return Diag(Callee->getLocStart(), diag::err_x86_builtin_32_bit_tgt);
2506 return Diag(Callee->getLocStart(),
2534 Diag(Func->getLocStart(), diag::err_va_start_used_in_non_variadic_function);
2554 Diag(Arg->getLocStart(), diag::err_typecheck_convert_incompatible)
2570 return Diag(TheCall->getArg(2)->getLocStart(),
2573 << SourceRange(TheCall->getArg(2)->getLocStart(),
2597 return Diag(OrigArg0.get()->getLocStart(),
2600 << SourceRange(OrigArg0.get()->getLocStart(), OrigArg1.get()->getLocEnd());
2614 return Diag(TheCall->getArg(NumArgs)->getLocStart(),
2617 << SourceRange(TheCall->getArg(NumArgs)->getLocStart(),
2627 return Diag(OrigArg->getLocStart(),
2667 return ExprError(Diag(TheCall->getLocStart(),
2669 << SourceRange(TheCall->getArg(0)->getLocStart(),
2681 return ExprError(Diag(TheCall->getLocStart(),
2683 << SourceRange(TheCall->getArg(1)->getLocStart(),
2686 return ExprError(Diag(TheCall->getLocStart(),
2688 << SourceRange(TheCall->getArg(0)->getLocStart(),
2704 return ExprError(Diag(TheCall->getLocStart(),
2713 return ExprError(Diag(TheCall->getLocStart(),
2726 TheCall->getCallee()->getLocStart(),
2789 Diag(Arg->getLocStart(), diag::warn_assume_side_effects)
2817 return Diag(TheCall->getLocStart(),
2845 return Diag(TheCall->getLocStart(), diag::err_constant_integer_arg_type)
2867 return Diag(TheCall->getLocStart(), diag::err_argument_invalid_range)
2899 return Diag(TheCall->getLocStart(), diag::err_expr_not_string_literal)
2908 return Diag(TheCall->getLocStart(), diag::err_arm_invalid_specialreg)
2950 return Diag(TheCall->getLocStart(), diag::err_arm_invalid_specialreg)
2979 return Diag(TheCall->getLocStart(), diag::err_builtin_longjmp_unsupported)
2980 << SourceRange(TheCall->getLocStart(), TheCall->getLocEnd());
2990 return Diag(TheCall->getLocStart(), diag::err_builtin_longjmp_invalid_val)
2991 << SourceRange(Arg->getLocStart(), Arg->getLocEnd());
3001 return Diag(TheCall->getLocStart(), diag::err_builtin_setjmp_unsupported)
3002 << SourceRange(TheCall->getLocStart(), TheCall->getLocEnd());
3273 SourceMgr.isInSystemMacro(Args[format_idx]->getLocStart()))
3279 Diag(Args[format_idx]->getLocStart(),
3283 Diag(Args[format_idx]->getLocStart(),
3561 SourceLocation Loc = E->getLocStart();
3970 S.Diag(E->getLocStart(), diag::note_printf_c_str)
4049 Ex->getLocStart(), /*IsStringLocation*/false,
4060 Ex->getLocStart(), /*IsStringLocation*/false,
4306 LookupResult Result(S, &S.Context.Idents.get("unichar"), E->getLocStart(),
4352 E->getLocStart(),
4382 Hints.push_back(FixItHint::CreateInsertion(E->getLocStart(),
4387 Hints.push_back(FixItHint::CreateInsertion(E->getLocStart(),
4406 E->getLocStart(), /*IsStringLocation=*/false,
4416 E->getLocStart(), /*IsStringLocation*/false,
4437 E->getLocStart(), /*IsStringLocation*/ false, CSR);
4450 E->getLocStart(), /*IsStringLocation*/false, CSR);
4464 E->getLocStart(), /*IsStringLocation*/false, CSR);
4468 S.Diag(E->getLocStart(), diag::err_cannot_pass_to_vararg_format)
4642 Ex->getLocStart(),
4651 Ex->getLocStart(),
4671 PDiag(diag::warn_format_string_is_wide_literal), FExpr->getLocStart(),
4693 FExpr->getLocStart(),
4702 PDiag(diag::warn_empty_format_string), FExpr->getLocStart(),
5251 Call->getLocStart(), Call->getRParenLoc()))
5448 Call->getLocStart(), Call->getRParenLoc()))
5480 Diag(CompareWithSrcDRE->getLocStart(), diag::warn_strlcpycat_wrong_size)
5497 Diag(OriginalSizeArg->getLocStart(), diag::note_strlcpycat_wrong_size)
5532 if (CheckMemorySizeofForComparison(*this, LenArg, FnName, CE->getLocStart(),
5564 SourceLocation SL = LenArg->getLocStart();
5636 diagLoc = stackE->getLocStart();
5643 diagLoc = refVars[0]->getLocStart();
6489 if (E->getLocStart().isMacroID())
7095 S.Diag(Element->getLocStart(),
7768 << FixItHint::CreateInsertion(E->getLocStart(), "&");
8626 IndexExpr->getLocStart());
8636 DiagRuntimeBehavior(BaseExpr->getLocStart(), BaseExpr,
8648 DiagRuntimeBehavior(BaseExpr->getLocStart(), BaseExpr,
8665 DiagRuntimeBehavior(ND->getLocStart(), BaseExpr,
9388 PossibleBody->getLocStart(),
9395 S->getLocStart(),