Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprObjC.cpp2025 SuperLoc, SuperType); in HandleExprPropertyRefExpr()
2616 SourceLocation Loc = SuperLoc.isValid()? SuperLoc in BuildClassMessage()
2657 = SuperLoc.isValid()? SourceRange(SuperLoc) in BuildClassMessage()
2712 if (!SuperLoc.isValid()) { in BuildClassMessage()
2737 if (SuperLoc.isValid()) in BuildClassMessage()
2854 SourceLocation Loc = SuperLoc.isValid() ? SuperLoc : Receiver->getBeginLoc(); in BuildInstanceMessage()
2856 SuperLoc.isValid()? SuperLoc : Receiver->getSourceRange(); in BuildInstanceMessage()
3165 if (SuperLoc.isValid()) { in BuildInstanceMessage()
3187 if (SuperLoc.isValid()) { in BuildInstanceMessage()
3218 if (SuperLoc.isValid()) { in BuildInstanceMessage()
[all …]
H A DSemaExceptionSpec.cpp770 SourceLocation SuperLoc, in CheckExceptionSpecSubset() argument
782 SubLoc = SuperLoc; in CheckExceptionSpecSubset()
785 Superset = ResolveExceptionSpec(SuperLoc, Superset); in CheckExceptionSpecSubset()
812 return CheckParamExceptionSpec(NestedDiagID, NoteID, Superset, SuperLoc, in CheckExceptionSpecSubset()
821 Diag(SuperLoc, NoteID); in CheckExceptionSpecSubset()
831 Diag(SuperLoc, NoteID); in CheckExceptionSpecSubset()
860 Diag(SuperLoc, NoteID); in CheckExceptionSpecSubset()
865 return CheckParamExceptionSpec(NestedDiagID, NoteID, Superset, SuperLoc, in CheckExceptionSpecSubset()
H A DSemaCXXScopeSpec.cpp292 bool Sema::ActOnSuperScopeSpecifier(SourceLocation SuperLoc, in ActOnSuperScopeSpecifier() argument
309 Diag(SuperLoc, diag::err_invalid_super_scope); in ActOnSuperScopeSpecifier()
312 Diag(SuperLoc, diag::err_super_in_lambda_unsupported); in ActOnSuperScopeSpecifier()
315 Diag(SuperLoc, diag::err_no_base_classes) << RD->getName(); in ActOnSuperScopeSpecifier()
319 SS.MakeSuper(Context, RD, SuperLoc, ColonColonLoc); in ActOnSuperScopeSpecifier()
H A DSemaDeclObjC.cpp548 SourceLocation SuperLoc, in ActOnSuperClassOfClassInterface() argument
569 Diag(SuperLoc, diag::err_recursive_superclass) in ActOnSuperClassOfClassInterface()
579 (void)DiagnoseUseOfDecl(SuperClassDecl, SuperLoc); in ActOnSuperClassOfClassInterface()
616 Diag(SuperLoc, diag::err_undef_superclass) in ActOnSuperClassOfClassInterface()
618 else if (RequireCompleteType(SuperLoc, in ActOnSuperClassOfClassInterface()
639 SuperLoc, in ActOnSuperClassOfClassInterface()
658 SuperLoc); in ActOnSuperClassOfClassInterface()
977 IdentifierInfo *SuperName, SourceLocation SuperLoc, in ActOnStartClassInterface() argument
1113 SourceLocation SuperLoc) { in ActOnTypedefedProtocols() argument
1116 NamedDecl* IDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnTypedefedProtocols()
[all …]
H A DDeclSpec.cpp114 SourceLocation SuperLoc, in MakeSuper() argument
116 Builder.MakeSuper(Context, RD, SuperLoc, ColonColonLoc); in MakeSuper()
118 Range.setBegin(SuperLoc); in MakeSuper()
H A DSemaCodeComplete.cpp7876 void Sema::CodeCompleteObjCSuperMessage(Scope *S, SourceLocation SuperLoc, in CodeCompleteObjCSuperMessage() argument
7904 NamedDecl *ND = LookupSingleName(S, Super, SuperLoc, LookupOrdinaryName); in CodeCompleteObjCSuperMessage()
7918 id.setIdentifier(Super, SuperLoc); in CodeCompleteObjCSuperMessage()
H A DTreeTransform.h3567 ExprResult RebuildObjCMessageExpr(SourceLocation SuperLoc, in RebuildObjCMessageExpr() argument
3577 SuperLoc, in RebuildObjCMessageExpr()
3582 SuperLoc, in RebuildObjCMessageExpr()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprObjC.cpp108 SourceLocation SuperLoc, bool IsInstanceSuper, in ObjCMessageExpr() argument
119 IsImplicit(isImplicit), SuperLoc(SuperLoc), LBracLoc(LBracLoc), in ObjCMessageExpr()
176 SourceLocation LBracLoc, SourceLocation SuperLoc, in Create() argument
189 return new (Mem) ObjCMessageExpr(T, VK, LBracLoc, SuperLoc, IsInstanceSuper, in Create()
H A DNestedNameSpecifier.cpp622 SourceLocation SuperLoc, in MakeSuper() argument
627 SaveSourceLocation(SuperLoc, Buffer, BufferSize, BufferCapacity); in MakeSuper()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp392 SourceLocation SuperLoc) { in handleReferencedProtocols() argument
399 if (Loc == SuperLoc) in handleReferencedProtocols()
410 SourceLocation SuperLoc = D->getSuperClassLoc(); in VisitObjCInterfaceDecl() local
417 TRY_TO(IndexCtx.handleReference(TD, SuperLoc, D, D, in VisitObjCInterfaceDecl()
425 TRY_TO(IndexCtx.handleReference(SuperD, SuperLoc, D, D, superRoles, in VisitObjCInterfaceDecl()
429 SuperLoc)); in VisitObjCInterfaceDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprObjC.h677 SourceLocation IdLoc, SourceLocation SuperLoc, in ObjCPropertyRefExpr() argument
681 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) { in ObjCPropertyRefExpr()
981 SourceLocation SuperLoc; variable
995 SourceLocation SuperLoc,
1128 SourceLocation SuperLoc,
1293 return SuperLoc; in getSuperLoc()
1335 SuperLoc = Loc; in setSuper()
H A DNestedNameSpecifier.h467 SourceLocation SuperLoc, SourceLocation ColonColonLoc);
H A DDeclObjC.h2551 SourceLocation SuperLoc; variable
2580 SuperClass(superDecl), SuperLoc(superLoc),
2685 SourceLocation getSuperClassLoc() const { return SuperLoc; } in getSuperClassLoc()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp3163 SourceLocation SuperLoc, in ParseObjCMessageExpressionBody() argument
3170 if (SuperLoc.isValid()) in ParseObjCMessageExpressionBody()
3171 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, None, in ParseObjCMessageExpressionBody()
3208 if (SuperLoc.isValid()) in ParseObjCMessageExpressionBody()
3209 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, in ParseObjCMessageExpressionBody()
3246 if (SuperLoc.isValid()) in ParseObjCMessageExpressionBody()
3247 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, in ParseObjCMessageExpressionBody()
3318 if (SuperLoc.isValid()) in ParseObjCMessageExpressionBody()
3319 return Actions.ActOnSuperMessage(getCurScope(), SuperLoc, Sel, in ParseObjCMessageExpressionBody()
H A DParseExpr.cpp190 SourceLocation SuperLoc, in ParseAssignmentExprWithObjCMessageExprStart() argument
194 = ParseObjCMessageExpressionBody(LBracLoc, SuperLoc, in ParseAssignmentExprWithObjCMessageExprStart()
H A DParseExprCXX.cpp203 SourceLocation SuperLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
209 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp686 SourceLocation SuperLoc = D->getSuperClassLoc(); in handleObjCInterface() local
688 BaseClass.cursor = MakeCursorObjCSuperClassRef(SuperD, SuperLoc, CXTU); in handleObjCInterface()
689 BaseClass.loc = getIndexLoc(SuperLoc); in handleObjCInterface()
692 markEntityOccurrenceInFile(SuperD, SuperLoc); in handleObjCInterface()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h2118 SourceLocation SuperLoc,
6759 bool ActOnSuperScopeSpecifier(SourceLocation SuperLoc,
9870 IdentifierInfo *SuperName, SourceLocation SuperLoc,
9882 SourceLocation SuperLoc,
9889 SourceLocation SuperLoc);
10101 SourceLocation SuperLoc, QualType SuperType,
10131 ExprResult ActOnSuperMessage(Scope *S, SourceLocation SuperLoc,
10140 SourceLocation SuperLoc,
10166 SourceLocation SuperLoc,
12960 void CodeCompleteObjCSuperMessage(Scope *S, SourceLocation SuperLoc,
H A DDeclSpec.h156 SourceLocation SuperLoc, SourceLocation ColonColonLoc);
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h2054 SourceLocation SuperLoc,
2058 SourceLocation LBracloc, SourceLocation SuperLoc,
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderStmt.cpp1532 SourceLocation SuperLoc = readSourceLocation(); in VisitObjCMessageExpr() local
1533 E->setSuper(SuperLoc, T, Kind == ObjCMessageExpr::SuperInstance); in VisitObjCMessageExpr()
H A DASTReaderDecl.cpp1420 D->SuperLoc = readSourceLocation(); in VisitObjCImplementationDecl()