From 8267b333ee9aaa7cedc6d8aab6ddf15629d9e255 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 3 Sep 2018 12:43:26 +0000 Subject: [PATCH] Rename a few unittests/.../Foo.cpp files to FooTest.cpp The convention for unit test sources is that they're called FooTest.cpp. No behavior change. https://reviews.llvm.org/D51579 llvm-svn: 341313 --- llvm/unittests/Analysis/CMakeLists.txt | 6 +++--- .../Analysis/{MemorySSA.cpp => MemorySSATest.cpp} | 0 ...OrderedInstructions.cpp => OrderedInstructionsTest.cpp} | 0 .../{UnrollAnalyzer.cpp => UnrollAnalyzerTest.cpp} | 0 .../Utils/{BasicBlockUtils.cpp => BasicBlockUtilsTest.cpp} | 0 llvm/unittests/Transforms/Utils/CMakeLists.txt | 14 +++++++------- .../Transforms/Utils/{Cloning.cpp => CloningTest.cpp} | 0 .../Utils/{CodeExtractor.cpp => CodeExtractorTest.cpp} | 0 .../{FunctionComparator.cpp => FunctionComparatorTest.cpp} | 0 .../Utils/{IntegerDivision.cpp => IntegerDivisionTest.cpp} | 0 .../Transforms/Utils/{Local.cpp => LocalTest.cpp} | 0 .../Utils/{SSAUpdaterBulk.cpp => SSAUpdaterBulkTest.cpp} | 0 12 files changed, 10 insertions(+), 10 deletions(-) rename llvm/unittests/Analysis/{MemorySSA.cpp => MemorySSATest.cpp} (100%) rename llvm/unittests/Analysis/{OrderedInstructions.cpp => OrderedInstructionsTest.cpp} (100%) rename llvm/unittests/Analysis/{UnrollAnalyzer.cpp => UnrollAnalyzerTest.cpp} (100%) rename llvm/unittests/Transforms/Utils/{BasicBlockUtils.cpp => BasicBlockUtilsTest.cpp} (100%) rename llvm/unittests/Transforms/Utils/{Cloning.cpp => CloningTest.cpp} (100%) rename llvm/unittests/Transforms/Utils/{CodeExtractor.cpp => CodeExtractorTest.cpp} (100%) rename llvm/unittests/Transforms/Utils/{FunctionComparator.cpp => FunctionComparatorTest.cpp} (100%) rename llvm/unittests/Transforms/Utils/{IntegerDivision.cpp => IntegerDivisionTest.cpp} (100%) rename llvm/unittests/Transforms/Utils/{Local.cpp => LocalTest.cpp} (100%) rename llvm/unittests/Transforms/Utils/{SSAUpdaterBulk.cpp => SSAUpdaterBulkTest.cpp} (100%) diff --git a/llvm/unittests/Analysis/CMakeLists.txt b/llvm/unittests/Analysis/CMakeLists.txt index 8ad0570..06af85e 100644 --- a/llvm/unittests/Analysis/CMakeLists.txt +++ b/llvm/unittests/Analysis/CMakeLists.txt @@ -18,15 +18,15 @@ add_llvm_unittest(AnalysisTests LazyCallGraphTest.cpp LoopInfoTest.cpp MemoryBuiltinsTest.cpp - MemorySSA.cpp + MemorySSATest.cpp OrderedBasicBlockTest.cpp - OrderedInstructions.cpp + OrderedInstructionsTest.cpp PhiValuesTest.cpp ProfileSummaryInfoTest.cpp ScalarEvolutionTest.cpp SparsePropagation.cpp TargetLibraryInfoTest.cpp TBAATest.cpp - UnrollAnalyzer.cpp + UnrollAnalyzerTest.cpp ValueTrackingTest.cpp ) diff --git a/llvm/unittests/Analysis/MemorySSA.cpp b/llvm/unittests/Analysis/MemorySSATest.cpp similarity index 100% rename from llvm/unittests/Analysis/MemorySSA.cpp rename to llvm/unittests/Analysis/MemorySSATest.cpp diff --git a/llvm/unittests/Analysis/OrderedInstructions.cpp b/llvm/unittests/Analysis/OrderedInstructionsTest.cpp similarity index 100% rename from llvm/unittests/Analysis/OrderedInstructions.cpp rename to llvm/unittests/Analysis/OrderedInstructionsTest.cpp diff --git a/llvm/unittests/Analysis/UnrollAnalyzer.cpp b/llvm/unittests/Analysis/UnrollAnalyzerTest.cpp similarity index 100% rename from llvm/unittests/Analysis/UnrollAnalyzer.cpp rename to llvm/unittests/Analysis/UnrollAnalyzerTest.cpp diff --git a/llvm/unittests/Transforms/Utils/BasicBlockUtils.cpp b/llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp similarity index 100% rename from llvm/unittests/Transforms/Utils/BasicBlockUtils.cpp rename to llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp diff --git a/llvm/unittests/Transforms/Utils/CMakeLists.txt b/llvm/unittests/Transforms/Utils/CMakeLists.txt index 7b36521f7..13c321b 100644 --- a/llvm/unittests/Transforms/Utils/CMakeLists.txt +++ b/llvm/unittests/Transforms/Utils/CMakeLists.txt @@ -8,12 +8,12 @@ set(LLVM_LINK_COMPONENTS add_llvm_unittest(UtilsTests ASanStackFrameLayoutTest.cpp - BasicBlockUtils.cpp - Cloning.cpp - CodeExtractor.cpp - FunctionComparator.cpp - IntegerDivision.cpp - Local.cpp - SSAUpdaterBulk.cpp + BasicBlockUtilsTest.cpp + CloningTest.cpp + CodeExtractorTest.cpp + FunctionComparatorTest.cpp + IntegerDivisionTest.cpp + LocalTest.cpp + SSAUpdaterBulkTest.cpp ValueMapperTest.cpp ) diff --git a/llvm/unittests/Transforms/Utils/Cloning.cpp b/llvm/unittests/Transforms/Utils/CloningTest.cpp similarity index 100% rename from llvm/unittests/Transforms/Utils/Cloning.cpp rename to llvm/unittests/Transforms/Utils/CloningTest.cpp diff --git a/llvm/unittests/Transforms/Utils/CodeExtractor.cpp b/llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp similarity index 100% rename from llvm/unittests/Transforms/Utils/CodeExtractor.cpp rename to llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp diff --git a/llvm/unittests/Transforms/Utils/FunctionComparator.cpp b/llvm/unittests/Transforms/Utils/FunctionComparatorTest.cpp similarity index 100% rename from llvm/unittests/Transforms/Utils/FunctionComparator.cpp rename to llvm/unittests/Transforms/Utils/FunctionComparatorTest.cpp diff --git a/llvm/unittests/Transforms/Utils/IntegerDivision.cpp b/llvm/unittests/Transforms/Utils/IntegerDivisionTest.cpp similarity index 100% rename from llvm/unittests/Transforms/Utils/IntegerDivision.cpp rename to llvm/unittests/Transforms/Utils/IntegerDivisionTest.cpp diff --git a/llvm/unittests/Transforms/Utils/Local.cpp b/llvm/unittests/Transforms/Utils/LocalTest.cpp similarity index 100% rename from llvm/unittests/Transforms/Utils/Local.cpp rename to llvm/unittests/Transforms/Utils/LocalTest.cpp diff --git a/llvm/unittests/Transforms/Utils/SSAUpdaterBulk.cpp b/llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp similarity index 100% rename from llvm/unittests/Transforms/Utils/SSAUpdaterBulk.cpp rename to llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp -- 2.7.4