[llvm] r356780 - Make clang-move use same file naming convention as other tools

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 09:34:39 PDT 2019


Author: nico
Date: Fri Mar 22 09:34:39 2019
New Revision: 356780

URL: http://llvm.org/viewvc/llvm-project?rev=356780&view=rev
Log:
Make clang-move use same file naming convention as other tools

In all the other clang-foo tools, the main library file is called
Foo.cpp and the file in the tool/ folder is called ClangFoo.cpp.
Do this for clang-move too.

No intended behavior change.

Differential Revision: https://reviews.llvm.org/D59700

Modified:
    llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/BUILD.gn
    llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/tool/BUILD.gn

Modified: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/BUILD.gn?rev=356780&r1=356779&r2=356780&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/BUILD.gn Fri Mar 22 09:34:39 2019
@@ -15,7 +15,7 @@ static_library("clang-move") {
     "//llvm/lib/Support",
   ]
   sources = [
-    "ClangMove.cpp",
+    "Move.cpp",
     "HelperDeclRefGraph.cpp",
   ]
 }

Modified: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/tool/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/tool/BUILD.gn?rev=356780&r1=356779&r2=356780&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/tool/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-move/tool/BUILD.gn Fri Mar 22 09:34:39 2019
@@ -14,6 +14,6 @@ executable("clang-move") {
   ]
   include_dirs = [ ".." ]
   sources = [
-    "ClangMoveMain.cpp",
+    "ClangMove.cpp",
   ]
 }




More information about the llvm-commits mailing list