Home
last modified time | relevance | path

Searched refs:canModify (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/lib/Tooling/Syntax/
DMutations.cpp52 assert(Old->canModify()); in replace()
69 assert(N->canModify()); in remove()
82 assert(S->canModify()); in removeStatement()
DTree.cpp123 assert(canModify() && "Cannot modify `this`."); in replaceChildRangeLowLevel()
211 if (!N->canModify()) in dumpNode()
/external/llvm-project/clang/lib/ARCMigrate/
DObjCMT.cpp170 bool canModify(const Decl *D) { in canModify() function in __anonb70a21be0111::ObjCMigrateASTConsumer
174 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 …]
/external/llvm-project/clang/unittests/Tooling/Syntax/
DMutationsTest.cpp49 ASSERT_TRUE(S->canModify()) << "cannot remove a statement"; in __anon90433d120202()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp165 bool canModify(const Decl *D) { in canModify() function in __anon541d4ad00111::ObjCMigrateASTConsumer
169 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 …]
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DTree.h114 bool canModify() const { return CanModify; } in canModify() function