[PATCH] D43578: -ftime-report switch support in Clang

Andrew V. Tischenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 10 11:28:31 PDT 2018


avt77 added a comment.

In https://reviews.llvm.org/D43578#1063365, @davezarzycki wrote:

> A revert in practice just means undoing the changes. For example, while both `git` and `svn` have `revert` subcommands, you can also just take the original diff/patch, pipe it into `patch -R`, and if there are no conflicts, commit the result.


Unfortunately, revert does not work with committed changes:

revert: Restore pristine working copy state (undo local changes).
usage: revert PATH...

  Revert changes in the working copy at or within PATH, and remove
  conflict markers as well, if any.

- This subcommand does not revert already committed changes.**

But I'll try with patch -R. Tnx.


Repository:
  rL LLVM

https://reviews.llvm.org/D43578





More information about the cfe-commits mailing list