Home
last modified time | relevance | path

Searched refs:CallLoc (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFunctionEffects.cpp338 SourceLocation CallLoc; member
344 DirectCall(const Decl *D, SourceLocation CallLoc, ViolationSite VSite) in DirectCall()
345 : Callee(D), CallLoc(CallLoc), VSite(VSite) {} in DirectCall()
400 void addUnverifiedDirectCall(const Decl *D, SourceLocation CallLoc, in addUnverifiedDirectCall() argument
402 UnverifiedDirectCalls.emplace_back(D, CallLoc, VSite); in addUnverifiedDirectCall()
695 followCall(Caller, *Pending, Callee, Call.CallLoc, in finishPendingAnalysis()
705 const CallableInfo &Callee, SourceLocation CallLoc, in followCall() argument
748 VSite, CallLoc, Callee.CDecl}); in followCall()
752 {Effect, ViolationID::AllocatesMemory, VSite, CallLoc}); in followCall()
755 PFA.addUnverifiedDirectCall(Callee.CDecl, CallLoc, VSite); in followCall()
[all …]
H A DSemaLambda.cpp414 CXXMethodDecl *Method, SourceLocation CallLoc) { in DiagnoseInvalidExplicitObjectParameterInLambda() argument
462 Diag(CallLoc, diag::err_explicit_object_lambda_ambiguous_base) in DiagnoseInvalidExplicitObjectParameterInLambda()
467 if (CheckBaseClassAccess(CallLoc, LambdaType, ExplicitObjectParameterType, in DiagnoseInvalidExplicitObjectParameterInLambda()
H A DSemaExpr.cpp5400 bool Sema::CheckCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD, in CheckCXXDefaultArgExpr() argument
5409 Diag(CallLoc, diag::note_recursive_default_argument_used_here); in CheckCXXDefaultArgExpr()
5414 Diag(CallLoc, diag::err_use_of_default_argument_to_function_declared_later) in CheckCXXDefaultArgExpr()
5423 if (InstantiateDefaultArgument(CallLoc, FD, Param)) in CheckCXXDefaultArgExpr()
5459 runWithSufficientStackSpace(CallLoc, [&] { in CheckCXXDefaultArgExpr()
5555 ExprResult Sema::BuildCXXDefaultArgExpr(SourceLocation CallLoc, in BuildCXXDefaultArgExpr() argument
5566 InitializationContext.emplace(CallLoc, Param, CurContext); in BuildCXXDefaultArgExpr()
5584 if (InstantiateDefaultArgument(CallLoc, FD, Param)) in BuildCXXDefaultArgExpr()
5601 CallLoc, Param, CurContext}; in BuildCXXDefaultArgExpr()
5608 runWithSufficientStackSpace(CallLoc, [&] { in BuildCXXDefaultArgExpr()
[all …]
H A DSemaCoroutine.cpp944 SourceLocation CallLoc = Awaiter->getExprLoc(); in BuildResolvedCoawaitExpr() local
948 buildCoawaitCalls(*this, Coroutine->CoroutinePromise, CallLoc, Awaiter); in BuildResolvedCoawaitExpr()
H A DSemaChecking.cpp9715 SourceLocation CallLoc, in isArgumentExpandedFromMacro() argument
9717 if (!CallLoc.isMacroID()) in isArgumentExpandedFromMacro()
9718 return SM.getFileID(CallLoc) != SM.getFileID(ArgLoc); in isArgumentExpandedFromMacro()
9720 return SM.getFileID(SM.getImmediateMacroCallerLoc(CallLoc)) != in isArgumentExpandedFromMacro()
9741 SourceLocation CallLoc = Call->getRParenLoc(); in CheckMemaccessSize() local
9744 !isArgumentExpandedFromMacro(SM, CallLoc, SizeArg->getExprLoc())) { in CheckMemaccessSize()
9751 (CallLoc.isMacroID() && Lexer::getImmediateMacroName( in CheckMemaccessSize()
9752 CallLoc, SM, S.getLangOpts()) == "bzero")) { in CheckMemaccessSize()
H A DSemaTemplateInstantiateDecl.cpp5190 bool Sema::InstantiateDefaultArgument(SourceLocation CallLoc, FunctionDecl *FD, in InstantiateDefaultArgument() argument
5229 if (SubstDefaultArgument(CallLoc, Param, TemplateArgs, /*ForCallExpr*/ true)) in InstantiateDefaultArgument()
H A DSemaOverload.cpp7397 Sema &S, FunctionDecl *Function, Expr *ThisArg, SourceLocation CallLoc, in convertArgsForAvailabilityChecks() argument
7446 ExprResult R = S.BuildCXXDefaultArgExpr(CallLoc, Function, P); in convertArgsForAvailabilityChecks()
7459 SourceLocation CallLoc, in CheckEnableIf() argument
7471 *this, Function, /*ThisArg=*/nullptr, CallLoc, Args, Trap, in CheckEnableIf()
H A DSemaDeclCXX.cpp183 Sema::ImplicitExceptionSpecification::CalledDecl(SourceLocation CallLoc, in CalledDecl() argument
191 Proto = Self->ResolveExceptionSpec(CallLoc, Proto); in CalledDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAArch64.cpp178 void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc,
189 void checkFunctionCallABIStreaming(CodeGenModule &CGM, SourceLocation CallLoc,
194 void checkFunctionCallABISoftFloat(CodeGenModule &CGM, SourceLocation CallLoc,
1250 CodeGenModule &CGM, SourceLocation CallLoc, const FunctionDecl *Caller, in checkFunctionCallABIStreaming() argument
1260 CallLoc, in checkFunctionCallABIStreaming()
1269 CGM.getDiags().Report(CallLoc, diag::err_function_always_inline_new_za) in checkFunctionCallABIStreaming()
1274 CGM.getDiags().Report(CallLoc, diag::err_function_always_inline_new_zt0) in checkFunctionCallABIStreaming()
1282 CodeGenModule &CGM, SourceLocation CallLoc, const FunctionDecl *Caller, in checkFunctionCallABISoftFloat() argument
1292 Callee ? Callee : Caller, CallLoc); in checkFunctionCallABISoftFloat()
1296 Callee ? Callee : Caller, CallLoc); in checkFunctionCallABISoftFloat()
[all …]
H A DX86.cpp1493 void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc,
1515 SourceLocation CallLoc, in checkAVXParamFeature() argument
1523 return Diag.Report(CallLoc, diag::warn_avx_calling_convention) in checkAVXParamFeature()
1528 return Diag.Report(CallLoc, diag::err_avx_calling_convention) in checkAVXParamFeature()
1537 SourceLocation CallLoc, in checkAVX512ParamFeature() argument
1547 return Diag.Report(CallLoc, diag::err_avx_calling_convention) in checkAVX512ParamFeature()
1550 return checkAVXParamFeature(Diag, CallLoc, CallerMap, CalleeMap, Ty, in checkAVX512ParamFeature()
1555 SourceLocation CallLoc, in checkAVXParam() argument
1561 return checkAVX512ParamFeature(Diag, CallLoc, CallerMap, CalleeMap, Ty, in checkAVXParam()
1565 return checkAVXParamFeature(Diag, CallLoc, CallerMap, CalleeMap, Ty, "avx", in checkAVXParam()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h40 LineLocation CallLoc = {0, 0})
42 CallSiteLoc(CallLoc){}; in ParentContext()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cpp947 SourceLocation CallLoc = Data->Loc.acquire(); in handleFunctionTypeMismatch() local
949 if (ignoreReport(CallLoc, Opts, ET)) in handleFunctionTypeMismatch()
952 ScopedReport R(Opts, CallLoc, ET); in handleFunctionTypeMismatch()
959 Diag(CallLoc, DL_Error, ET, in handleFunctionTypeMismatch()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DTargetInfo.h99 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI() argument
H A DCGExprCXX.cpp346 SourceLocation CallLoc; in EmitCXXMemberOrOperatorMemberCallExpr() local
349 CallLoc = CE->getExprLoc(); in EmitCXXMemberOrOperatorMemberCallExpr()
362 EmitTypeCheck(CodeGenFunction::TCK_MemberCall, CallLoc, in EmitCXXMemberOrOperatorMemberCallExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1421 LineLocation CallLoc = {0, 0})
1422 : FuncName(FName), FuncSamples(FSamples), CallSiteLoc(CallLoc){};
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp3310 SourceLocation CallLoc = CP->callEnter.asLocation(); in getFirstStackedCallToHeaderFile() local
3313 if (CallLoc.isMacroID()) in getFirstStackedCallToHeaderFile()
3316 assert(AnalysisManager::isInCodeFile(CallLoc, SMgr) && in getFirstStackedCallToHeaderFile()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp3857 SourceLocation CallLoc = {}) { in CheckArraySize() argument
3859 CAT->getSizeExpr() ? CAT->getSizeExpr()->getBeginLoc() : CallLoc,
5950 static bool CheckConstexprFunction(EvalInfo &Info, SourceLocation CallLoc, in CheckConstexprFunction() argument
5964 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5973 Info.CCEDiag(CallLoc, diag::note_constexpr_virtual_call); in CheckConstexprFunction()
5976 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5989 if (CallLoc.isMacroID() && DiagDecl->getIdentifier()) { in CheckConstexprFunction()
5996 Info.FFDiag(CallLoc, diag::note_constexpr_assert_failed); in CheckConstexprFunction()
6015 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_inhctor, 1) in CheckConstexprFunction()
6018 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_function, 1) in CheckConstexprFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7599 LocTy CallLoc = Lex.getLoc(); in parseInvoke() local
7664 return error(CallLoc, "not enough parameters specified for call"); in parseInvoke()
7897 LocTy CallLoc = Lex.getLoc(); in parseCallBr() local
7978 return error(CallLoc, "not enough parameters specified for call"); in parseCallBr()
8312 LocTy CallLoc = Lex.getLoc(); in parseCall() local
8371 return error(CallLoc, "not enough parameters specified for call"); in parseCall()
8384 return error(CallLoc, "fast-math-flags specified for call without " in parseCall()
8394 return error(CallLoc, "llvm.dbg intrinsic should not appear in a module " in parseCall()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5444 void CalledDecl(SourceLocation CallLoc, const CXXMethodDecl *Method);
7388 void CheckStaticArrayArgument(SourceLocation CallLoc, ParmVarDecl *Param,
7638 bool CheckCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD,
7644 ExprResult BuildCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD,
7963 SourceLocation CallLoc, FunctionDecl *FDecl,
9047 SourceLocation CallLoc);
10555 EnableIfAttr *CheckEnableIf(FunctionDecl *Function, SourceLocation CallLoc,
13949 bool InstantiateDefaultArgument(SourceLocation CallLoc, FunctionDecl *FD,