• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/

Lines Matching refs:ClassDecl

264     void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
757 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface();
760 S += ClassDecl->getIdentifier()->getName();
809 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1)
904 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
906 SourceLocation startLoc = ClassDecl->getBeginLoc();
1204 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) {
1206 if (!ObjCForwardDecls.count(ClassDecl->getCanonicalDecl())) {
1209 ResultStr += ClassDecl->getNameAsString();
1212 ResultStr += ClassDecl->getNameAsString();
1215 ResultStr += ClassDecl->getNameAsString();
1218 ObjCForwardDecls.insert(ClassDecl->getCanonicalDecl());
1220 RewriteObjCInternalStruct(ClassDecl, ResultStr);
1222 for (auto *I : ClassDecl->instance_properties())
1224 for (auto *I : ClassDecl->instance_methods())
1226 for (auto *I : ClassDecl->class_methods())
1230 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
2665 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
2683 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
2762 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
2777 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
5625 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface();
5628 = ClassDecl->FindCategoryDeclaration(IDecl->getIdentifier());
5630 std::string FullCategoryName = ClassDecl->getNameAsString();
5697 Result += ClassDecl->getNameAsString();