Home | History | Annotate | Download | only in Sema

Lines Matching defs:call

856 /// checkArgPlaceholdersForOverload - Check a set of call operands for
3575 // Here, MSVC will call f(int) instead of generating a compile error
5116 // If we aren't in a SFINAE context, build a call to the
5403 /// candidate functions, using the given function call arguments. If
5429 // implicitly. This can happen with a qualified call to a member
5431 // object argument (C++ [over.call.func]p3), and the acting context
5601 /// of candidate functions, using the given function call arguments
5602 /// and the object argument (@c Object). For example, in a call
5884 // convert to (ToType), we need to synthesize a call to the
5888 // call on the stack and we don't need its arguments to be
5910 CallExpr Call(Context, &ConversionFn, None, CallResultType, VK,
5913 TryCopyInitialization(*this, &Call, ToType,
5999 /// conversion function @c Conversion, and then attempts to call it
6000 /// with the given arguments (C++ [over.call.object]p2-4). Proto is
8698 /// CUDA: diagnose an invalid call across targets.
8714 /// already generated a primary error at the call site.
9841 assert(!KnownValid && "unhandled case in overloaded call candidate");
10047 /// Attempts to recover from a call where no functions were found.
10057 // Do not try to recover if it is already building a recovery call.
10095 // Build an implicit member call if appropriate. Just drop the
10096 // casts and such from the call, we don't really care.
10180 /// the completed call expression. If overload resolution fails, emits
10210 // have meant to call.
10239 // We emitted an error for the unvailable/deleted function call but keep
10240 // the call in the AST.
10252 /// BuildOverloadedCallExpr - Given the call expression that calls Fn
10253 /// (which eventually refers to the declaration Func) and the call
10254 /// arguments Args/NumArgs, attempt to resolve the function call down
10256 /// the call expression produced by overload resolution.
10380 // We matched an overloaded operator. Build a call to that
10597 // We matched an overloaded operator. Build a call to that
10743 // The user probably meant to call this special member. Just
10821 // We matched an overloaded operator. Build a call to that
10933 /// BuildCallToMemberFunction - Build a call to a member
10936 /// arguments to the function call (not including the object
10952 // Determine whether this is a call to a pointer-to-member function.
10984 CXXMemberCallExpr *call
10990 call, 0))
10993 if (ConvertArgumentsForCall(call, op, 0, proto, Args, RParenLoc))
10996 if (CheckOtherCall(call, proto))
10999 return MaybeBindToTemporary(call);
11049 // If explicit template arguments were provided, we can't call a
11119 // non-member call based on that function.
11132 assert(Method && "Member call to something that isn't a method?");
11142 // Convert the object argument (for a non-static member function call).
11183 /// BuildCallToObjectOfClassType - Build a call to an object of class
11184 /// type (C++ [over.call.object]), which can end up invoking an
11185 /// overloaded function call operator (@c operator()) or performing a
11203 // C++ [over.call.object]p1:
11204 // If the primary-expression E in the function call syntax
11206 // candidate functions includes at least the function call
11207 // operators of T. The function call operators of T are obtained by
11229 // C++ [over.call.object]p2:
11240 // of (P1,...,Pn) returning R", a surrogate call function [...]
11242 // surrogate call functions are added to the set of candidate
11284 // Overload resolution succeeded; we'll build the appropriate call
11291 << Object.get()->getType() << /*call*/ 1
11340 // and then call it.
11341 ExprResult Call = BuildCXXMemberCallExpr(Object.get(), Best->FoundDecl,
11343 if (Call.isInvalid())
11346 Call = Owned(ImplicitCastExpr::Create(Context, Call.get()->getType(),
11348 Call.get(), 0, VK_RValue));
11350 return ActOnCallExpr(S, Call.get(), LParenLoc, Args, RParenLoc);
11370 // Build the full argument list for the method call (the
11411 // slots in the call for them.
11459 // If this is a variadic call, handle args passed through "...".
11479 /// BuildOverloadedArrowExpr - Build a call to an overloaded @c operator->
11524 // Overload resolution succeeded; we'll build the call below.
11575 // Build the operator call.
11595 /// BuildLiteralOperatorCall - Build a UserDefinedLiteral by creating a call to
11668 /// Build a call to 'begin' or 'end' for a C++11 for-range statement. If the