Home
last modified time | relevance | path

Searched refs:SuperLoc (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/Sema/
DSemaExprObjC.cpp1515 SourceLocation SuperLoc, QualType SuperType, in HandleExprPropertyRefExpr() argument
1528 SourceRange BaseRange = Super? SourceRange(SuperLoc) in HandleExprPropertyRefExpr()
1543 OK_ObjCProperty, MemberLoc, SuperLoc, SuperType); in HandleExprPropertyRefExpr()
1559 SuperLoc, SuperType); in HandleExprPropertyRefExpr()
1627 OK_ObjCProperty, MemberLoc, SuperLoc, SuperType); in HandleExprPropertyRefExpr()
1646 SuperLoc, SuperType, Super); in HandleExprPropertyRefExpr()
1894 SourceLocation SuperLoc, in ActOnSuperMessage() argument
1901 ObjCMethodDecl *Method = tryCaptureObjCSelf(SuperLoc); in ActOnSuperMessage()
1903 Diag(SuperLoc, diag::err_invalid_receiver_to_message_super); in ActOnSuperMessage()
1909 Diag(SuperLoc, diag::error_no_super_class_message) in ActOnSuperMessage()
[all …]
DSemaExceptionSpec.cpp560 const FunctionProtoType *Superset, SourceLocation SuperLoc, in CheckExceptionSpecSubset() argument
571 SubLoc = SuperLoc; in CheckExceptionSpecSubset()
574 Superset = ResolveExceptionSpec(SuperLoc, Superset); in CheckExceptionSpecSubset()
585 return CheckParamExceptionSpec(NoteID, Superset, SuperLoc, Subset, SubLoc); in CheckExceptionSpecSubset()
600 return CheckParamExceptionSpec(NoteID, Superset, SuperLoc, Subset, SubLoc); in CheckExceptionSpecSubset()
612 Diag(SuperLoc, NoteID); in CheckExceptionSpecSubset()
625 Diag(SuperLoc, NoteID); in CheckExceptionSpecSubset()
631 return CheckParamExceptionSpec(NoteID, Superset, SuperLoc, Subset, SubLoc); in CheckExceptionSpecSubset()
637 Diag(SuperLoc, NoteID); in CheckExceptionSpecSubset()
718 Diag(SuperLoc, NoteID); in CheckExceptionSpecSubset()
[all …]
DSemaCXXScopeSpec.cpp253 bool Sema::ActOnSuperScopeSpecifier(SourceLocation SuperLoc, in ActOnSuperScopeSpecifier() argument
270 Diag(SuperLoc, diag::err_invalid_super_scope); in ActOnSuperScopeSpecifier()
273 Diag(SuperLoc, diag::err_super_in_lambda_unsupported); in ActOnSuperScopeSpecifier()
276 Diag(SuperLoc, diag::err_no_base_classes) << RD->getName(); in ActOnSuperScopeSpecifier()
280 SS.MakeSuper(Context, RD, SuperLoc, ColonColonLoc); in ActOnSuperScopeSpecifier()
DSemaDeclObjC.cpp454 IdentifierInfo *SuperName, SourceLocation SuperLoc, in ActOnStartClassInterface() argument
513 PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnStartClassInterface()
520 CorrectTypo(DeclarationNameInfo(SuperName, SuperLoc), in ActOnStartClassInterface()
531 Diag(SuperLoc, diag::err_recursive_superclass) in ActOnStartClassInterface()
540 (void)DiagnoseUseOfDecl(SuperClassDecl, SuperLoc); in ActOnStartClassInterface()
555 (void)DiagnoseUseOfDecl(const_cast<TypedefNameDecl*>(TDecl), SuperLoc); in ActOnStartClassInterface()
566 Diag(SuperLoc, diag::err_redefinition_different_kind) << SuperName; in ActOnStartClassInterface()
573 Diag(SuperLoc, diag::err_undef_superclass) in ActOnStartClassInterface()
575 else if (RequireCompleteType(SuperLoc, in ActOnStartClassInterface()
585 IDecl->setSuperClassLoc(SuperLoc); in ActOnStartClassInterface()
[all …]
DDeclSpec.cpp118 SourceLocation SuperLoc, in MakeSuper() argument
120 Builder.MakeSuper(Context, RD, SuperLoc, ColonColonLoc); in MakeSuper()
122 Range.setBegin(SuperLoc); in MakeSuper()
DSemaCodeComplete.cpp5390 void Sema::CodeCompleteObjCSuperMessage(Scope *S, SourceLocation SuperLoc, in CodeCompleteObjCSuperMessage() argument
5419 NamedDecl *ND = LookupSingleName(S, Super, SuperLoc, in CodeCompleteObjCSuperMessage()
5434 id.setIdentifier(Super, SuperLoc); in CodeCompleteObjCSuperMessage()
DTreeTransform.h2627 ExprResult RebuildObjCMessageExpr(SourceLocation SuperLoc, in RebuildObjCMessageExpr() argument
2639 SuperLoc, in RebuildObjCMessageExpr()
2644 SuperLoc, in RebuildObjCMessageExpr()
/external/clang/include/clang/AST/
DExprObjC.h605 SourceLocation SuperLoc, QualType SuperTy)
608 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
932 SourceLocation SuperLoc;
946 SourceLocation SuperLoc,
1067 SourceLocation SuperLoc,
1225 return SuperLoc;
1267 SuperLoc = Loc;
DNestedNameSpecifier.h452 SourceLocation SuperLoc, SourceLocation ColonColonLoc);
DDeclObjC.h1998 SourceLocation SuperLoc; variable
2024 SuperClass(superDecl), SuperLoc(superLoc), IvarLBraceLoc(IvarLBraceLoc), in ObjCImplDecl()
2122 SourceLocation getSuperClassLoc() const { return SuperLoc; } in getSuperClassLoc()
/external/clang/lib/Parse/
DParseObjc.cpp2409 SourceLocation SuperLoc, in ParseObjCMessageExpressionBody() argument
2415 if (SuperLoc.isValid()) in ParseObjCMessageExpressionBody()
2416 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, None, in ParseObjCMessageExpressionBody()
2453 if (SuperLoc.isValid()) in ParseObjCMessageExpressionBody()
2454 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, in ParseObjCMessageExpressionBody()
2491 if (SuperLoc.isValid()) in ParseObjCMessageExpressionBody()
2492 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, in ParseObjCMessageExpressionBody()
2564 if (SuperLoc.isValid()) in ParseObjCMessageExpressionBody()
2565 return Actions.ActOnSuperMessage(getCurScope(), SuperLoc, Sel, in ParseObjCMessageExpressionBody()
DParseExpr.cpp184 SourceLocation SuperLoc, in ParseAssignmentExprWithObjCMessageExprStart() argument
188 = ParseObjCMessageExpressionBody(LBracLoc, SuperLoc, in ParseAssignmentExprWithObjCMessageExprStart()
DParseExprCXX.cpp247 SourceLocation SuperLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
253 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier()
/external/clang/lib/AST/
DNestedNameSpecifier.cpp592 SourceLocation SuperLoc, in MakeSuper() argument
597 SaveSourceLocation(SuperLoc, Buffer, BufferSize, BufferCapacity); in MakeSuper()
DExpr.cpp3462 SourceLocation SuperLoc, in ObjCMessageExpr() argument
3480 IsImplicit(isImplicit), SuperLoc(SuperLoc), LBracLoc(LBracLoc), in ObjCMessageExpr()
3564 SourceLocation SuperLoc, in Create() argument
3581 return new (Mem) ObjCMessageExpr(T, VK, LBracLoc, SuperLoc, IsInstanceSuper, in Create()
/external/clang/tools/libclang/
DIndexingContext.cpp450 SourceLocation SuperLoc = D->getSuperClassLoc(); in handleObjCInterface() local
452 BaseClass.cursor = MakeCursorObjCSuperClassRef(SuperD, SuperLoc, CXTU); in handleObjCInterface()
453 BaseClass.loc = getIndexLoc(SuperLoc); in handleObjCInterface()
456 markEntityOccurrenceInFile(SuperD, SuperLoc); in handleObjCInterface()
/external/clang/include/clang/Sema/
DSema.h1215 const FunctionProtoType *Superset, SourceLocation SuperLoc,
4571 bool ActOnSuperScopeSpecifier(SourceLocation SuperLoc,
6891 SourceLocation SuperLoc,
6900 SourceLocation SuperLoc);
7059 SourceLocation SuperLoc, QualType SuperType,
7089 ExprResult ActOnSuperMessage(Scope *S, SourceLocation SuperLoc,
7098 SourceLocation SuperLoc,
7124 SourceLocation SuperLoc,
8367 void CodeCompleteObjCSuperMessage(Scope *S, SourceLocation SuperLoc,
DDeclSpec.h159 SourceLocation SuperLoc, SourceLocation ColonColonLoc);
/external/clang/include/clang/Parse/
DParser.h1549 SourceLocation SuperLoc,
1553 SourceLocation LBracloc, SourceLocation SuperLoc,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1052 SourceLocation SuperLoc = ReadSourceLocation(Record, Idx); in VisitObjCMessageExpr() local
1053 E->setSuper(SuperLoc, T, Kind == ObjCMessageExpr::SuperInstance); in VisitObjCMessageExpr()
DASTReaderDecl.cpp996 D->SuperLoc = ReadSourceLocation(Record, Idx); in VisitObjCImplementationDecl()