Lines Matching refs:AtLoc
81 ExprResult Sema::BuildObjCStringLiteral(SourceLocation AtLoc, StringLiteral *S){ in BuildObjCStringLiteral() argument
102 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral()
117 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral()
142 return new (Context) ObjCStringLiteral(S, Ty, AtLoc); in BuildObjCStringLiteral()
316 ExprResult Sema::BuildObjCNumericLiteral(SourceLocation AtLoc, Expr *Number) { in BuildObjCNumericLiteral() argument
345 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral()
364 SourceRange(AtLoc, NR.getEnd()))); in BuildObjCNumericLiteral()
367 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, in ActOnObjCBoolLiteral() argument
381 return BuildObjCNumericLiteral(AtLoc, Inner.get()); in ActOnObjCBoolLiteral()
1130 ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, in BuildObjCEncodeExpression() argument
1140 if (RequireCompleteType(AtLoc, EncodedType, in BuildObjCEncodeExpression()
1149 Diag(AtLoc, diag::warn_incomplete_encoded_type) in BuildObjCEncodeExpression()
1157 return new (Context) ObjCEncodeExpr(StrTy, EncodedTypeInfo, AtLoc, RParenLoc); in BuildObjCEncodeExpression()
1160 ExprResult Sema::ParseObjCEncodeExpression(SourceLocation AtLoc, in ParseObjCEncodeExpression() argument
1172 return BuildObjCEncodeExpression(AtLoc, TInfo, RParenLoc); in ParseObjCEncodeExpression()
1176 SourceLocation AtLoc, in HelperToDiagnoseMismatchedMethodsInGlobalPool() argument
1193 S.Diag(AtLoc, diag::warn_multiple_selectors) in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1206 static void DiagnoseMismatchedSelectors(Sema &S, SourceLocation AtLoc, in DiagnoseMismatchedSelectors() argument
1219 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc, in DiagnoseMismatchedSelectors()
1225 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc, in DiagnoseMismatchedSelectors()
1294 SourceLocation AtLoc, in ParseObjCSelectorExpression() argument
1316 DiagnoseMismatchedSelectors(*this, AtLoc, Method, LParenLoc, RParenLoc, in ParseObjCSelectorExpression()
1325 Diag(AtLoc, diag::err_direct_selector_expression) in ParseObjCSelectorExpression()
1335 Diag(AtLoc, diag::warn_potentially_direct_selector_expression) << Sel; in ParseObjCSelectorExpression()
1342 Diag(AtLoc, diag::warn_strict_potentially_direct_selector_expression) in ParseObjCSelectorExpression()
1354 ReferencedSelectors.insert(std::make_pair(Sel, AtLoc)); in ParseObjCSelectorExpression()
1365 Diag(AtLoc, diag::err_arc_illegal_selector) << in ParseObjCSelectorExpression()
1383 return new (Context) ObjCSelectorExpr(Ty, Sel, AtLoc, RParenLoc); in ParseObjCSelectorExpression()
1387 SourceLocation AtLoc, in ParseObjCProtocolExpression() argument
1411 return new (Context) ObjCProtocolExpr(Ty, PDecl, AtLoc, ProtoIdLoc, RParenLoc); in ParseObjCProtocolExpression()