================ @@ -216,17 +327,72 @@ uses the function `buffer-file-name'." (if incomplete-format (message "(clang-format: incomplete (syntax errors)%s)" stderr) (message "(clang-format: success%s)" stderr)))) - (delete-file temp-file) + (ignore-errors (delete-file temp-file)) ---------------- ideasman42 wrote:
suggest with-demoted-errors here too, could be a function as it's used elsewhere. https://github.com/llvm/llvm-project/pull/112792 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits