Lines Matching defs:AtLoc

85 ExprResult SemaObjC::BuildObjCStringLiteral(SourceLocation AtLoc,
108 NamedDecl *IF = SemaRef.LookupSingleName(SemaRef.TUScope, NSIdent, AtLoc,
123 NamedDecl *IF = SemaRef.LookupSingleName(SemaRef.TUScope, NSIdent, AtLoc,
148 return new (Context) ObjCStringLiteral(S, Ty, AtLoc);
322 ExprResult SemaObjC::BuildObjCNumericLiteral(SourceLocation AtLoc,
353 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType,
370 Number, NSNumberPointer, Method, SourceRange(AtLoc, NR.getEnd())));
373 ExprResult SemaObjC::ActOnObjCBoolLiteral(SourceLocation AtLoc,
388 return BuildObjCNumericLiteral(AtLoc, Inner.get());
1135 ExprResult SemaObjC::BuildObjCEncodeExpression(SourceLocation AtLoc,
1146 if (SemaRef.RequireCompleteType(AtLoc, EncodedType,
1155 Diag(AtLoc, diag::warn_incomplete_encoded_type)
1163 return new (Context) ObjCEncodeExpr(StrTy, EncodedTypeInfo, AtLoc, RParenLoc);
1166 ExprResult SemaObjC::ParseObjCEncodeExpression(SourceLocation AtLoc,
1179 return BuildObjCEncodeExpression(AtLoc, TInfo, RParenLoc);
1183 SourceLocation AtLoc,
1200 S.Diag(AtLoc, diag::warn_multiple_selectors)
1213 static void DiagnoseMismatchedSelectors(Sema &S, SourceLocation AtLoc,
1227 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc,
1233 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc,
1302 SourceLocation AtLoc,
1325 DiagnoseMismatchedSelectors(SemaRef, AtLoc, Method, LParenLoc, RParenLoc,
1334 Diag(AtLoc, diag::err_direct_selector_expression)
1345 Diag(AtLoc, diag::warn_potentially_direct_selector_expression) << Sel;
1352 Diag(AtLoc, diag::warn_strict_potentially_direct_selector_expression)
1365 ReferencedSelectors.insert(std::make_pair(Sel, AtLoc));
1376 Diag(AtLoc, diag::err_arc_illegal_selector) <<
1394 return new (Context) ObjCSelectorExpr(Ty, Sel, AtLoc, RParenLoc);
1398 SourceLocation AtLoc,
1423 return new (Context) ObjCProtocolExpr(Ty, PDecl, AtLoc, ProtoIdLoc, RParenLoc);
5159 llvm::ArrayRef<AvailabilitySpec> AvailSpecs, SourceLocation AtLoc,
5190 ObjCAvailabilityCheckExpr(Version, AtLoc, RParen, Context.BoolTy);