Description
C source code can be matched and transformed with semantic patches. It is useful for developers performing large API migrations, kernel-style refactors, or recurring code changes that plain search-and-replace cannot handle safely.
Transformation rules can rewrite many files. Use version control, test semantic patches on a small subset, and inspect diffs before accepting generated changes.