/external/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_handlers_cxx.cpp | 168 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()
|
/external/llvm-project/llvm/include/llvm/Transforms/IPO/ |
D | SampleContextTracker.h | 40 LineLocation CallLoc = {0, 0}) 42 CallSiteLoc(CallLoc){}; in ParentContext()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 441 SourceLocation CallLoc = Data->Loc.acquire(); in handleFunctionTypeMismatch() local 444 if (ignoreReport(CallLoc, Opts, ET)) in handleFunctionTypeMismatch() 447 ScopedReport R(Opts, CallLoc, ET); in handleFunctionTypeMismatch() 454 Diag(CallLoc, DL_Error, in handleFunctionTypeMismatch()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | TargetInfo.h | 68 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI() argument
|
D | CGExprCXX.cpp | 333 SourceLocation CallLoc; in EmitCXXMemberOrOperatorMemberCallExpr() local 336 CallLoc = CE->getExprLoc(); in EmitCXXMemberOrOperatorMemberCallExpr() 347 EmitTypeCheck(CodeGenFunction::TCK_MemberCall, CallLoc, in EmitCXXMemberOrOperatorMemberCallExpr()
|
D | TargetInfo.cpp | 2486 void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, 2507 SourceLocation CallLoc, in checkAVXParamFeature() argument 2515 return Diag.Report(CallLoc, diag::warn_avx_calling_convention) in checkAVXParamFeature() 2520 return Diag.Report(CallLoc, diag::err_avx_calling_convention) in checkAVXParamFeature() 2529 SourceLocation CallLoc, in checkAVXParam() argument 2535 return checkAVXParamFeature(Diag, CallLoc, CallerMap, CalleeMap, Ty, in checkAVXParam() 2539 return checkAVXParamFeature(Diag, CallLoc, CallerMap, CalleeMap, Ty, "avx", in checkAVXParam() 2546 CodeGenModule &CGM, SourceLocation CallLoc, const FunctionDecl *Caller, in checkFunctionCallABI() argument 2571 if (checkAVXParam(CGM.getDiags(), CGM.getContext(), CallLoc, CallerMap, in checkFunctionCallABI() 2583 checkAVXParam(CGM.getDiags(), CGM.getContext(), CallLoc, CallerMap, in checkFunctionCallABI()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 547 SourceLocation CallLoc; member in __anona656c3110111::CallStackFrame 581 CallStackFrame(EvalInfo &Info, SourceLocation CallLoc, 630 SourceLocation getCallLocation() const override { return CallLoc; } in getCallLocation() 1431 CallStackFrame::CallStackFrame(EvalInfo &Info, SourceLocation CallLoc, in CallStackFrame() argument 1435 Arguments(Call), CallLoc(CallLoc), Index(Info.NextCallIndex++) { in CallStackFrame() 5431 static bool CheckConstexprFunction(EvalInfo &Info, SourceLocation CallLoc, in CheckConstexprFunction() argument 5445 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction() 5454 Info.CCEDiag(CallLoc, diag::note_constexpr_virtual_call); in CheckConstexprFunction() 5457 Info.FFDiag(CallLoc, diag::note_invalid_subexpr_in_const_expr); in CheckConstexprFunction() 5481 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_inhctor, 1) in CheckConstexprFunction() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 124 SourceLocation CallLoc = CP->callEnter.asLocation(); in getFirstStackedCallToHeaderFile() local 127 if (CallLoc.isMacroID()) in getFirstStackedCallToHeaderFile() 130 assert(SMgr.isInMainFile(CallLoc) && in getFirstStackedCallToHeaderFile()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 315 SourceLocation CallLoc; member 337 CallStackFrame(EvalInfo &Info, SourceLocation CallLoc, 962 CallStackFrame::CallStackFrame(EvalInfo &Info, SourceLocation CallLoc, in CallStackFrame() argument 965 : Info(Info), Caller(Info.CurrentCall), CallLoc(CallLoc), Callee(Callee), in CallStackFrame() 1004 addDiag(Frame->CallLoc, diag::note_constexpr_calls_suppressed) in addCallStack() 1014 addDiag(Frame->CallLoc, diag::note_constexpr_inherited_ctor_call_here) in addCallStack() 1023 addDiag(Frame->CallLoc, diag::note_constexpr_call_here) << Out.str(); in addCallStack() 3856 static bool CheckConstexprFunction(EvalInfo &Info, SourceLocation CallLoc, in CheckConstexprFunction() argument 3892 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_inhctor, 1) in CheckConstexprFunction() 3895 Info.FFDiag(CallLoc, diag::note_constexpr_invalid_function, 1) in CheckConstexprFunction() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 40 SourceLocation CallLoc; in commonEmitCXXMemberOrOperatorCall() local 42 CallLoc = CE->getExprLoc(); in commonEmitCXXMemberOrOperatorCall() 46 CallLoc, This, CGF.getContext().getRecordType(MD->getParent())); in commonEmitCXXMemberOrOperatorCall()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 905 SourceLocation CallLoc = E->getExprLoc(); in BuildResolvedCoawaitExpr() local 909 *this, Coroutine->CoroutinePromise, CallLoc, E); in BuildResolvedCoawaitExpr()
|
D | SemaExpr.cpp | 5593 bool Sema::CheckCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD, in CheckCXXDefaultArgExpr() argument 5600 Diag(CallLoc, diag::note_recursive_default_argument_used_here); in CheckCXXDefaultArgExpr() 5605 Diag(CallLoc, diag::err_use_of_default_argument_to_function_declared_later) in CheckCXXDefaultArgExpr() 5613 InstantiateDefaultArgument(CallLoc, FD, Param)) in CheckCXXDefaultArgExpr() 5647 ExprResult Sema::BuildCXXDefaultArgExpr(SourceLocation CallLoc, in BuildCXXDefaultArgExpr() argument 5650 if (CheckCXXDefaultArgExpr(CallLoc, FD, Param)) in BuildCXXDefaultArgExpr() 5652 return CXXDefaultArgExpr::Create(Context, CallLoc, Param, CurContext); in BuildCXXDefaultArgExpr() 5861 bool Sema::GatherArgumentsForCall(SourceLocation CallLoc, FunctionDecl *FDecl, in GatherArgumentsForCall() argument 5917 ExprResult ArgExpr = BuildCXXDefaultArgExpr(CallLoc, FDecl, Param); in GatherArgumentsForCall() 5930 CheckStaticArrayArgument(CallLoc, Param, Arg); in GatherArgumentsForCall() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 4292 bool Sema::InstantiateDefaultArgument(SourceLocation CallLoc, FunctionDecl *FD, in InstantiateDefaultArgument() argument 4320 InstantiatingTemplate Inst(*this, CallLoc, Param, in InstantiateDefaultArgument() 4345 runWithSufficientStackSpace(CallLoc, [&] { in InstantiateDefaultArgument()
|
D | SemaChecking.cpp | 9784 SourceLocation CallLoc, in isArgumentExpandedFromMacro() argument 9786 if (!CallLoc.isMacroID()) in isArgumentExpandedFromMacro() 9787 return SM.getFileID(CallLoc) != SM.getFileID(ArgLoc); in isArgumentExpandedFromMacro() 9789 return SM.getFileID(SM.getImmediateMacroCallerLoc(CallLoc)) != in isArgumentExpandedFromMacro() 9807 SourceLocation CallLoc = Call->getRParenLoc(); in CheckMemaccessSize() local 9810 !isArgumentExpandedFromMacro(SM, CallLoc, SizeArg->getExprLoc())) { in CheckMemaccessSize() 9817 (CallLoc.isMacroID() && Lexer::getImmediateMacroName( in CheckMemaccessSize() 9818 CallLoc, SM, S.getLangOpts()) == "bzero")) { in CheckMemaccessSize()
|
D | SemaOverload.cpp | 6583 Sema &S, FunctionDecl *Function, Expr *ThisArg, SourceLocation CallLoc, in convertArgsForAvailabilityChecks() argument 6632 ExprResult R = S.BuildCXXDefaultArgExpr(CallLoc, Function, P); in convertArgsForAvailabilityChecks() 6645 SourceLocation CallLoc, in CheckEnableIf() argument 6657 *this, Function, /*ThisArg=*/nullptr, CallLoc, Args, Trap, in CheckEnableIf()
|
D | SemaDeclCXX.cpp | 160 Sema::ImplicitExceptionSpecification::CalledDecl(SourceLocation CallLoc, in CalledDecl() argument 168 Proto = Self->ResolveExceptionSpec(CallLoc, Proto); in CalledDecl()
|
/external/llvm-project/llvm/lib/AsmParser/ |
D | LLParser.cpp | 6416 LocTy CallLoc = Lex.getLoc(); in parseInvoke() local 6490 return error(CallLoc, "not enough parameters specified for call"); in parseInvoke() 6493 return error(CallLoc, "invoke instructions may not have an alignment"); in parseInvoke() 6726 LocTy CallLoc = Lex.getLoc(); in parseCallBr() local 6816 return error(CallLoc, "not enough parameters specified for call"); in parseCallBr() 6819 return error(CallLoc, "callbr instructions may not have an alignment"); in parseCallBr() 7155 LocTy CallLoc = Lex.getLoc(); in parseCall() local 7223 return error(CallLoc, "not enough parameters specified for call"); in parseCall() 7226 return error(CallLoc, "call instructions may not have an alignment"); in parseCall() 7239 return error(CallLoc, "fast-math-flags specified for call without " in parseCall()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | LLParser.cpp | 6045 LocTy CallLoc = Lex.getLoc(); in ParseInvoke() local 6119 return Error(CallLoc, "not enough parameters specified for call"); in ParseInvoke() 6122 return Error(CallLoc, "invoke instructions may not have an alignment"); in ParseInvoke() 6356 LocTy CallLoc = Lex.getLoc(); in ParseCallBr() local 6449 return Error(CallLoc, "not enough parameters specified for call"); in ParseCallBr() 6452 return Error(CallLoc, "callbr instructions may not have an alignment"); in ParseCallBr() 6789 LocTy CallLoc = Lex.getLoc(); in ParseCall() local 6857 return Error(CallLoc, "not enough parameters specified for call"); in ParseCall() 6860 return Error(CallLoc, "call instructions may not have an alignment"); in ParseCall() 6872 return Error(CallLoc, "fast-math-flags specified for call without " in ParseCall()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 3182 SourceLocation CallLoc = CP->callEnter.asLocation(); in getFirstStackedCallToHeaderFile() local 3185 if (CallLoc.isMacroID()) in getFirstStackedCallToHeaderFile() 3188 assert(AnalysisManager::isInCodeFile(CallLoc, SMgr) && in getFirstStackedCallToHeaderFile()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 5244 LocTy CallLoc = Lex.getLoc(); in ParseInvoke() local 5323 return Error(CallLoc, "not enough parameters specified for call"); in ParseInvoke() 5327 return Error(CallLoc, "invoke instructions may not have an alignment"); in ParseInvoke() 5850 LocTy CallLoc = Lex.getLoc(); in ParseCall() local 5869 return Error(CallLoc, "fast-math-flags specified for call without " in ParseCall() 5927 return Error(CallLoc, "not enough parameters specified for call"); in ParseCall() 5931 return Error(CallLoc, "call instructions may not have an alignment"); in ParseCall()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 4499 ExprResult Sema::BuildCXXDefaultArgExpr(SourceLocation CallLoc, in BuildCXXDefaultArgExpr() argument 4503 Diag(CallLoc, in BuildCXXDefaultArgExpr() 4521 InstantiatingTemplate Inst(*this, CallLoc, Param, in BuildCXXDefaultArgExpr() 4595 return CXXDefaultArgExpr::Create(Context, CallLoc, Param); in BuildCXXDefaultArgExpr() 4801 bool Sema::GatherArgumentsForCall(SourceLocation CallLoc, FunctionDecl *FDecl, in GatherArgumentsForCall() argument 4855 BuildCXXDefaultArgExpr(CallLoc, FDecl, Param); in GatherArgumentsForCall() 4868 CheckStaticArrayArgument(CallLoc, Param, Arg); in GatherArgumentsForCall() 4881 ExprResult arg = checkUnknownAnyArg(CallLoc, A, paramType); in GatherArgumentsForCall() 4920 Sema::CheckStaticArrayArgument(SourceLocation CallLoc, in CheckStaticArrayArgument() argument 4935 Diag(CallLoc, diag::warn_null_arg) << ArgExpr->getSourceRange(); in CheckStaticArrayArgument() [all …]
|
D | SemaDeclCXX.cpp | 151 Sema::ImplicitExceptionSpecification::CalledDecl(SourceLocation CallLoc, in CalledDecl() argument 159 Proto = Self->ResolveExceptionSpec(CallLoc, Proto); in CalledDecl()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 3578 EnableIfAttr *CheckEnableIf(FunctionDecl *Function, SourceLocation CallLoc, 5228 void CheckStaticArrayArgument(SourceLocation CallLoc, 5617 bool CheckCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD, 5622 ExprResult BuildCXXDefaultArgExpr(SourceLocation CallLoc, 5671 void CalledDecl(SourceLocation CallLoc, const CXXMethodDecl *Method); 9237 bool InstantiateDefaultArgument(SourceLocation CallLoc, FunctionDecl *FD, 11149 bool GatherArgumentsForCall(SourceLocation CallLoc, FunctionDecl *FDecl,
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3993 void CheckStaticArrayArgument(SourceLocation CallLoc, 4327 ExprResult BuildCXXDefaultArgExpr(SourceLocation CallLoc, 4376 void CalledDecl(SourceLocation CallLoc, const CXXMethodDecl *Method); 8588 bool GatherArgumentsForCall(SourceLocation CallLoc, FunctionDecl *FDecl,
|