commit | 716f0b3e2e36f362b64a2ce0a40a9ad915103255 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Dec 02 08:08:39 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Dec 02 08:08:39 2009 +0000 |
tree | 2991e194250a39dd3a6016af8a91dce1afa92f96 | |
parent | 0bd6feb9e9d40fc889fd47e899985125a43dfed8 [diff] |
Introduce a new clang-cc option -remap-file=from;to which takes the file "from" and transparently replaces its contents with the contents of the file "to" from the source manager's perspective. This is the moral equivalent of cp from saved cp to from <call clang> cp saved from rm saved without all of the pesky file copying. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90307 91177308-0d34-0410-b5e6-96231b3b80d8