Searched refs:canModify (Results 1 – 6 of 6) sorted by relevance
52 assert(Old->canModify()); in replace()69 assert(N->canModify()); in remove()82 assert(S->canModify()); in removeStatement()
123 assert(canModify() && "Cannot modify `this`."); in replaceChildRangeLowLevel()211 if (!N->canModify()) in dumpNode()
170 bool canModify(const Decl *D) { in canModify() function in __anonb70a21be0111::ObjCMigrateASTConsumer174 return canModify(CatImpl->getCategoryDecl()); in canModify()176 return canModify(Impl->getClassInterface()); in canModify()178 return canModify(cast<Decl>(MD->getDeclContext())); in canModify()1857 if (canModify(CDecl)) in HandleTranslationUnit()1860 if (canModify(CatDecl)) in HandleTranslationUnit()1865 if (canModify(PDecl)) in HandleTranslationUnit()1871 canModify(ImpDecl)) in HandleTranslationUnit()1877 if (!canModify(ED)) in HandleTranslationUnit()1891 if (!canModify(TD)) in HandleTranslationUnit()[all …]
49 ASSERT_TRUE(S->canModify()) << "cannot remove a statement"; in __anon90433d120202()
165 bool canModify(const Decl *D) { in canModify() function in __anon541d4ad00111::ObjCMigrateASTConsumer169 return canModify(CatImpl->getCategoryDecl()); in canModify()171 return canModify(Impl->getClassInterface()); in canModify()173 return canModify(cast<Decl>(MD->getDeclContext())); in canModify()1858 if (canModify(CDecl)) in HandleTranslationUnit()1861 if (canModify(CatDecl)) in HandleTranslationUnit()1866 if (canModify(PDecl)) in HandleTranslationUnit()1872 canModify(ImpDecl)) in HandleTranslationUnit()1878 if (!canModify(ED)) in HandleTranslationUnit()1892 if (!canModify(TD)) in HandleTranslationUnit()[all …]
114 bool canModify() const { return CanModify; } in canModify() function