[pseudo] Rename Tests.cpp => Test.cpp
authorHaojian Wu <hokein.wu@gmail.com>
Fri, 4 Feb 2022 08:31:53 +0000 (09:31 +0100)
committerHaojian Wu <hokein.wu@gmail.com>
Fri, 4 Feb 2022 08:48:14 +0000 (09:48 +0100)
To be consistent with other files in clang unittest directory.

clang/unittests/Tooling/Syntax/Pseudo/CMakeLists.txt
clang/unittests/Tooling/Syntax/Pseudo/GrammarTest.cpp [moved from clang/unittests/Tooling/Syntax/Pseudo/GrammarTests.cpp with 98% similarity]
llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn

index 77c6cba..eea3245 100644 (file)
@@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS
   )
 
 add_clang_unittest(ClangPseudoTests
-  GrammarTests.cpp
+  GrammarTest.cpp
 )
 
 clang_target_link_libraries(ClangPseudoTests
@@ -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.
index 0082011..cf5ffff 100644 (file)
@@ -10,5 +10,5 @@ unittest("ClangPseudoTests") {
     "//llvm/lib/Support",
     "//llvm/lib/Testing/Support",
   ]
-  sources = [ "GrammarTests.cpp" ]
+  sources = [ "GrammarTest.cpp" ]
 }