Author: Haojian Wu
Date: 2022-02-04T09:48:14+01:00
New Revision: 2189960e65a9c4a7056d1f07f8de5c3fda1888c3

URL: 
https://github.com/llvm/llvm-project/commit/2189960e65a9c4a7056d1f07f8de5c3fda1888c3
DIFF: 
https://github.com/llvm/llvm-project/commit/2189960e65a9c4a7056d1f07f8de5c3fda1888c3.diff

LOG: [pseudo] Rename Tests.cpp => Test.cpp

To be consistent with other files in clang unittest directory.

Added: 
    clang/unittests/Tooling/Syntax/Pseudo/GrammarTest.cpp

Modified: 
    clang/unittests/Tooling/Syntax/Pseudo/CMakeLists.txt
    llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn

Removed: 
    clang/unittests/Tooling/Syntax/Pseudo/GrammarTests.cpp


################################################################################
diff  --git a/clang/unittests/Tooling/Syntax/Pseudo/CMakeLists.txt 
b/clang/unittests/Tooling/Syntax/Pseudo/CMakeLists.txt
index 77c6cbac026de..eea3245274529 100644
--- a/clang/unittests/Tooling/Syntax/Pseudo/CMakeLists.txt
+++ b/clang/unittests/Tooling/Syntax/Pseudo/CMakeLists.txt
@@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS
   )
 
 add_clang_unittest(ClangPseudoTests
-  GrammarTests.cpp
+  GrammarTest.cpp
 )
 
 clang_target_link_libraries(ClangPseudoTests

diff  --git a/clang/unittests/Tooling/Syntax/Pseudo/GrammarTests.cpp 
b/clang/unittests/Tooling/Syntax/Pseudo/GrammarTest.cpp
similarity index 98%
rename from clang/unittests/Tooling/Syntax/Pseudo/GrammarTests.cpp
rename to clang/unittests/Tooling/Syntax/Pseudo/GrammarTest.cpp
index 7954e53d786c3..dc57f16cf3b93 100644
--- a/clang/unittests/Tooling/Syntax/Pseudo/GrammarTests.cpp
+++ b/clang/unittests/Tooling/Syntax/Pseudo/GrammarTest.cpp
@@ -1,4 +1,4 @@
-//===--- GrammarTests.cpp - grammar tests  ----------------------*- C++ 
-*-===//
+//===--- GrammarTest.cpp - grammar tests  -----------------------*- C++ 
-*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM 
Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git 
a/llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn 
b/llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn
index 0082011192179..cf5ffff9af384 100644
--- a/llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn
@@ -10,5 +10,5 @@ unittest("ClangPseudoTests") {
     "//llvm/lib/Support",
     "//llvm/lib/Testing/Support",
   ]
-  sources = [ "GrammarTests.cpp" ]
+  sources = [ "GrammarTest.cpp" ]
 }


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to