https://github.com/ArcsinX commented:
Hello. `prepare()` should be fast. It is used to determine whether or not a tweak can be applied. Heavy operations should only take place within `apply()`. In current implementation `prepare()` is not fast. E.g. `ReplaceQualifiedWithAlias::prepare()` does full AST traversal (and after that we do this full AST traversal again in `apply()`). https://github.com/llvm/llvm-project/pull/204151 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
