diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-26 21:21:23 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-26 21:21:30 +0100 |
commit | d9ebfc2c8a745de181df0682b3f653a9356fcb43 (patch) | |
tree | c1028af147d7ec9812eb8bbe9fa591aeef5928bd /clang | |
parent | 33c72614de2a9d3add66a9fce81233f66fb55e6d (diff) |
clang: avoid confusing "prefix" in filename suffix
Diffstat (limited to 'clang')
-rw-r--r-- | clang/README | 4 | ||||
-rw-r--r-- | clang/rename.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/README b/clang/README index 76764188..052a14e7 100644 --- a/clang/README +++ b/clang/README @@ -71,10 +71,10 @@ Then run: make -sr -j8 COMPILER_EXTERNAL_TOOL=1 FORCE_COMPILE_ALL=1 CCACHE_PREFIX=rename-wrapper RENAME_ARGS="-csv=$HOME/rename.csv" ---- -Once the rewriting is done, you can overwrite the original files with the .new-prefix ones with: +Once the rewriting is done, you can overwrite the original files with the .new-rename ones with: ---- -for i in $(find . -name "*.new-prefix"); do mv -f $i ${i%%.new-prefix}; done +for i in $(find . -name "*.new-rename"); do mv -f $i ${i%%.new-rename}; done ---- // vim: ft=asciidoc diff --git a/clang/rename.cxx b/clang/rename.cxx index 8ce4c66b..fa8f40dd 100644 --- a/clang/rename.cxx +++ b/clang/rename.cxx @@ -347,7 +347,7 @@ class RenameASTConsumer : public clang::ASTConsumer { std::stringstream ss; ss << rEntry.getName(); - ss << ".new-prefix"; + ss << ".new-rename"; return ss.str(); } |