melver wrote: > Verified this is NFC: > [..]
Thanks! I also used a similar approach with [this script](https://gist.github.com/melver/f486222c8f191bbbb8c64a5492bb041b): ``` % git diff HEAD~1 | ~/check_refactor/check_refactor.py --- LOST LINES (Removed but not re-added) --- [1 copy] // * Test -fsanitize-trap */ [1 copy] // * Test -fsanitize-merge * [1 copy] // * Test -fsanitize-annotate-debug-info * [1 copy] // CHECK-NO-RECOVER-UBSAN-NOT: sanitize-recover [1 copy] // * Test -fsanitize-skip-hot-cutoff * --- ADDED LINES (Added but not present originally) --- [1 copy] // CHECK-NO-RECOVER-UBSAN-NOT: -fsanitize-recover [1 copy] // This file contains feature-unspecific common -fsanitize= driver tests. [1 copy] // Where possible avoid adding new tests to this file, and instead group tests [1 copy] // in feature-specific fsanitize-*.c test files. ``` The `CHECK-NO-RECOVER-UBSAN-NOT` change is making the check more precise, as otherwise it'd match the new file name and fail. https://github.com/llvm/llvm-project/pull/169952 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
