Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.cpp168 SourceLocation CallLoc = Data->Loc.acquire(); in handleFunctionTypeMismatch() local
171 if (ignoreReport(CallLoc, Opts, ET)) in handleFunctionTypeMismatch()
174 ScopedReport R(Opts, CallLoc, ET); in handleFunctionTypeMismatch()
181 Diag(CallLoc, DL_Error, ET, in handleFunctionTypeMismatch()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h40 LineLocation CallLoc = {0, 0})
42 CallSiteLoc(CallLoc){}; in ParentContext()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DTargetInfo.h81 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI() argument
H A DCGExprCXX.cpp337 SourceLocation CallLoc; in EmitCXXMemberOrOperatorMemberCallExpr() local
340 CallLoc = CE->getExprLoc(); in EmitCXXMemberOrOperatorMemberCallExpr()
351 EmitTypeCheck(CodeGenFunction::TCK_MemberCall, CallLoc, in EmitCXXMemberOrOperatorMemberCallExpr()
H A DTargetInfo.cpp2553 void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc,
2574 SourceLocation CallLoc, in checkAVXParamFeature() argument
2582 return Diag.Report(CallLoc, diag::warn_avx_calling_convention) in checkAVXParamFeature()
2587 return Diag.Report(CallLoc, diag::err_avx_calling_convention) in checkAVXParamFeature()
2596 SourceLocation CallLoc, in checkAVXParam() argument
2602 return checkAVXParamFeature(Diag, CallLoc, CallerMap, CalleeMap, Ty, in checkAVXParam()
2606 return checkAVXParamFeature(Diag, CallLoc, CallerMap, CalleeMap, Ty, "avx", in checkAVXParam()
2613 CodeGenModule &CGM, SourceLocation CallLoc, const FunctionDecl *Caller, in checkFunctionCallABI() argument
2638 if (checkAVXParam(CGM.getDiags(), CGM.getContext(), CallLoc, CallerMap, in checkFunctionCallABI()
2650 checkAVXParam(CGM.getDiags(), CGM.getContext(), CallLoc, CallerMap, in checkFunctionCallABI()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp550 SourceLocation CallLoc; member in __anon6b6c21b10111::CallStackFrame
584 CallStackFrame(EvalInfo &Info, SourceLocation CallLoc,
628 SourceLocation getCallLocation() const override { return CallLoc; } in getCallLocation()
1436 CallStackFrame::CallStackFrame(EvalInfo &Info, SourceLocation CallLoc, in CallStackFrame() argument
1440 Arguments(Call), CallLoc(CallLoc), Index(Info.NextCallIndex++) { in CallStackFrame()
5530 static bool CheckConstexprFunction(EvalInfo &Info, SourceLocation CallLoc, in CheckConstexprFunction() argument
5544 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5553 Info.CCEDiag(CallLoc, diag::note_constexpr_virtual_call); in CheckConstexprFunction()
5556 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction()
5580 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_inhctor, 1) in CheckConstexprFunction()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DSampleProf.h1263 LineLocation CallLoc = {0, 0})
1264 : FuncName(FName), FuncSamples(FSamples), CallSiteLoc(CallLoc){};
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCoroutine.cpp899 SourceLocation CallLoc = Awaiter->getExprLoc(); in BuildResolvedCoawaitExpr() local
903 buildCoawaitCalls(*this, Coroutine->CoroutinePromise, CallLoc, Awaiter); in BuildResolvedCoawaitExpr()
H A DSemaExpr.cpp5868 bool Sema::CheckCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD, in CheckCXXDefaultArgExpr() argument
5877 Diag(CallLoc, diag::note_recursive_default_argument_used_here); in CheckCXXDefaultArgExpr()
5882 Diag(CallLoc, diag::err_use_of_default_argument_to_function_declared_later) in CheckCXXDefaultArgExpr()
5891 if (InstantiateDefaultArgument(CallLoc, FD, Param)) in CheckCXXDefaultArgExpr()
5986 ExprResult Sema::BuildCXXDefaultArgExpr(SourceLocation CallLoc, in BuildCXXDefaultArgExpr() argument
5997 InitializationContext.emplace(CallLoc, Param, CurContext); in BuildCXXDefaultArgExpr()
6007 if (InstantiateDefaultArgument(CallLoc, FD, Param)) in BuildCXXDefaultArgExpr()
6019 CallLoc, Param, CurContext}; in BuildCXXDefaultArgExpr()
6034 CallLoc, FD, Param, Init, in BuildCXXDefaultArgExpr()
6366 bool Sema::GatherArgumentsForCall(SourceLocation CallLoc, FunctionDecl *FDecl, in GatherArgumentsForCall() argument
[all …]
H A DSemaChecking.cpp11590 SourceLocation CallLoc, in isArgumentExpandedFromMacro() argument
11592 if (!CallLoc.isMacroID()) in isArgumentExpandedFromMacro()
11593 return SM.getFileID(CallLoc) != SM.getFileID(ArgLoc); in isArgumentExpandedFromMacro()
11595 return SM.getFileID(SM.getImmediateMacroCallerLoc(CallLoc)) != in isArgumentExpandedFromMacro()
11616 SourceLocation CallLoc = Call->getRParenLoc(); in CheckMemaccessSize() local
11619 !isArgumentExpandedFromMacro(SM, CallLoc, SizeArg->getExprLoc())) { in CheckMemaccessSize()
11626 (CallLoc.isMacroID() && Lexer::getImmediateMacroName( in CheckMemaccessSize()
11627 CallLoc, SM, S.getLangOpts()) == "bzero")) { in CheckMemaccessSize()
H A DSemaTemplateInstantiateDecl.cpp4543 bool Sema::InstantiateDefaultArgument(SourceLocation CallLoc, FunctionDecl *FD, in InstantiateDefaultArgument() argument
4567 if (SubstDefaultArgument(CallLoc, Param, TemplateArgs, /*ForCallExpr*/ true)) in InstantiateDefaultArgument()
H A DSemaOverload.cpp6763 Sema &S, FunctionDecl *Function, Expr *ThisArg, SourceLocation CallLoc, in convertArgsForAvailabilityChecks() argument
6812 ExprResult R = S.BuildCXXDefaultArgExpr(CallLoc, Function, P); in convertArgsForAvailabilityChecks()
6825 SourceLocation CallLoc, in CheckEnableIf() argument
6837 *this, Function, /*ThisArg=*/nullptr, CallLoc, Args, Trap, in CheckEnableIf()
H A DSemaDeclCXX.cpp175 Sema::ImplicitExceptionSpecification::CalledDecl(SourceLocation CallLoc, in CalledDecl() argument
183 Proto = Self->ResolveExceptionSpec(CallLoc, Proto); in CalledDecl()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp3213 SourceLocation CallLoc = CP->callEnter.asLocation(); in getFirstStackedCallToHeaderFile() local
3216 if (CallLoc.isMacroID()) in getFirstStackedCallToHeaderFile()
3219 assert(AnalysisManager::isInCodeFile(CallLoc, SMgr) && in getFirstStackedCallToHeaderFile()
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp6671 LocTy CallLoc = Lex.getLoc(); in parseInvoke() local
6736 return error(CallLoc, "not enough parameters specified for call"); in parseInvoke()
6969 LocTy CallLoc = Lex.getLoc(); in parseCallBr() local
7049 return error(CallLoc, "not enough parameters specified for call"); in parseCallBr()
7385 LocTy CallLoc = Lex.getLoc(); in parseCall() local
7444 return error(CallLoc, "not enough parameters specified for call"); in parseCall()
7457 return error(CallLoc, "fast-math-flags specified for call without " in parseCall()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h4079 EnableIfAttr *CheckEnableIf(FunctionDecl *Function, SourceLocation CallLoc,
5844 void CheckStaticArrayArgument(SourceLocation CallLoc,
6263 bool CheckCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD,
6269 ExprResult BuildCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD,
6317 void CalledDecl(SourceLocation CallLoc, const CXXMethodDecl *Method);
10114 bool InstantiateDefaultArgument(SourceLocation CallLoc, FunctionDecl *FD,
12314 bool GatherArgumentsForCall(SourceLocation CallLoc, FunctionDecl *FDecl,