[Libreoffice-commits] dev-tools.git: clang/README clang/rename.cxx

Miklos Vajna vmiklos at collabora.co.uk
Tue Jan 26 12:21:49 PST 2016


 clang/README     |    4 ++--
 clang/rename.cxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d9ebfc2c8a745de181df0682b3f653a9356fcb43
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Jan 26 21:21:23 2016 +0100

    clang: avoid confusing "prefix" in filename suffix

diff --git a/clang/README b/clang/README
index 7676418..052a14e 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 8ce4c66..fa8f40d 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();
     }
 


More information about the Libreoffice-commits mailing list