Lines Matching defs:AtLoc
84 ExprResult SemaObjC::BuildObjCStringLiteral(SourceLocation AtLoc,
107 NamedDecl *IF = SemaRef.LookupSingleName(SemaRef.TUScope, NSIdent, AtLoc,
122 NamedDecl *IF = SemaRef.LookupSingleName(SemaRef.TUScope, NSIdent, AtLoc,
147 return new (Context) ObjCStringLiteral(S, Ty, AtLoc);
321 ExprResult SemaObjC::BuildObjCNumericLiteral(SourceLocation AtLoc,
352 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType,
369 Number, NSNumberPointer, Method, SourceRange(AtLoc, NR.getEnd())));
372 ExprResult SemaObjC::ActOnObjCBoolLiteral(SourceLocation AtLoc,
387 return BuildObjCNumericLiteral(AtLoc, Inner.get());
1131 ExprResult SemaObjC::BuildObjCEncodeExpression(SourceLocation AtLoc,
1142 if (SemaRef.RequireCompleteType(AtLoc, EncodedType,
1151 Diag(AtLoc, diag::warn_incomplete_encoded_type)
1159 return new (Context) ObjCEncodeExpr(StrTy, EncodedTypeInfo, AtLoc, RParenLoc);
1162 ExprResult SemaObjC::ParseObjCEncodeExpression(SourceLocation AtLoc,
1175 return BuildObjCEncodeExpression(AtLoc, TInfo, RParenLoc);
1179 SourceLocation AtLoc,
1196 S.Diag(AtLoc, diag::warn_multiple_selectors)
1209 static void DiagnoseMismatchedSelectors(Sema &S, SourceLocation AtLoc,
1223 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc,
1229 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc,
1298 SourceLocation AtLoc,
1321 DiagnoseMismatchedSelectors(SemaRef, AtLoc, Method, LParenLoc, RParenLoc,
1330 Diag(AtLoc, diag::err_direct_selector_expression)
1341 Diag(AtLoc, diag::warn_potentially_direct_selector_expression) << Sel;
1348 Diag(AtLoc, diag::warn_strict_potentially_direct_selector_expression)
1361 ReferencedSelectors.insert(std::make_pair(Sel, AtLoc));
1372 Diag(AtLoc, diag::err_arc_illegal_selector) <<
1390 return new (Context) ObjCSelectorExpr(Ty, Sel, AtLoc, RParenLoc);
1394 SourceLocation AtLoc,
1419 return new (Context) ObjCProtocolExpr(Ty, PDecl, AtLoc, ProtoIdLoc, RParenLoc);
5148 llvm::ArrayRef<AvailabilitySpec> AvailSpecs, SourceLocation AtLoc,
5179 ObjCAvailabilityCheckExpr(Version, AtLoc, RParen, Context.BoolTy);